/**
 * Code Complexity Analyzer
 * Measures cyclomatic and cognitive complexity of functions
 */
import { ComplexityAnalysis, PerformanceIssue } from './types.js';
export declare class ComplexityAnalyzer {
    private projectRoot;
    constructor(projectRoot: string);
    analyze(issues: PerformanceIssue[]): Promise<ComplexityAnalysis | undefined>;
    private extractFunctions;
    private extractFunctionBody;
    private calculateCyclomaticComplexity;
    private removeCommentsAndStrings;
    private calculateNestingLevel;
    private calculateCognitiveComplexity;
}
//# sourceMappingURL=ComplexityAnalyzer.d.ts.map