import type { CalibrationMetrics, DeveloperPreference, FailurePattern, ImprovementMetrics, ImprovementOverride, SpecType, Trend, TrendMetric, ValidationFailure } from '../types/index.js';
export declare function getTrend(history: number[]): Trend;
export declare function buildTrendMetric(history: number[]): TrendMetric;
export declare function analyzeValidationResults(failures: ValidationFailure[]): FailurePattern[];
export declare function adjustTemplate(specType: SpecType, patterns: FailurePattern[]): ImprovementOverride | null;
export declare function adjustRecommendationRanking(tools: string[], preferences: DeveloperPreference[]): Map<string, number>;
export declare function getImprovementMetrics(calibrationHistory: CalibrationMetrics[]): ImprovementMetrics;
//# sourceMappingURL=self-improver.d.ts.map