import { DbServer } from './index.js';
export type Writelog = {
    ts: number;
    types: {
        [t: number]: {
            lastId: number;
            blockCapacity: number;
        };
    };
    hash: string;
    commonDump: string;
    rangeDumps: {
        [t: number]: {
            file: string;
            hash: string;
            start: number;
            end: number;
        }[];
    };
};
export declare function save<T extends boolean>(db: DbServer, sync?: T, forceFullDump?: boolean): T extends true ? void : Promise<void>;
