import type { QaPlan } from "./qa-replay.js"; export interface BenchRow { engine: string; iterations: number; totalMs: number; msPerIter: number; peakRssMiB: number; oks: boolean[]; } export interface BenchReport { kind: "eye" | "qa"; rows: BenchRow[]; /** rustwright-vs-playwright pass/fail agreement (qa only); null if single-engine. */ agreement: number | null; note: string; } /** Run a workload on both engines (each in its own process) and compare. * rustwright is skipped (with a note) when not installed. */ export declare function runBench(kind: "eye" | "qa", opts?: { iterations?: number; plan?: QaPlan; }): Promise; /** fraction of iterations where the two engines produced the same pass/fail. */ export declare function agreementOf(a: boolean[], b: boolean[]): number; export declare function formatReport(r: BenchReport): string; //# sourceMappingURL=bench.d.ts.map