/** * Encrypts data using recipient's public key and sender's private key. * @param {Uint8Array} publicKey - Recipient public key in raw (un-hexed) form. * @param {Uint8Array} privateKey - Sender's private key in raw (un-hexed) form. * @param {Uint8Array} data - serialized data to encrypt */ export declare function encryptData(publicKey: Uint8Array, privateKey: Uint8Array, data: Uint8Array): Uint8Array; /** * Decrypts data using sender's public key and recipient's private key. * @param {Uint8Array} privateKey - Recipient's private key in raw (un-hexed) form. * @param {Uint8Array} publicKey -Sender's public key in raw (un-hexed) form. * @param {Uint8Array} ciphertext - encrypted data */ /** * Decrypts data using sender's public key and recipient's private key. * @param {Uint8Array} privateKey - Recipient's private key in raw (un-hexed) form. * @param {Uint8Array} publicKey -Sender's public key in raw (un-hexed) form. * @param {Uint8Array} ciphertext - encrypted data */ export declare function decryptData(privateKey: Uint8Array, publicKey: Uint8Array, ciphertext: Uint8Array): Uint8Array;