import { RsaKeyPair } from "./rsa-key-pair"; export declare class EncryptionProvider { private readonly crypto; private textEncoder; private textDecoder; constructor(crypto: Crypto); hash(secretToHash: string, salt: string): Promise; generateSymmetricKey(): Promise; importSymmetricKey(symmetricKey: string): Promise; aesEncrypt(dataToEncrypt: string, encryptionKey: string | CryptoKey): Promise; aesDecrypt(dataToDecrypt: string, encryptionKey: string | CryptoKey): Promise; deriveAesKey(encryptionKey: string, salt: ArrayBuffer): Promise; generateRsaKeys(): Promise; importRsaKeys(rsaKeyPair: RsaKeyPair): Promise; importRsaPublicKey(rsaPublicKeyString: string): Promise; importRsaPrivateKey(rsaPrivateKeyString: string): Promise; rsaEncrypt(dataToEncrypt: string, publicKey: string | CryptoKey): Promise; rsaDecrypt(dataToDecrypt: string, privateKey: string | CryptoKey): Promise; buf2hex(buffer: ArrayBuffer): string; hex2buf(hex: string): ArrayBuffer; }