/** * PageRank-based Centrality for Symbol Graph * * Computes an importance score for each file in a project based on * the import dependency graph. Files that are imported by many others * receive higher scores (core utilities, services, types). * * Used for: * - Prioritizing file processing order in ETL (most central first) * - Boosting search result ranking * - Surfacing the most relevant files in go_to_definition ambiguity */ /** * Compute simplified PageRank over the file import graph. * * @param nodes - All file paths in the project * @param edges - Directed [from, to] import edges (from imports to) * @returns Map of file_path → normalized score (0–1) */ export declare function computePageRank(nodes: string[], edges: Array<{ from_file: string; to_file: string; }>): Map; //# sourceMappingURL=centrality.d.ts.map