export type WorkflowInfrastructureFault = "worker_lost" | "worker_cleanup_unconfirmed" | "worker_retry_limit" | "worker_startup_failed" | "stale_work_lease" | "intercom_unavailable" | "storage_unavailable"; export declare class WorkflowInfrastructureError extends Error { readonly name = "WorkflowInfrastructureError"; readonly retryable = true; readonly code: WorkflowInfrastructureFault; constructor(code: WorkflowInfrastructureFault, message: string, options?: ErrorOptions); } export declare function isRetryableWorkflowError(error: unknown): boolean; export declare function workflowInfrastructureFault(message: string): WorkflowInfrastructureFault | undefined; export declare function asWorkflowInfrastructureError(error: unknown): WorkflowInfrastructureError | undefined;