export declare function isNothing(value: T | null | undefined): boolean; export type PCGRandomState = [number, number, number, number]; export type OptionalNumber = number | null | undefined; /** * PCG is a family of simple fast space-efficient statistically good algorithms * for random number generation. Unlike many general-purpose RNGs, they are also * hard to predict. */ export declare class PCGRandom { private _state; /** * Creates an instance of PCGRandom. * * @param seed - The low 32 bits of the seed (0 is used for high 32 bits). * * @memberOf PCGRandom */ constructor(seed?: OptionalNumber); /** * Creates an instance of PCGRandom. * * @param seedHi - The high 32 bits of the seed. * @param seedLo - The how 32 bits of the seed. * @param inc - The low 32 bits of the incrementer (0 is used for high 32 bits). * * @memberOf PCGRandom */ constructor(seedHi: OptionalNumber, seedLo: OptionalNumber, inc?: OptionalNumber); /** * Creates an instance of PCGRandom. * * @param seedHi - The high 32 bits of the seed. * @param seedLo - The how 32 bits of the seed. * @param incHi - The high 32 bits of the incrementer. * @param incLo - The how 32 bits of the incrementer. * * @memberOf PCGRandom */ constructor(seedHi: OptionalNumber, seedLo: OptionalNumber, incHi: OptionalNumber, incLo: OptionalNumber); /** * @returns A copy of the internal state of this random number generator as a JavaScript Array */ getState(): PCGRandomState; /** * Restore state previously retrieved using getState() */ setState(state: PCGRandomState): void; integer(max: number): number; number(): number; private _next; } //# sourceMappingURL=PCGRandom.d.ts.map