import { DataWatcher, SaveContract, LoadContract, DataWatcherOptions } from "./abstract"; import { ChunkRegistry } from '../chunk-registry'; import { Chunk } from '../chunk/chunk'; export interface FsWatcherOptions extends DataWatcherOptions { disk: { outputDirectory: string; }; } interface DiskLoadContract extends LoadContract { chunkRef: Chunk; } export declare class DiskWatcher extends DataWatcher { #private; constructor(registry: ChunkRegistry, options: FsWatcherOptions); save(saveContract: SaveContract): Promise; load(chunkId: string): Promise; backupRuntimeCache(): void; restore(): Promise; cleanup(chunkId: string): Promise; countRows(chunkId: string): number; } export {};