import { type SnapshotBackend } from "./backend.js"; export type SnapshotSchedulerOptions = { snapshotBackend?: SnapshotBackend; snapshotIntervalMs?: number; snapshotPath?: string; snapshotWriteMaxAttempts?: number; snapshotWriteRetryDelayMs?: number; }; export type SnapshotScheduler = { finish(): Promise; onYield(createSnapshot: () => TSnapshot): void; pause(): void; resume(): void; write(snapshot: TSnapshot): Promise; }; export declare function createSnapshotScheduler(options: SnapshotSchedulerOptions): SnapshotScheduler;