import Dexie, { DBCoreTable } from 'dexie'; import { CryptoSettings, TableType, EncryptionOption, EncryptionMethod, DecryptionMethod } from './types'; export declare function encryptEntity(table: DBCoreTable | T, entity: TableType, rule: EncryptionOption | undefined, encryptionKey: Uint8Array, performEncryption: EncryptionMethod, nonceOverride?: Uint8Array): Partial>; export declare function decryptEntity(entity: TableType | undefined, rule: EncryptionOption | undefined, encryptionKey: Uint8Array, performDecryption: DecryptionMethod): TableType | undefined; export declare function installHooks(db: T, encryptionOptions: CryptoSettings, keyPromise: Promise, performEncryption: EncryptionMethod, performDecryption: DecryptionMethod, nonceOverride: Uint8Array | undefined): T;