UNPKG

344 BTypeScriptView Raw
1import { Distribution } from "../types";
2/**
3 * Returns a distribution that returns an array of length `dieCount` of values
4 * within [1, `sideCount`]
5 * @param sideCount The number of sides of each die
6 * @param dieCount The number of dice
7 */
8export declare function dice(sideCount: number, dieCount: number): Distribution<number[]>;