/**
 * RegressionView — compares a candidate slice to a baseline slice on a
 * named metric. Delegates the statistics (Welch's t-test, Cohen's d,
 * IQR stability) to `baseline.ts`.
 *
 * This is the entry point for CI regression gates: "given runs tagged
 * release=A and release=B, did any metric regress?"
 */
import { type BaselineOptions, type BaselineReport } from '../baseline';
import type { Run } from '../trace/schema';
import type { RunFilter, TraceStore } from '../trace/store';
export interface RegressionSpec {
    metric: string;
    higherIsBetter: boolean;
    /** Extract a scalar from a run. Default extractors handle common metrics. */
    extract?: (run: Run, store: TraceStore) => Promise<number | null>;
}
export interface RegressionOptions extends BaselineOptions {
    baseline: RunFilter;
    candidate: RunFilter;
}
export declare function regressionView(store: TraceStore, metrics: RegressionSpec[], options: RegressionOptions): Promise<BaselineReport>;
//# sourceMappingURL=regression.d.ts.map