import Dexie from 'dexie'; import { EncryptDatabaseParams } from './types'; export declare function applyMiddlewareWithCustomEncryption({ db, encryptionKey, tableSettings, onKeyChange, encrypt, decrypt, _nonceOverrideForTesting, }: EncryptDatabaseParams): void; export declare function clearAllTables(db: Dexie): Promise; export declare function clearEncryptedTables(db: T): Promise;