import type { ExecutorResult, Loop, LoopRun } from "../types.js"; export declare const CONFIGURED_LOOP_SKIP_EXIT_CODE = 75; export type FinalizableLoopResult = Omit & { status: LoopRun["status"]; }; export declare function supportsConfiguredLoopSkip(loop: Loop, exitCode: number | undefined): boolean; export declare function isConfiguredLoopSkip(loop: Loop, result: Pick): boolean; /** * Interpret the top-level loop decline protocol at the persistence boundary. * * Generic targets and workflow steps keep ordinary exit-code semantics. Only a * non-workflow loop configured with overlap=skip may turn exit 75 into the * neutral terminal LoopRun status. Output is deliberately ignored because the * protocol is the exit code; live callers emit both stdout and stderr variants. */ export declare function classifyLoopExecutionResult(loop: Loop, result: FinalizableLoopResult): FinalizableLoopResult;