export declare class TimeoutError extends Error { readonly timeoutMs: number; constructor(timeoutMs: number); } export declare class CancelledError extends Error { constructor(message?: string); } /** * Thrown when a runner writes to a run bundle after losing its queue claim. * The current claim holder owns the run from that point on, so the fenced * writer must stop touching the bundle immediately. */ export declare class ClaimLostError extends Error { readonly runId: string; constructor(runId: string); } /** * Internal stop signal for close-to-park: the engine halts without writing * a terminal event, leaving a resumable bundle for the next claim holder. */ export declare class RunParkedError extends Error { constructor(); } export declare function isRunParkedError(error: unknown): error is RunParkedError; /** The workflow source changed after the run started; resume needs force. */ export declare class WorkflowSourceChangedError extends Error { readonly runId: string; constructor(runId: string); } export declare function isClaimLostError(error: unknown): error is ClaimLostError; export declare function isAbortLikeError(error: unknown): boolean; export declare function errorMessage(error: unknown): string;