import type { StepExecutionResult } from '../types/execution-context'; import type { TriggerActionStepDefinition } from '../types/validated/step-definition'; import type { ErrorKind, RecordStepStatus } from '../types/validated/step-outcome'; import RecordStepExecutor from './record-step-executor'; export default class TriggerRecordActionStepExecutor extends RecordStepExecutor { protected buildOutcomeResult(outcome: { status: RecordStepStatus; error?: string; errorKind?: ErrorKind; errorSourceStepIndex?: number; approvalRequest?: { id: string; }; }): StepExecutionResult; protected checkIdempotency(): Promise; protected doExecute(): Promise; private handleFirstCall; private pauseForConfirmation; private fillFormWithAi; private askAiToFillForm; /** Branch B — executor runs the action via the audited agent, then persists the result. */ private executeOnExecutor; /** * Branch A — the frontend executed the action natively; the executor persists what it reported. * Records the submission outcome (executed vs pending-approval), the submitted values, and the * AI prefill (from the stored pending payload) for the audit trail / downstream-AI context. */ private saveFrontendResult; private selectAction; private buildSelectActionTool; private findActionByTechnicalName; private findAction; } //# sourceMappingURL=trigger-record-action-step-executor.d.ts.map