import type { GodNode } from '../../types.js'; import type { PipelinePhase } from '../types.js'; export type GodNodeCategory = 'HIGH_CENTRALITY' | 'BRIDGE_NODE' | 'ISOLATED_CLUSTER' | 'CHURN_HOTSPOT' | 'CIRCULAR_IMPORT' | 'UNREACHABLE'; export interface ContributingFactor { metric: string; value: number; threshold: number; } export interface GodNodesThresholds { p75FanIn: number; p90FanIn: number; p95FanIn: number; p75FanOut: number; p90FanOut: number; } export interface GodNodesOutput { godNodes: (GodNode & { category: GodNodeCategory; contributingFactors: ContributingFactor[]; })[]; thresholds: GodNodesThresholds; } /** * Finds the graph's hubs — the most connected real code entities. Ranks by how * many symbols depend on them (fan-in) and how many they depend on (fan-out), * and flags bridge nodes between clusters, circular imports, churn hotspots, * isolated clusters and unreachable code, using percentile thresholds taken * from this graph rather than fixed numbers. Test code and anonymous closures * are never ranked. */ export declare const godNodesPhase: PipelinePhase; /** * Format god-node results as structured text with file:line hints for LLM navigation. */ export declare function formatGodNodes(output: GodNodesOutput): string; //# sourceMappingURL=god-nodes.d.ts.map