// Ambient types for `tweetnacl-sealedbox-js` (crypto_box_seal), which ships without its own. // The library is a small UMD bundle over `tweetnacl` and `blakejs`; only `seal` is used here. declare module "tweetnacl-sealedbox-js" { /** crypto_box_seal: returns ephemeralPub(32) ‖ box, sealed to `recipientPublicKey`. */ export function seal(message: Uint8Array, recipientPublicKey: Uint8Array): Uint8Array; /** crypto_box_seal_open: returns the plaintext, or null if it does not open. */ export function open( sealed: Uint8Array, recipientPublicKey: Uint8Array, recipientSecretKey: Uint8Array, ): Uint8Array | null; export const overheadLength: number; }