1 | import { Engine } from "../types";
|
2 | /**
|
3 | * From the population array, produce an array with sampleSize elements that
|
4 | * are randomly chosen without repeats.
|
5 | * @param engine The Engine to use when choosing random values
|
6 | * @param population An array that has items to choose a sample from
|
7 | * @param sampleSize The size of the result array
|
8 | */
|
9 | export declare function sample<T>(engine: Engine, population: ArrayLike<T>, sampleSize: number): T[];
|