import type { IDBPDatabase } from 'idb'; import type { BlockSuiteBinaryDB, UpdateMessage } from './shared'; export declare function mergeUpdates(updates: Uint8Array[]): Uint8Array; /** * try to migrate the old database to the new database * this function will be removed in the future * since we don't need to support the old database */ export declare function tryMigrate(db: IDBPDatabase, id: string, dbName?: string): Promise; export declare function downloadBinary(guid: string, dbName?: string): Promise; export declare function overwriteBinary(guid: string, update: UpdateMessage['update'], dbName?: string): Promise; export declare function pushBinary(guid: string, update: UpdateMessage['update'], dbName?: string): Promise; //# sourceMappingURL=utils.d.ts.map