/** * Scenario helpers — `defineScenario` is a tiny convenience that * validates step names are unique (so the step rollup in `LoadReport` * is unambiguous) and gives a typed entry point. * * The think-time picker lives here so workers and tests can both use * it without pulling in the runner. It uses the standard global * `Math.random` — load runs are not seeded for determinism on purpose * (workers running with the same think-time pattern defeat the point * of load testing). */ import type { Scenario, ScenarioStep, ThinkTime } from "./types.js"; export declare function defineScenario(spec: { name: string; steps: ReadonlyArray; thinkTime?: ThinkTime; beforeIteration?: Scenario["beforeIteration"]; afterIteration?: Scenario["afterIteration"]; }): Scenario; /** Pick a think-time wait in ms, honouring an override chain. */ export declare function pickThinkTimeMs(...overrides: ReadonlyArray): number; //# sourceMappingURL=scenario.d.ts.map