export declare class IndexedDBManager { private dbPromise; private dbName; private version; private storeConfigs; constructor(dbName: string, version: number, storeConfigs: Array<{ name: string; keyPath: string; }>); private initDB; private withTransaction; private promisifyRequest; put(storeName: string, data: T): Promise; get(storeName: string, key: string): Promise; getAll(storeName: string, sortByTimestamp?: boolean): Promise; clear(storeName: string): Promise; delete(storeName: string, key: string): Promise; count(storeName: string): Promise; getDBPromise(): Promise; } export declare const withErrorHandling: (operation: () => Promise, errorMessage: string, defaultValue?: T, onQuotaExceeded?: () => Promise) => Promise; export declare const createCleanupFunction: (dbManager: IndexedDBManager, storeName: string, maxItems: number) => () => Promise; //# sourceMappingURL=baseDB.d.ts.map