import { type ActionRunFailure, type ActionRunPhase } from "@sixb/core/storage"; export declare function throwIfAborted(signal: AbortSignal): void; /** * Translate work performed by an Action phase without misclassifying its bookkeeping. * * Every expectation an Action commit carries comes from the Action's own reads, so an expectation * conflict at commit is a read conflict: the run can be requested again against current state. */ export declare function translateActionPhaseError(error: unknown, phase: Exclude, input: { readonly actionId: string; readonly runId: string; readonly signal: AbortSignal; }): unknown; /** Recover the native phase error for direct callers and error-monitoring integrations. */ export declare function unwrapActionPhaseError(error: unknown): unknown; export declare function toActionRunFailure(error: unknown, phase: TPhase, input: { readonly actionId: string; readonly runId: string; readonly at: Date; }): ActionRunFailure; //# sourceMappingURL=normalize.d.ts.map