/** secp256k1 group order n. */ export declare const CURVE_ORDER = 115792089237316195423570985008687907852837564279074904382605163141518161494337n; /** Reduce `n` into [0, CURVE_ORDER). */ export declare function modCurveOrder(n: bigint): bigint; /** Big-endian 32-byte encoding of a scalar reduced into [0, n). */ export declare function scalarToBytes(n: bigint): Uint8Array; /** * Cryptographically random 32-byte scalar in [1, n). * Rejection sampling — no modular reduction of the RNG output (avoids bias). */ export declare function randomScalarBytes(): Uint8Array; //# sourceMappingURL=eccScalar.d.ts.map