/** Shared user-facing diagnostics for execution failures and recorded-workflow recovery. */ import type { WorkflowSource } from "../engine/types.ts"; export interface WorkflowCrashIdentity { readonly workflowName: string; readonly runId: string; readonly path?: string; } export interface WorkflowCrashDetails extends WorkflowCrashIdentity { readonly cause: string; } export declare function workflowCrashHeading(details: WorkflowCrashIdentity): string; export declare function workflowCrashRecovery(runId: string): readonly [string, string]; export declare function workflowCrashMessage(details: WorkflowCrashDetails): string; export declare function workflowFailureLine(details: Pick): string; export declare function recordedWorkflowLoadFailure(options: { readonly workflowName: string; readonly runId: string; readonly workflowSource: WorkflowSource; readonly action: "resume" | "show status"; readonly cause?: string; }): string; export declare function missingWorkflowProvenance(runId: string, action: "resumed" | "shown"): string; //# sourceMappingURL=failure-messages.d.ts.map