import { BrainInsight } from '../types.js'; export interface CognitiveFunction { name: string; file: string; startLine: number; endLine: number; cognitiveScore: number; nestingContributions: number; booleanContributions: number; controlFlowContributions: number; recursionContributions: number; linesOfCode: number; } export declare class CognitiveLoadAnalyzer { private projectDir; constructor(projectDir: string); analyzeProject(maxFiles?: number): Promise; analyzeFile(filePath: string): CognitiveFunction[]; private getFunctionPattern; private extractFunctionBody; private skipString; private calculateCognitiveComplexity; private removeStringsAndComments; private functionToInsight; private collectFiles; } //# sourceMappingURL=cognitive-load.d.ts.map