/** * Modified version of XORShift 64 bit PRNG. This is designed more for speed * rather than randomness, however it is still more random than the standard * Math.random() function and is faster too * * Based on XORShift 64 bit Java Implementation at https://jvm-gaming.org/t/random-number-generator/39968 */ export declare class Random64 { private static readonly _instance; private _seed; constructor(seed?: number); /** * Get the next random number */ next(): number; /** * Get the next random number from a static instance of the PRNG */ static next(): number; /** * Returns a random number between min and max * * @param min - the minimum value to use * @param max - the maximum value to use */ rand(min: number, max: number): number; /** * Returns a random number between min and max from a static instance of the PRNG * * @param min - the minimum value to use * @param max - the maximum value to use */ static rand(min: number, max: number): number; }