selfcarebot/node_modules/random/dist/generators/function.d.ts
2023-03-31 03:22:50 +00:00

9 lines
355 B
TypeScript

import RNG, { SeedFn } from '../rng';
export default class RNGFunction extends RNG {
_rng: SeedFn;
constructor(thunk: SeedFn, opts?: Record<string, unknown>);
get name(): string;
next(): number;
seed(thunk: SeedFn, _opts?: Record<string, unknown>): void;
clone(_: undefined, opts: Record<string, unknown>): RNGFunction;
}