/**
 * Trends Repository
 *
 * Historical trend calculations and aggregations.
 *
 * @module persistence/repositories/trends
 */
import type Database from "better-sqlite3";
import type { TrendData } from "../types.js";
import type { Severity } from "../../certification/types.js";
export type TrendPeriodType = "day" | "week" | "month";
export declare class TrendsRepository {
    private db;
    constructor(db: Database.Database);
    calculateTrends(projectId: string, period: TrendPeriodType, lookbackPeriods?: number): TrendData[];
    getMTTR(projectId: string, period: TrendPeriodType, lookbackPeriods?: number): {
        period: string;
        mttrHours: number;
    }[];
    getFixVelocity(projectId: string, period: TrendPeriodType, lookbackPeriods?: number): {
        period: string;
        fixesCount: number;
    }[];
    getSeverityTrends(projectId: string, period: TrendPeriodType, lookbackPeriods?: number): {
        period: string;
        bySeverity: Record<Severity, number>;
    }[];
    getCategoryBreakdown(projectId: string): {
        category: string;
        count: number;
        percentage: number;
    }[];
    getScannerEffectiveness(projectId: string): {
        scanner: string;
        found: number;
        falsePositives: number;
        accuracy: number;
    }[];
    private getPeriodFormat;
    private getPeriodInterval;
}
//# sourceMappingURL=trends.d.ts.map