import type { WorkerOutboundMessage } from './types.ts'; export declare class WorkerCheckpointResumeState { #private; resetWorkflow(workflowId: string): void; clear(): void; recordResume(workflowId: string): void; beginCheckpointHandling(message: WorkerOutboundMessage): number | null; finishCheckpointHandling(workflowId: string, resumeVersionBeforeCheckpointHandling: number | null, workflowIsClosed: boolean): void; wasResumedDuringCheckpointHandling(workflowId: string, resumeVersionBeforeCheckpointHandling: number | null): boolean; forgetWorkflowIfClosed(workflowId: string, workflowIsClosed: boolean): void; }