/**
 * Code mapping and dependency graph analysis
 */
import type { CodeMap, DependencyNode } from "./types.js";
/**
 * Build a semantic code map for a project
 */
export declare function buildCodeMap(projectRoot: string, filePatterns: string[]): Promise<CodeMap>;
/**
 * Build a dependency graph from a code map
 */
export declare function buildDependencyGraph(codeMap: CodeMap): Map<string, DependencyNode>;
/**
 * Find all files that depend on a given file
 */
export declare function findDependents(file: string, graph: Map<string, DependencyNode>): string[];
/**
 * Find all files that a given file depends on
 */
export declare function findDependencies(file: string, graph: Map<string, DependencyNode>): string[];
/**
 * Find the impact radius of changing a file
 */
export declare function calculateImpactRadius(file: string, graph: Map<string, DependencyNode>): Set<string>;
