import { SessionTo } from "../session"; import { On } from "./on"; import JvmDoWhile = io.gatling.javaapi.core.loop.DoWhile; export interface DoWhileFunction> { /** * Define a loop that will iterate as long as the condition holds true. The condition is evaluated * at the end of the loop. * * @param condition the condition, expressed as a Gatling Expression Language String * @param counterName the name of the loop counter, as stored in the Session * @return a DSL component for defining the loop content */ (condition: string, counterName?: string): On; /** * Define a loop that will iterate as long as the condition holds true. The condition is evaluated * at the end of the loop. * * @param condition the condition, expressed as a function * @param counterName the name of the loop counter, as stored in the Session * @return a DSL component for defining the loop content */ (condition: SessionTo, counterName?: string): On; } export interface DoWhile> { doWhile: DoWhileFunction; } export declare const doWhileImpl: , T extends DoWhile>(jvmDoWhile: J1, wrap: (wrapped: J2) => T) => DoWhileFunction;