import { ICryptoProvider } from './crypto/abstract.js';
/**
 * Generate a cryptographically safe random big integer of the given size (in bytes)
 * @param size  Size in bytes
 */
export declare function randomBigInt(crypto: ICryptoProvider, size: number): bigint;
/**
 * Generate a random big integer of the given size (in bits)
 * @param bits
 */
export declare function randomBigIntBits(crypto: ICryptoProvider, bits: number): bigint;
/**
 * Generate a random big integer in the range [min, max)
 *
 * @param max  Maximum value (exclusive)
 * @param min  Minimum value (inclusive)
 */
export declare function randomBigIntInRange(crypto: ICryptoProvider, max: bigint, min?: bigint): bigint;
