import JvmForever = io.gatling.javaapi.core.loop.Forever; import { On } from "./on"; export interface ForeverFunction> { /** * Define a loop that will iterate forever. * * @param counterName - the name of the loop counter, as stored in the Session * @returns a DSL component for defining the loop content */ (counterName?: string): On; } export interface Forever> { forever: ForeverFunction; } export declare const foreverImpl: , T extends Forever>(jvmForever: J1, wrap: (wrapped: J2) => T) => ForeverFunction;