import { BaseAdapter } from './Adapter'; import type { DeleteParams, DeleteResult, FileOperationResult, FileContentResult, ArchiveParams, UnarchiveParams, SaveParams, RenameParams, TransferParams, UploaderContext, ListParams, SearchParams, GetContentParams } from './types'; import type { DirEntry, FsData } from '../types'; export interface IndexedDBDriverConfig { dbName?: string; storage?: string; storages?: string[]; readOnly?: boolean; version?: number; } export declare class IndexedDBDriver extends BaseAdapter { private dbName; private defaultStorage; private storages; private storagesSet; private readOnly; private version; private db; private dbPromise; private entries; private contentStore; private driver; private readyPromise; constructor(config?: IndexedDBDriverConfig); private isManagedStorage; private isManagedPath; private initDB; private getDB; private requestToPromise; private waitTransaction; private loadSnapshotFromDB; private persistSnapshot; private ensureReady; list(params?: ListParams): Promise; delete(params: DeleteParams): Promise; rename(params: RenameParams): Promise; copy(params: TransferParams): Promise; move(params: TransferParams): Promise; archive(params: ArchiveParams): Promise; unarchive(params: UnarchiveParams): Promise; createFile(params: { path: string; name: string; }): Promise; createFolder(params: { path: string; name: string; }): Promise; getPreviewUrl(params: { path: string; }): string; getContent(params: GetContentParams): Promise; getDownloadUrl(params: { path: string; }): string; search(params: SearchParams): Promise; save(params: SaveParams): Promise; configureUploader?(uppy: any, context: UploaderContext): void; }