import type { ConventionBaseline, ConventionScanResult, BaselineComparison } from '../types/index.js';
declare function baselineFile(projectId: string): string;
/**
 * Persist a convention baseline for a project.
 * Overwrites any previously stored baseline.
 */
export declare function saveBaseline(projectId: string, baseline: ConventionBaseline): Promise<void>;
/**
 * Retrieve the stored baseline for a project.
 * Returns null when no baseline has been established yet.
 */
export declare function getBaseline(projectId: string): Promise<ConventionBaseline | null>;
/**
 * Compare a current scan result against the stored baseline.
 * Returns new violations (regressions) and fixed violations (improvements).
 * If no baseline exists, all current violations are treated as new.
 */
export declare function compareWithBaseline(projectId: string, current: ConventionScanResult): Promise<BaselineComparison>;
export { baselineFile };
//# sourceMappingURL=convention-baseline.d.ts.map