import type { CacheProvider } from '@mondaydotcomorg/atp-protocol';
import type { LoopCheckpoint } from '../types.js';
export declare class CheckpointManager {
    private cache;
    private executionId;
    private prefix;
    constructor(executionId: string, cache: CacheProvider, prefix?: string);
    save(checkpoint: LoopCheckpoint): Promise<void>;
    load(loopId: string): Promise<LoopCheckpoint | null>;
    clear(loopId: string): Promise<void>;
    clearAll(): Promise<void>;
    private getKey;
    getExecutionId(): string;
}
export declare function setCheckpointManager(manager: CheckpointManager): void;
export declare function getCheckpointManager(): CheckpointManager;
export declare function clearCheckpointManager(): void;
export declare function hasCheckpointManager(): boolean;
//# sourceMappingURL=checkpoint-manager.d.ts.map