import { EngineAction } from '/imports/api/engine/action/EngineActions'; type InputProvider = { rollDice( action: EngineAction, dice: { number: number, diceSize: number }[] ): Promise; /** * Choose from a provided selection * @param action * @param choices Options to choose from * @param quantity Number of choices to make [min, max] inclusive, where -1 means no limit */ choose( action: EngineAction, choices: ({ _id: string } & Record)[], quantity?: [min: number, max: number], ): Promise; } export default InputProvider;