import { EncryptionConfig, RSAKeyPair } from '../types'; export declare class AutoEncryption { private secretKey; private algorithm; private enableCompression; private rsaKeySize; constructor(config: EncryptionConfig); encrypt(data: any): string; decrypt(encryptedString: string): any; encryptRSA(data: any, publicKey: string): Promise; decryptRSA(encryptedString: string, privateKey: string): Promise; encryptHybrid(data: any, publicKey: string): Promise; decryptHybrid(encryptedString: string, privateKey: string): Promise; deriveKeyFromPassword(password: string, saltRounds?: number): Promise; verifyPassword(password: string, hash: string): Promise; static generateRSAKeyPair(keySize?: number): Promise; private compress; private decompress; private rsaEncrypt; private rsaDecrypt; private browserRSAEncrypt; private browserRSADecrypt; private nodeRSAEncrypt; private nodeRSADecrypt; private static generateBrowserRSAKeys; private static generateNodeRSAKeys; private static base64ToArrayBuffer; private static arrayBufferToBase64; private static pemToBase64; private static base64ToPem; private base64ToArrayBufferInstance; private arrayBufferToBase64Instance; isEncrypted(data: string): boolean; static generateKey(length?: number): string; static generateSecureKey(length?: number): Promise; static convertPublicKeyToPem(publicKeyBase64: string): string; static convertPrivateKeyToPem(privateKeyBase64: string): string; static validateRSAKeyPair(publicKey: string, privateKey: string): Promise; } //# sourceMappingURL=index.d.ts.map