12345678910111213141516171819202122232425262728293031323334353637 |
- import type { Chance } from 'chance';
- export interface IRandomGenerator {
- /**
- * @returns {number}
- */
- getMathRandom (): number;
- /**
- * @returns {Chance.Chance}
- */
- getRandomGenerator (): Chance.Chance;
- /**
- * @param min
- * @param max
- * @returns {number}
- */
- getRandomInteger (min: number, max: number): number;
- /**
- * @param length
- * @param pool
- * @returns {string}
- */
- getRandomString (length: number, pool?: string): string;
- /**
- * @returns {string}
- */
- getInputSeed (): string;
- /**
- * @returns {string}
- */
- getRawSeed (): string;
- }
|