/** * Pass #68: circular-dependency (project-level) * * Detects cycles in the module import graph using Tarjan's SCC algorithm. * Circular dependencies create tight coupling, hamper tree-shaking, and can * cause subtle initialization-order bugs. * * This is a project-level pass — it does NOT extend AnalysisPass. * It is invoked from analyzeProject() after all per-file analyses are complete. * * Category: architecture | Severity: medium | Level: warning | CWE-1047 */ import type { SastFinding } from '../../types/index.js'; import type { ProjectGraph } from '../../graph/project-graph.js'; import type { ImportGraph } from '../../graph/import-graph.js'; export declare class CircularDependencyPass { run(_projectGraph: ProjectGraph, importGraph: ImportGraph): SastFinding[]; } //# sourceMappingURL=circular-dependency-pass.d.ts.map