import type { ComparisonResult, ThresholdConfig } from "./types.js"; import type { MetricsBatch } from "./metrics-batch.js"; /** * Compare a current benchmark run against one or more baseline runs. * * Baseline values are averaged across the provided runs. For each * scenario+metric pair in `current`, the function computes a percentage * change and applies the threshold test to classify the result as * improved, stable, or regressed. * * Metrics present in `current` but absent from every baseline are * excluded — new metrics have no history to regress against. * * @param current - MetricsBatch for the current run. * @param baseline - One or more baseline MetricsBatch objects to compare against. * @param config - Threshold configuration (default: 5 % percentage). * @returns A `ComparisonResult` with per-metric entries and an overall regression flag. */ export declare function compareRuns(current: MetricsBatch, baseline: MetricsBatch[], config?: ThresholdConfig): ComparisonResult; //# sourceMappingURL=compare.d.ts.map