import { Arbitrary } from '../../arbitrary/definition/Arbitrary'; import { AsyncCommand } from '../command/AsyncCommand'; import { Command } from '../command/Command'; import { CommandsContraints } from './CommandsContraints'; /** * For arrays of {@link AsyncCommand} to be executed by {@link asyncModelRun} * * This implementation comes with a shrinker adapted for commands. * It should shrink more efficiently than {@link array} for {@link AsyncCommand} arrays. * * @param commandArbs - Arbitraries responsible to build commands * @param maxCommands - Maximal number of commands to build * * @public */ declare function commands(commandArbs: Arbitrary>[], maxCommands?: number): Arbitrary>>; /** * For arrays of {@link Command} to be executed by {@link modelRun} * * This implementation comes with a shrinker adapted for commands. * It should shrink more efficiently than {@link array} for {@link Command} arrays. * * @param commandArbs - Arbitraries responsible to build commands * @param maxCommands - Maximal number of commands to build * * @public */ declare function commands(commandArbs: Arbitrary>[], maxCommands?: number): Arbitrary>>; /** * For arrays of {@link AsyncCommand} to be executed by {@link asyncModelRun} * * This implementation comes with a shrinker adapted for commands. * It should shrink more efficiently than {@link array} for {@link AsyncCommand} arrays. * * @param commandArbs - Arbitraries responsible to build commands * @param maxCommands - Maximal number of commands to build * * @public */ declare function commands(commandArbs: Arbitrary>[], constraints?: CommandsContraints): Arbitrary>>; /** * For arrays of {@link Command} to be executed by {@link modelRun} * * This implementation comes with a shrinker adapted for commands. * It should shrink more efficiently than {@link array} for {@link Command} arrays. * * @param commandArbs - Arbitraries responsible to build commands * @param maxCommands - Maximal number of commands to build * * @public */ declare function commands(commandArbs: Arbitrary>[], constraints?: CommandsContraints): Arbitrary>>; export { commands };