declare const sodium: { randombytes_buf(arr: Uint8Array): void; sodium_malloc(n: Uint8Array): Uint8Array; sodium_free(n: Uint8Array): void; sodium_memzero(arr: Uint8Array): void; sodium_memcmp(a: Uint8Array, b: Uint8Array): boolean; sodium_pad(buf: Uint8Array, unpaddedLength: number, blocksize: number): any; sodium_unpad(buf: Uint8Array, unpaddedLength: number, blocksize: number): any; crypto_verify_16(x: Uint8Array, xi: number, y: Uint8Array, yi: number): boolean; crypto_verify_32(x: Uint8Array, xi: number, y: Uint8Array, yi: number): boolean; crypto_verify_64(x: Uint8Array, xi: number, y: Uint8Array, yi: number): boolean; crypto_stream_xor(cipherText: Uint8Array, message: Uint8Array, nonce: Uint8Array, key: Uint8Array): void; crypto_stream_KEYBYTES: number; crypto_stream_NONCEBYTES: number; crypto_sign_keypair(pk: Uint8Array, sk: Uint8Array): void; crypto_sign_seed_keypair(pk: Uint8Array, sk: Uint8Array, seed: Uint8Array): void; crypto_sign(signedMessage: Uint8Array, message: Uint8Array, sk: Uint8Array): void; crypto_sign_open(message: Uint8Array, signedMessage: Uint8Array, pk: Uint8Array): void; crypto_sign_detached(signature: Uint8Array, message: Uint8Array, sk: Uint8Array): void; crypto_sign_verify_detached(signature: Uint8Array, message: Uint8Array, pk: Uint8Array): boolean; crypto_sign_ed25519_sk_to_pk(pk: Uint8Array, sk: Uint8Array): void; crypto_sign_BYTES: number; crypto_sign_SEEDBYTES: number; crypto_sign_PUBLICKEYBYTES: number; crypto_sign_SECRETKEYBYTES: number; crypto_secretstream_xchacha20poly1305_keygen(key: Uint8Array): void; crypto_secretstream_xchacha20poly1305_init_push(state: Uint8Array, header: Uint8Array, key: Uint8Array): void; crypto_secretstream_xchacha20poly1305_push(state: Uint8Array, cipherText: Uint8Array, message: Uint8Array, add_data: Uint8Array | null, tag: Uint8Array): void; crypto_secretstream_xchacha20poly1305_init_pull(state: Uint8Array, header: Uint8Array, key: Uint8Array): void; crypto_secretstream_xchacha20poly1305_pull(state: Uint8Array, message: Uint8Array, tag: Uint8Array, cipherText: Uint8Array, add_data: Uint8Array | null): void; crypto_secretstream_xchacha20poly1305_STATEBYTES: number; crypto_secretstream_xchacha20poly1305_ABYTES: number; crypto_secretstream_xchacha20poly1305_HEADERBYTES: number; crypto_secretstream_xchacha20poly1305_KEYBYTES: number; crypto_secretstream_xchacha20poly1305_TAGBYTES: number; crypto_secretstream_xchacha20poly1305_MESSAGEBYTES_MAX: number; crypto_secretstream_xchacha20poly1305_TAG_MESSAGE: number; crypto_secretstream_xchacha20poly1305_TAG_PUSH: number; crypto_secretstream_xchacha20poly1305_TAG_REKEY: number; crypto_secretstream_xchacha20poly1305_TAG_FINAL: number; crypto_secretbox_easy(cipherText: Uint8Array, message: Uint8Array, nonce: Uint8Array, key: Uint8Array): void; crypto_secretbox_open_easy(message: Uint8Array, cipherText: Uint8Array, nonce: Uint8Array, key: Uint8Array): void; crypto_secretbox_BOXZEROBYTES: number; crypto_secretbox_KEYBYTES: number; crypto_secretbox_MACBYTES: number; crypto_secretbox_NONCEBYTES: number; crypto_secretbox_ZEROBYTES: number; crypto_scalarmult(q: Uint8Array, scalar: Uint8Array, p: Uint8Array): void; crypto_scalarmult_base(q: Uint8Array, scalar: Uint8Array): void; crypto_scalarmult_ed25519(q: Uint8Array, scalar: Uint8Array, p: Uint8Array): void; crypto_scalarmult_ed25519_noclamp(q: Uint8Array, scalar: Uint8Array, p: Uint8Array): void; crypto_scalarmult_ed25519_base(q: Uint8Array, scalar: Uint8Array): void; crypto_scalarmult_ed25519_base_noclamp(q: Uint8Array, scalar: Uint8Array): void; crypto_scalarmult_ed25519_BYTES: number; crypto_scalarmult_ed25519_SCALARBYTES: number; crypto_scalarmult_BYTES: number; crypto_scalarmult_SCALARBYTES: number; crypto_pwhash(out: Uint8Array, password: Uint8Array, salt: Uint8Array, opslimit: number, memlimit: number, algorithm: number): void; crypto_pwhash_BYTES_MIN: number; crypto_pwhash_BYTES_MAX: number; crypto_pwhash_PASSWD_MIN: number; crypto_pwhash_PASSWD_MAX: number; crypto_pwhash_SALTBYTES: number; crypto_pwhash_OPSLIMIT_MIN: number; crypto_pwhash_OPSLIMIT_MAX: number; crypto_pwhash_MEMLIMIT_MIN: number; crypto_pwhash_MEMLIMIT_MAX: number; crypto_pwhash_ALG_DEFAULT: number; crypto_pwhash_ALG_ARGON2I13: number; crypto_pwhash_ALG_ARGON2ID13: number; crypto_pwhash_STRBYTES: number; crypto_pwhash_STRPREFIX: number; crypto_pwhash_OPSLIMIT_INTERACTIVE: number; crypto_pwhash_MEMLIMIT_INTERACTIVE: number; crypto_pwhash_OPSLIMIT_MODERATE: number; crypto_pwhash_MEMLIMIT_MODERATE: number; crypto_pwhash_OPSLIMIT_SENSITIVE: number; crypto_pwhash_MEMLIMIT_SENSITIVE: number; crypto_onetimeauth(out: Uint8Array, input: Uint8Array, key: Uint8Array): void; crypto_onetimeauth_BYTES: number; crypto_onetimeauth_KEYBYTES: number; crypto_kx_keypair(pk: Uint8Array, sk: Uint8Array): void; crypto_kx_seed_keypair(pk: Uint8Array, sk: Uint8Array, seed: Uint8Array): void; crypto_kx_PUBLICKEYBYTES: number; crypto_kx_SECRETKEYBYTES: number; crypto_kx_SEEDBYTES: number; crypto_kdf_keygen(key: Uint8Array): void; crypto_kdf_derive_from_key(subkey: Uint8Array, subkeyId: number, ctx: Uint8Array, key: Uint8Array): void; crypto_kdf_KEYBYTES: number; crypto_kdf_BYTES_MIN: number; crypto_kdf_BYTES_MAX: number; crypto_kdf_CONTEXTBYTES: number; crypto_hash_sha512(out: Uint8Array, input: Uint8Array): void; crypto_hash_sha512_BYTES: number; crypto_generichash(out: Uint8Array, input: Uint8Array, key?: Uint8Array | undefined): void; crypto_generichash_batch(out: Uint8Array, batch: Uint8Array[], key?: Uint8Array | undefined): void; crypto_generichash_init(state: Uint8Array, key: Uint8Array, outlen: number): void; crypto_generichash_update(state: Uint8Array, input: Uint8Array): void; crypto_generichash_final(state: Uint8Array, out: Uint8Array): void; crypto_generichash_STATEBYTES: number; crypto_generichash_KEYBYTES: number; crypto_generichash_KEYBYTES_MIN: number; crypto_generichash_KEYBYTES_MAX: number; crypto_generichash_BYTES: number; crypto_generichash_BYTES_MIN: number; crypto_generichash_BYTES_MAX: number; crypto_core_ed25519_scalar_random(random: Uint8Array): void; crypto_core_ed25519_add(r: Uint8Array, p: Uint8Array, q: Uint8Array): void; crypto_core_ed25519_sub(r: Uint8Array, p: Uint8Array, q: Uint8Array): void; crypto_core_ed25519_from_uniform(p: Uint8Array, r: Uint8Array): void; crypto_core_ed25519_SCALARBYTES: number; crypto_core_ed25519_BYTES: number; crypto_core_ed25519_UNIFORMBYTES: number; crypto_box_keypair(pk: Uint8Array, sk: Uint8Array): void; crypto_box_seal(cipherText: Uint8Array, message: Uint8Array, publicKey: Uint8Array): void; crypto_box_seal_open(message: Uint8Array, cipherText: Uint8Array, publicKey: Uint8Array, privateKey: Uint8Array): void; crypto_box_PUBLICKEYBYTES: number; crypto_box_SECRETKEYBYTES: number; crypto_box_SEEDBYTES: number; crypto_box_NONCEBYTES: number; crypto_box_MACBYTES: number; crypto_box_SEALBYTES: number; crypto_aead_xchacha20poly1305_ietf_keygen(key: Uint8Array): void; crypto_aead_xchacha20poly1305_ietf_encrypt(cipherText: Uint8Array, message: Uint8Array, add_data: Uint8Array | null, nsec: null, npub: Uint8Array, key: Uint8Array): number; crypto_aead_xchacha20poly1305_ietf_decrypt(message: Uint8Array, nsec: null, cipherText: Uint8Array, add_data: Uint8Array | null, npub: Uint8Array, key: Uint8Array): number; crypto_aead_chacha20poly1305_ietf_keygen(key: Uint8Array): void; crypto_aead_chacha20poly1305_ietf_encrypt(cipherText: Uint8Array, message: Uint8Array, add_data: Uint8Array | null, nsec: null, npub: Uint8Array, key: Uint8Array): number; crypto_aead_chacha20poly1305_ietf_decrypt(message: Uint8Array, nsec: null, cipherText: Uint8Array, add_data: Uint8Array | null, npub: Uint8Array, key: Uint8Array): number; crypto_aead_xchacha20poly1305_ietf_ABYTES: number; crypto_aead_xchacha20poly1305_ietf_KEYBYTES: number; crypto_aead_xchacha20poly1305_ietf_NPUBBYTES: number; crypto_aead_xchacha20poly1305_ietf_NSECBYTES: number; crypto_aead_xchacha20poly1305_ietf_MESSAGEBYTES_MAX: number; crypto_aead_chacha20poly1305_ietf_ABYTES: number; crypto_aead_chacha20poly1305_ietf_KEYBYTES: number; crypto_aead_chacha20poly1305_ietf_NPUBBYTES: number; crypto_aead_chacha20poly1305_ietf_NSECBYTES: number; crypto_aead_chacha20poly1305_ietf_MESSAGEBYTES_MAX: number; constants: import("./types").Constants; }; export default sodium; //# sourceMappingURL=index.d.ts.map