import Noise from "noise-protocol"; import type { X25519Keypair } from "./crypto.js"; export declare const HASH_OFFSET_SHA256 = 32; export declare const HASH_LEN_SHA256 = 32; /** * Test-only: makes the NEXT internal ephemeral `generateKeypair` call use * the provided fixed keys instead of random ones. Consumes after one use. * Required to reproduce official Noise test vectors. */ export declare function setNextEphemeralForTest(pk: Uint8Array, sk: Uint8Array): void; export declare const NoiseXX_SHA256: typeof Noise; /** * Builds a noise-protocol keypair from a raw 32-byte X25519 private scalar. * Computes the public key via X25519 base-point multiplication. */ export declare function keypairFromRawSk(rawSk: Uint8Array): X25519Keypair;