/** * McCabe cyclomatic-complexity estimator — extracted from `call-graph.ts` * (change: modularize-call-graph-builder; analyzer: StableCallGraphBarrel). * * A pure, dependency-free regex approximation (CC = 1 + decision points) used to * rank/triage function complexity. `computeCyclomaticComplexity` was exported from * `call-graph.ts`, so it is re-exported there to keep the public import surface * unchanged; the `CC_PATTERN_*` tables stay private to this module. */ /** * McCabe cyclomatic complexity via regex over function body. * CC = 1 + decision points (if, while, for, case, catch, &&, ||). * Approximate (regex, not AST), suitable for triage/ranking. */ export declare function computeCyclomaticComplexity(body: string, language: string): number; //# sourceMappingURL=call-graph-complexity.d.ts.map