/** * Encrypt a value with a symmetric key using libsodium * * @param value - The value to encrypt * @param key - The encryption key * @returns The base64-encoded encrypted value with nonce */ export declare function encrypt(value: string, key: string): Promise; /** * Decrypt a value encrypted with a symmetric key * * @param encryptedValue - The base64-encoded encrypted value with nonce * @param key - The decryption key * @returns The decrypted string */ export declare function decryptWithKey(encryptedValue: string, key: string): Promise; //# sourceMappingURL=encrypt.d.ts.map