import type { Session, WorkflowAttemptInterruptionCause } from "../shared/types.js"; export declare const USER_MESSAGE_INTERRUPTION_REASON = "Interrupted: new message received"; /** Prefer the turn-fenced boundary marker; retain error matching for legacy rows. */ export declare function workflowAttemptInterruptionCause(error: string | null | undefined, session?: Pick, turn?: number): WorkflowAttemptInterruptionCause; export declare function isDurableWorkflowUserMessageInterruption(session: Pick, turn: number): boolean; //# sourceMappingURL=workflow-interruptions.d.ts.map