/**
 * pipeline/baseline.ts
 *
 * Pure computation functions for managing historical baseline snapshots of
 * evaluation scores. All functions accept `rootDir` as their first parameter
 * and perform no process.env / process.argv access.
 */
export interface BaselineMetadata {
    areaCount: number;
    avgScore: number;
    filename: string;
    graderCost?: number;
    tag?: string;
    timestamp: string;
    totalCost?: number;
}
export interface CompareResult {
    comparisons?: ScoreComparison[];
    message: string;
    overallDelta?: number;
    success: boolean;
}
export interface ScoreComparison {
    baseline: number;
    costBaseline?: number;
    costCurrent?: number;
    costDelta?: number;
    current: number;
    delta: number;
    feature: string;
}
/**
 * Paths the baseline pipeline functions read and write. Callers compose this
 * from caller-relative paths so the functions stay agnostic of where the
 * eval package itself lives on disk (W0098).
 */
export interface BaselineDirs {
    /** Directory that contains baseline `*.json` snapshots. */
    baselinesDir: string;
    /** Absolute path to the current run's `score-summary.json`. */
    scoreSummaryPath: string;
}
export declare function compareBaseline(dirs: BaselineDirs, baselineFile?: string): CompareResult;
export declare function listBaselines(baselinesDir: string): BaselineMetadata[];
export declare function saveBaseline(dirs: BaselineDirs, tag?: string): {
    success: boolean;
    message: string;
};
