import type { Data } from '@alinea/backend/Data'; import { Entry, Hub } from '@alinea/core'; export declare type IndexedDBOptions = {}; export declare class IndexedDBData implements Data.Source, Data.Target, Data.Media { options: IndexedDBOptions; canRename: boolean; db: Promise; constructor(options?: IndexedDBOptions); entries(): AsyncGenerator; publish({ changes }: Hub.ChangesParams, ctx: Hub.Context): Promise; upload({ fileLocation, buffer }: Hub.MediaUploadParams): Promise; download({ location }: Hub.DownloadParams): Promise; }