import { Arbitrary } from '../check/arbitrary/definition/Arbitrary'; import { AsyncCommand } from '../check/model/command/AsyncCommand'; import { Command } from '../check/model/command/Command'; import { CommandsContraints } from '../check/model/commands/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 * * @deprecated * Superceded by `fc.commands(commandArbs, {maxCommands})` - see {@link https://github.com/dubzzz/fast-check/issues/992 | #992}. * Ease the migration with {@link https://github.com/dubzzz/fast-check/tree/main/codemods/unify-signatures | our codemod script}. * * @remarks Since 1.5.0 * @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 * * @deprecated * Superceded by `fc.commands(commandArbs, {maxCommands})` - see {@link https://github.com/dubzzz/fast-check/issues/992 | #992}. * Ease the migration with {@link https://github.com/dubzzz/fast-check/tree/main/codemods/unify-signatures | our codemod script}. * * @remarks Since 1.5.0 * @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 constraints - Contraints to be applied when generating the commands * * @remarks Since 1.11.0 * @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 constraints - Constraints to be applied when generating the commands * * @remarks Since 1.11.0 * @public */ declare function commands(commandArbs: Arbitrary>[], constraints?: CommandsContraints): Arbitrary>>; export { commands };