export interface ErrorTrend {
    project: string;
    period: string;
    summary: ErrorSummary;
    dailyTrend: ErrorDailyTrend[];
    regressions: ErrorRegression[];
    topErrors: TopError[];
    fixRate: FixRate;
    chart: string;
}
export interface ErrorSummary {
    totalErrors: number;
    totalFixes: number;
    unfixedErrors: number;
    errorRate: number;
    avgErrorsPerDay: number;
    peakErrorDay: string;
    peakErrorCount: number;
    trend: 'improving' | 'stable' | 'worsening';
}
export interface ErrorDailyTrend {
    date: string;
    errors: number;
    fixes: number;
    errorRate: number;
}
export interface ErrorRegression {
    pattern: string;
    count: number;
    firstSeen: string;
    lastSeen: string;
    severity: 'high' | 'medium' | 'low';
    suggestion: string;
}
export interface TopError {
    summary: string;
    count: number;
    topic: string | null;
    importance: number;
    lastSeen: string;
    fixed: boolean;
}
export interface FixRate {
    total: number;
    fixed: number;
    rate: number;
    avgTimeToFix: string;
    fastestFix: string;
    slowestFix: string;
}
export declare function computeErrorTrends(project: string, days?: number): ErrorTrend;
export declare function formatErrorTrend(trend: ErrorTrend): string;
//# sourceMappingURL=error-trends.d.ts.map