import { Dexie } from 'dexie'; import { YUpdateRow } from './types/YUpdateRow'; /** Go through all Y.Doc tables in the entire local db and compress updates * * @param db Dexie * @returns */ export declare function compressYDocs(db: Dexie, skipIfRecentlyDoneMillisec?: number): Promise; export declare function compressUpdatesForDoc(db: Dexie, updatesTable: string, parentId: any, addedUpdatesToCompress: YUpdateRow[]): import("dexie").PromiseExtended;