import { KeyPair } from './types.cjs'; declare function generateECDHKeyPair(): KeyPair; declare function getSharedSecret(privateKey: Uint8Array, publicKey: Uint8Array): Uint8Array; declare function encrypt(message: string, sharedSecret: Uint8Array, nonce: string): Promise>; declare function decrypt(ciphertext: Uint8Array, sharedSecret: Uint8Array, nonce: string): Promise; export { decrypt, encrypt, generateECDHKeyPair, getSharedSecret };