import { CheckBuilderValidate } from "./validate"; import JvmCheckBuilderMultipleFind = io.gatling.javaapi.core.CheckBuilder$MultipleFind; /** * Step 1 of the Check DSL when the check can return multiple values Immutable, so all methods * return a new occurrence and leave the original unmodified. * * @typeParam X - the type of Java values the check can extract */ export interface CheckBuilderMultipleFind extends CheckBuilderValidate { /** * Target a single/first value * * @returns the next Check DSL step */ find(): CheckBuilderValidate; /** * Target the occurrence-th occurrence in the extracted values * * @param occurrence - the rank of the target value in the extracted values list * @returns the next Check DSL step */ find(occurrence: number): CheckBuilderValidate; /** * Target all the occurrences of the extracted values * * @returns the next Check DSL step */ findAll(): CheckBuilderValidate; /** * Target a random occurrence in the extracted values * * @returns the next Check DSL step */ findRandom(): CheckBuilderValidate; /** * Target multiple random occurrences in the extracted values * * @param num - the number of occurrences to collect * @returns the next Check DSL step */ findRandom(num: number): CheckBuilderValidate; /** * Target multiple random occurrences in the extracted values * * @param num - the number of occurrences to collect * @param failIfLess - fail if num is greater than the number of extracted values * @returns the next Check DSL step */ findRandom(num: number, failIfLess: boolean): CheckBuilderValidate; /** * Target the count of extracted values * * @returns the next Check DSL step */ count(): CheckBuilderValidate; } export declare const wrapCheckBuilderMultipleFind: (_underlying: JvmCheckBuilderMultipleFind) => CheckBuilderMultipleFind;