/** * Internal libsodium-backed sealed-box seam for KERIpy cipher parity. * * Boundary rule: * - CESR primitives own sealed-box behavior * - higher layers consume `Cipher`/`Encrypter`/`Decrypter`, not sodium calls * - this module returns only raw key/plaintext/cipher bytes; derivation codes * and primitive hydration stay outside at the CESR primitive layer */ /** Derive X25519 public key material from one Ed25519 verifier key. */ export declare function boxPublicKeyFromEd25519Verfer(verferRaw: Uint8Array): Uint8Array; /** * Derive the X25519 box keypair corresponding to one Ed25519 signing seed. * * KERIpy parity: * - derive the Ed25519 signing keypair first * - then convert both sides to the associated X25519 box keys */ export declare function boxKeyPairFromEd25519Seed(seedRaw: Uint8Array): { publicKey: Uint8Array; privateKey: Uint8Array; }; /** Recover the X25519 public key corresponding to one raw X25519 private key. */ export declare function boxPublicKeyFromPrivateKey(privateKey: Uint8Array): Uint8Array; /** Encrypt one plaintext using libsodium's X25519 sealed-box primitive. */ export declare function sealBox(plaintext: Uint8Array, publicKey: Uint8Array): Uint8Array; /** Open one libsodium X25519 sealed-box ciphertext back to raw plaintext bytes. */ export declare function openSealedBox(cipher: Uint8Array, publicKey: Uint8Array, privateKey: Uint8Array): Uint8Array; //# sourceMappingURL=sealed-box.d.ts.map