import { SemanticGraph, SemanticNode } from "./semantic-graph.js"; export declare class TopologyManager { private graph; constructor(graph: SemanticGraph); /** * Processes a set of new/updated nodes for a file and updates the graph. * Implements a Soft-Delete (Tombstone) strategy for resilient parsing. */ updateFile(fileId: string, newNodes: SemanticNode[], parseSuccess?: boolean): Set; /** * Transitively marks all nodes that depend on the given nodeId. */ private markAffectedDependents; /** * Detects orphaned nodes (dead code) using Tarjan's algorithm for SCC-aware detection. * This treats circular dependency cycles as a single unit. */ detectDeadCode(): SemanticNode[]; /** * Tarjan's algorithm for finding Strongly Connected Components. */ private findSCCs; }