import { ErrorCategory } from "./error-category.type.mjs"; import { AIErrorOptions } from "./ai-error.mjs"; import { WorkflowError } from "./workflow-error.mjs"; //#region ../ai/src/errors/workflow-drift-error.d.ts type WorkflowDriftErrorOptions = AIErrorOptions & { savedSignature: string; currentSignature: string; runId: string; }; /** * `workflow.resume(runId)` found a snapshot whose structural signature * doesn't match the current workflow definition. Thrown without * executing anything. User must discard, force, or migrate manually. */ declare class WorkflowDriftError extends WorkflowError { static readonly defaultCategory: ErrorCategory; readonly savedSignature: string; readonly currentSignature: string; readonly runId: string; constructor(message: string, options: WorkflowDriftErrorOptions); } //#endregion export { WorkflowDriftError, WorkflowDriftErrorOptions }; //# sourceMappingURL=workflow-drift-error.d.mts.map