import type { RandomSource } from '@flighthq/types/contract'; /** Return a random boolean with the given `probability` of being `true`. * * Values outside `[0, 1]` behave like the nearest endpoint; `0.5` is a fair coin flip. */ export declare function randomBool(random: RandomSource, probability?: number): boolean; /** Return a random integer in the inclusive range `[min, max]`. * * Bounds are passed through `Math.floor`, so fractional bounds are rounded down * rather than rejected. Throws if the resulting `min` is greater than `max`. */ export declare function randomInt(random: RandomSource, min: number, max: number): number; /** Return a random float in the half-open range `[min, max)`. */ export declare function randomRange(random: RandomSource, min: number, max: number): number; /** Return a random sign: either `1` or `-1` with equal probability. */ export declare function randomSign(random: RandomSource): number; //# sourceMappingURL=randomRange.d.ts.map