"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.recordEndIfExecutor = void 0;
const EndStep_1 = __importDefault(require("../../sharedUtils/mablscript/canonical/EndStep"));
exports.recordEndIfExecutor = {
    needsFind: () => false,
    getStepType: () => 'end-if',
    execute: async (_payload, _stateProvider, eventHandler, _logger) => {
        const step = EndStep_1.default.create();
        await eventHandler.dispatchSteps([step]);
        return { success: true, message: 'Recorded END-IF step' };
    },
};
