"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.ScriptExistsCommand = void 0;
const command_js_1 = require("./command.js");
/**
 * @see https://redis.io/commands/script-exists
 */
class ScriptExistsCommand extends command_js_1.Command {
    constructor(hashes, opts) {
        super(["script", "exists", ...hashes], {
            deserialize: (result) => result,
            ...opts,
        });
    }
}
exports.ScriptExistsCommand = ScriptExistsCommand;
