import type { SyntaxNode } from '../types.js'; /** * Calculate cyclomatic complexity of a function * * Complexity = 1 (base) + number of decision points * Decision points: if, while, do...while, for, for...in, for...of, foreach, case, catch, &&, ||, ?: * * @param node - AST node to analyze (typically a function/method) * @returns Cyclomatic complexity score (minimum 1) */ export declare function calculateComplexity(node: SyntaxNode): number; //# sourceMappingURL=cyclomatic.d.ts.map