declare const IndexedDBPersistence_base: new (opts: any) => any; export declare class IndexedDBPersistence extends IndexedDBPersistence_base { constructor(opts: any); init(y: any): Promise<{}>; deinit(y: any): void; set(y: any, key: any, value: any): Promise<{}>; get(y: any, key: any): Promise<{}>; /** * Remove all persisted data that belongs to a room. * Automatically destroys all Yjs all Yjs instances that persist to * the room. If `destroyYjsInstances = false` the persistence functionality * will be removed from the Yjs instances. */ removePersistedData(room: any, destroyYjsInstances?: boolean): Promise<{}>; saveUpdate(y: any, update: any): void; saveStruct(y: any, struct: any): void; retrieve(y: any): Promise; persist(y: any): Promise; } export default function extendYIndexedDBPersistence(y: any): typeof IndexedDBPersistence;