import { type Repository } from '../db/index.js';
import type { RiskWeights } from '../graph/classifiers/risk.js';
import type { CodegraphConfig, Role } from '../types.js';
interface TriageItem {
    name: string;
    kind: string;
    file: string;
    line: number;
    role: string | null;
    fanIn: number;
    cognitive: number;
    churn: number;
    maintainabilityIndex: number;
    normFanIn: number;
    normComplexity: number;
    normChurn: number;
    normMI: number;
    roleWeight: number;
    riskScore: number;
}
interface TriageSummary {
    total: number;
    analyzed: number;
    avgScore: number;
    maxScore: number;
    weights: RiskWeights;
    signalCoverage: Record<string, number>;
}
interface TriageDataOpts {
    noTests?: boolean;
    minScore?: number | string | null;
    sort?: string;
    config?: CodegraphConfig;
    weights?: Partial<RiskWeights>;
    file?: string;
    kind?: string;
    role?: Role;
    limit?: number;
    offset?: number;
    repo?: Repository;
}
export declare function triageData(customDbPath?: string, opts?: TriageDataOpts): {
    items: TriageItem[];
    summary: TriageSummary;
};
export {};
//# sourceMappingURL=triage.d.ts.map