import { phase0 } from "@lodestar/types";
import { CPStateDatastore, DatastoreKey } from "./types.js";
/**
 * Implementation of CPStateDatastore using file system, this is beneficial for debugging.
 */
export declare class FileCPStateDatastore implements CPStateDatastore {
    private readonly folderPath;
    constructor(dataDir: string);
    init(): Promise<void>;
    write(cpKey: phase0.Checkpoint, stateBytes: Uint8Array): Promise<DatastoreKey>;
    remove(serializedCheckpoint: DatastoreKey): Promise<void>;
    read(serializedCheckpoint: DatastoreKey): Promise<Uint8Array | null>;
    readLatestSafe(): Promise<Uint8Array | null>;
    readKeys(): Promise<DatastoreKey[]>;
}
//# sourceMappingURL=file.d.ts.map