import { EncryptionConfig, RequestInterceptorConfig, RSAKeyPair } from '../types'; export declare class BrowserRequestEncryption { private encryption; private autoEncrypt; private autoDecrypt; private rsaPublicKey?; constructor(config: EncryptionConfig, rsaPublicKey?: string); setRSAPublicKey(publicKey: string): void; interceptFetch(config?: RequestInterceptorConfig): void; interceptAxios(axios: any, config?: RequestInterceptorConfig): void; private decryptResponse; encryptRSA(data: any): Promise; encryptHybrid(data: any): Promise; deriveKeyFromPassword(password: string, saltRounds?: number): Promise; verifyPassword(password: string, hash: string): Promise; static generateRSAKeyPair(keySize?: number): Promise; private shouldEncryptRequest; encryptData(data: any): string; decryptData(encryptedString: string): any; isEncrypted(data: string): boolean; } //# sourceMappingURL=browser.d.ts.map