import type { AuditTask } from "../types.js"; import type { GraphEdge } from "audit-tools/shared"; import { collectGraphEdges } from "audit-tools/shared"; import { normalizeGraphPath } from "../extractors/graphPathUtils.js"; export { normalizeGraphPath, collectGraphEdges }; /** * Fan-in / fan-out degree above which a node is treated as a hub. Exported so * the Phase 3 delta-scope expansion skips the same hubs that packet planning * skips, preventing scope blow-up through highly-connected modules. */ export declare const HIGH_FAN_DEGREE_THRESHOLD = 12; export declare function graphEdgeConfidence(edge: GraphEdge): number; export declare function isConcreteGraphEdge(edge: GraphEdge): boolean; /** * Stable edge ordering: confidence descending, then content-derived tiebreak. * Lives beside `graphEdgeConfidence` because it sorts by it — co-located so the * comparator's delta arithmetic cannot drift away from the score it reads. */ export declare function compareGraphEdges(a: GraphEdge, b: GraphEdge): number; export interface GraphDegreeIndex { fanIn: Map; fanOut: Map; } export declare function buildGraphDegreeIndex(edges: GraphEdge[]): GraphDegreeIndex; export declare function isPacketExpansionEdge(edge: GraphEdge, degreeIndex: GraphDegreeIndex): boolean; export declare function buildFileToGroupKeys(groups: Map): Map>; //# sourceMappingURL=reviewPacketGraphEdges.d.ts.map