import { BenchmarkResult, BenchmarkOpts } from "../types.js"; export type BenchmarkRunOpts = BenchmarkOpts & { id: string; }; export type BenchmarkRunOptsWithFn = BenchmarkOpts & { id: string; fn: (arg: T) => void | Promise; before?: () => T2 | Promise; beforeEach?: (arg: T2, i: number) => T | Promise; }; export declare function runBenchFn(opts: BenchmarkRunOptsWithFn, persistRunsNs?: boolean): Promise<{ result: BenchmarkResult; runsNs: bigint[]; }>; //# sourceMappingURL=runBenchFn.d.ts.map