"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.EvalshaCommand = void 0;
const command_js_1 = require("./command.js");
/**
 * @see https://redis.io/commands/evalsha
 */
class EvalshaCommand extends command_js_1.Command {
    constructor([sha, keys, args], opts) {
        super(["evalsha", sha, keys.length, ...keys, ...(args ?? [])], opts);
    }
}
exports.EvalshaCommand = EvalshaCommand;
