import type { ExportInfo } from '../types/code.types.js';
export interface AnalysisResult {
    exports: ExportInfo[];
    externalDeps: string[];
    internalDeps: string[];
    isPure: boolean;
    hasTypeAnnotations: boolean;
    linesOfCode: number;
    complexity: number;
}
export declare function analyzeCode(source: string, language: string): AnalysisResult;
/**
 * Computes cyclomatic complexity: counts decision points in the code.
 * CC = 1 + number of decision points (if, else if, for, while, case, catch, &&, ||, ?:)
 */
export declare function computeCyclomaticComplexity(source: string, _language: string): number;
export declare function checkPurity(source: string): boolean;
export declare function measureCohesion(exports: ExportInfo[]): number;
