import Dexie from 'dexie'; import { CryptoSettings } from './types'; export { cryptoOptions } from './types'; export declare const NON_INDEXED_FIELDS: "NON_INDEXED_FIELDS"; export declare const ENCRYPT_LIST: "ENCRYPT_LIST"; export declare const UNENCRYPTED_LIST: "UNENCRYPTED_LIST"; export { clearAllTables, clearEncryptedTables } from './applyMiddleware'; export declare function applyEncryptionMiddleware(db: T, encryptionKey: Uint8Array | Promise, tableSettings: CryptoSettings, onKeyChange: (db: T) => Promise, _nonceOverrideForTesting?: Uint8Array): void;