import { CryptoApiInterface } from './CryptoApiInterface'; /** * Cryptography API from the PrivMX Endpoint Web */ export declare class CryptoApi implements CryptoApiInterface { private api; constructor(api: CryptoApiInterface); verifySignature(data: Uint8Array, signature: Uint8Array, publicKey: string): Promise; signData(data: Uint8Array, privKey: string): Promise; decryptDataSymmetric(data: Uint8Array, key: Uint8Array): Promise; encryptDataSymmetric(data: Uint8Array, key: Uint8Array): Promise; convertPEMKeyToWIFKey(keyPEM: string): Promise; generatePrivateKey(baseString?: string): Promise; derivePublicKey(privKey: string): Promise; derivePrivateKey(salt: string, password: string): Promise; deriveKeySymmetric(password: string, salt: string): Promise; generateKeySymmetric(): Promise; }