import { Dexie } from 'dexie'; import { YDocCache } from './types/YDocCache'; export declare function getDocCache(db: Dexie): YDocCache; export declare const destroyedDocs: WeakSet; export declare function throwIfDestroyed(doc: any): void; export declare function getYDocCacheKey(table: string, primaryKey: any, ydocProp: string): string;