export type PerfRiskCategory = 'n-plus-one' | 'large-data' | 'missing-pagination' | 'missing-cache' | 'blocking-ops' | 'missing-index';
export type PerfRiskSeverity = 'high' | 'medium' | 'low';
export interface PerfRisk {
    category: PerfRiskCategory;
    severity: PerfRiskSeverity;
    description: string;
    recommendation: string;
}
export type PerfOverallRisk = 'high' | 'medium' | 'low' | 'none';
export interface PerformanceAnalysisResult {
    specId: string;
    riskCount: number;
    risksByCategory: Record<PerfRiskCategory, PerfRisk[]>;
    overallRisk: PerfOverallRisk;
    recommendations: string[];
}
export interface PerformanceAnalysisInput {
    specId: string;
    projectPath: string;
}
/**
 * A single risk pattern definition used by the performance analyzer engine.
 * Defines trigger keywords that indicate a risk and negate keywords that cancel it.
 */
export interface PerfRiskPattern {
    category: PerfRiskCategory;
    severity: PerfRiskSeverity;
    triggerKeywords: string[];
    negateIfPresent?: string[];
    description: string;
    recommendation: string;
}
//# sourceMappingURL=performance-analysis.d.ts.map