export declare const IV_LENGTH_BYTES = 12; export declare const createIV: () => Uint8Array; export declare const generateEncryptionKey: (returnAs?: T | undefined) => Promise; export declare const getCryptoKey: (key: string, usage: KeyUsage) => Promise; export declare const encryptData: (key: string | CryptoKey, data: Uint8Array | ArrayBuffer | Blob | File | string) => Promise<{ encryptedBuffer: ArrayBuffer; iv: Uint8Array; }>; export declare const decryptData: (iv: Uint8Array, encrypted: Uint8Array | ArrayBuffer, privateKey: string) => Promise;