/** * Performance Regression Analysis * Analyzes performance test results and detects regressions */ interface RegressionAnalysis { metric: string; baseline: number; current: number; change: number; changePercent: number; isRegression: boolean; significance: "critical" | "major" | "minor"; threshold: number; } interface AnalysisReport { timestamp: string; baselineVersion: string; currentVersion: string; provider: string; significantRegressions: RegressionAnalysis[]; improvements: RegressionAnalysis[]; summary: { llmClients: string; terminalUI: string; toolkit: string; overall: string; }; recommendation: "approve" | "review" | "reject"; details: string; } interface AnalysisConfig { baselineFile: string; currentFile: string; threshold: number; outputFile: string; strictMode: boolean; } /** * Performance regression analyzer */ export declare class PerformanceAnalyzer { private config; private readonly CRITICAL_THRESHOLD; private readonly MAJOR_THRESHOLD; private readonly MINOR_THRESHOLD; constructor(config: AnalysisConfig); /** * Analyze performance regression */ analyze(): Promise; /** * Load performance result from file */ private loadPerformanceResult; /** * Analyze metrics for regressions */ private analyzeMetrics; /** * Analyze a single metric */ private analyzeMetric; /** * Determine if higher values are better for a metric */ private isHigherBetter; /** * Generate analysis report */ private generateReport; /** * Get summary for a component */ private getSummaryForComponent; /** * Save analysis report */ private saveReport; /** * Print analysis summary */ private printSummary; } export {}; //# sourceMappingURL=performance-analyzer.d.ts.map