import type { ActionPlan, ActionStep } from "../../../domain/sentinel/action/action-plan.js"; import { type CommandRunResult } from "../../../infrastructure/sentinel/executor/command-runner.js"; import type { LedgerStore } from "../../../infrastructure/sentinel/stores/ledger-store.js"; export interface StepHandlerContext { readonly workspaceRoot: string; readonly worktreePath: string; readonly action: ActionPlan; readonly env: NodeJS.ProcessEnv; readonly ledger: LedgerStore; readonly signal: AbortSignal; readonly stepIndex: number; } export interface StepHandlerResult { readonly status: "passed" | "failed" | "skipped"; readonly summary: string; readonly command?: CommandRunResult; } export declare class StepNotImplementedError extends Error { readonly stepType: ActionStep["type"]; constructor(stepType: ActionStep["type"]); } export declare function handleStep(step: ActionStep, context: StepHandlerContext): Promise; //# sourceMappingURL=step-handlers.d.ts.map