/** * Seedable deterministic PRNG. * * The fuzzer's reproducibility contract requires that running with the * same seed produces bit-identical inputs. A `Math.random()`-style * non-seeded source breaks that. * * Implementation: mulberry32. 32-bit state, decent statistical * quality for non-cryptographic use, fits in 8 lines. Period 2^32 — * more than enough for a fuzz budget that's typically <10^4 calls. * * Reference: https://gist.github.com/tommyettinger/46a3a48676ef5ec4a4e4 */ export declare class Prng { private state; constructor(seed?: number); /** Uniform [0, 1). */ next(): number; /** Integer in [lo, hi). */ intInRange(lo: number, hi: number): number; /** Pick a random element of an array. Throws on empty. */ pick(items: readonly T[]): T; /** Bias coin — true with probability p (0..1). */ bool(p?: number): boolean; } //# sourceMappingURL=prng.d.ts.map