/** * A small deterministic PRNG for the search's variation and selection, seeded * from the master seed string. Threading one RNG through the whole run (plus the * seeded battle sub-seeds) is what makes a discovery reproducible. */ export declare class Rng { private state; constructor(seed: string | number); /** Next float in [0, 1). */ next(): number; /** Integer in [0, n). */ int(n: number): number; /** A uniformly-random element (undefined for an empty array). */ pick(items: readonly T[]): T | undefined; /** True with probability p. */ chance(p: number): boolean; }