/** * @angular-modernizer/plugin-angular - Dependency Graph * * Builds and maintains a complete dependency graph of the Angular codebase. * Tracks all imports, exports, and relationships between modules. * * Key Features: * - Cross-file dependency analysis * - Layer boundary detection * - Circular dependency detection * - Import type classification */ import { type SourceFile } from 'ts-morph'; import { type DependencyNode, type DependencyEdge, ArchitectureLayer } from './types.js'; export declare class DependencyGraph { private readonly nodes; private readonly edges; constructor(); /** * Builds the complete dependency graph for the given source files */ build(sourceFiles: SourceFile[]): void; /** * Gets all nodes in the graph */ getNodes(): Map; /** * Gets all nodes as an array */ getAllNodes(): DependencyNode[]; /** * Gets all edges in the graph */ getEdges(): DependencyEdge[]; /** * Finds all circular dependencies */ findCircularDependencies(): string[][]; /** * Gets all layer violations */ getLayerViolations(): { source: string; target: string; sourceLayer: ArchitectureLayer; targetLayer: ArchitectureLayer; }[]; private createNode; private createEdges; private createEdgeFromImport; private updateDependents; private determineLayer; private determineModuleType; private classifyImportType; private extractImportedSymbols; private resolveModulePath; private resolvePathMapping; private resolveRelativePath; private isLayerImportAllowed; } //# sourceMappingURL=dependency-graph.d.ts.map