/** * Byte-array equality without early-exit in the compare loop. * Not a substitute for `crypto.timingSafeEqual` where available; JS cannot * give strict constant-time guarantees (GC, etc.). */ export declare function equalBytes(a: Uint8Array, b: Uint8Array): boolean; /** Overwrite a buffer with zeros (best-effort secret clearing). */ export declare function zeroBytes(buf: Uint8Array): void; export declare function concatBytes(...parts: Uint8Array[]): Uint8Array; /** Interpret bytes as a big-endian unsigned integer. */ export declare function bytesToScalar(buf: Uint8Array): bigint; /** Big-endian uint32. Throws if `n` is not an integer in [0, 2^32). */ export declare function u32ToBe(n: number): Uint8Array; /** Big-endian uint64. Throws if `n` is not an integer in [0, 2^64). */ export declare function bigintToU64Be(n: bigint): Uint8Array; //# sourceMappingURL=array.d.ts.map