/** * Returns a random float uniformly distributed between [min, max]. */ export declare function random(min: number, max: number): number; /** * Returns a random value between [min, max], snapped to a grid of `steps` divisions. * * @param min Lower bound (inclusive) * @param max Upper bound (inclusive) * @param steps Number of discrete steps across the range (default 10). * Higher = smoother distribution, lower = more coarse jumps. * * @example * randomRound(0, 1, 10) // one of: 0, 0.1, 0.2, … 1.0 * randomRound(5, 10) // integer-ish random between 5 and 10 */ export declare function randomRound(min: number, max: number, steps?: number): number; /** * Returns a random value from a normal (Gaussian) distribution * centred on `mean` with the given standard deviation. * * Uses the Box–Muller transform. * * @param mean Centre of the distribution * @param stdDev Standard deviation (spread). Larger = wider scatter. */ export declare function randomND(mean: number, stdDev: number): number; //# sourceMappingURL=random.d.ts.map