import type { Benchmark, BenchmarkGroup, NormalizedSuiteOptions, Results, RunBenchmarkOptions, Stats, SuiteOptions, } from './types.d.mts'; export declare class BencheeSuite implements BencheeSuite { benchmarks: BenchmarkGroup; isRunning: boolean; options: NormalizedSuiteOptions; results: Results; constructor(passedOptions?: SuiteOptions); /** * When a benchmark finishes, store the result. */ _onResult(benchmark: B, error: Error | null, stats: Stats): void; /** * run the benchmark with the options passed */ _runBenchmark(benchmarkOptions: RunBenchmarkOptions): Promise; /** * execute the runs for the benchmarked function */ _runBenchmarkIterations(benchmark: Benchmark, runs: number): void; /** * run a group of benchmarks */ _runGroup(groupBenchmarks: Benchmark[], group?: string): Promise; /** * add a benchmark to the queue to be run */ add(name: string, benchmarkGroup: string | ((...args: any[]) => any), benchmarkFn?: (...args: any[]) => any): this; /** * run the benchmarks in the queue */ run(): Promise; }