/** * Exit-code projection for operation resolutions. Exit codes are application * vocabulary: the kernel derives outcomes, and this boundary owns the * outcome-to-exit mapping the published exit-code reference pins. */ import { type OperationOutcome, type OperationResolution } from "@agentxm/workspace/transitions/planning"; /** * The exit code for a resolution, from one outcome-to-exit mapping: * previewed/applied/no-op/cancelled exit 0 (a flag-requested divergence on a * preview exits 1); partial exits 1; failed exits by cause class (default 1); * blocked exits by blocking class (approval/override 2; stale-candidate, * resource-conflict, policy-excluded, dependency-cycle 6; otherwise cause * class); interrupted exits 130/143. */ export declare const operationExitCode: (resolution: OperationResolution, outcome?: OperationOutcome) => number; /** The machine envelope's `ok`: true exactly for the zero-exit outcome set. */ export declare const operationOk: (resolution: OperationResolution, outcome?: OperationOutcome) => boolean; //# sourceMappingURL=operation-exit-code.d.ts.map