import type { GraphBundle, GraphEdge } from "../types/graph.js"; /** * Graph-path + graph-edge primitives that operate purely on the shared * `GraphBundle`/`GraphEdge` contract — so they live in `audit-tools/shared` * where BOTH orchestrators (and the shared continuity scorer) can single-source * them. Audit re-exports `normalizeGraphPath` (from `extractors/graphPathUtils`) * and `collectGraphEdges` (from `orchestrator/reviewPacketGraphEdges`) from here * so its 28+ existing import sites are unchanged; remediate imports them for the * continuity consumer. */ /** Canonical repo-relative graph key: forward slashes, posix-normalized, no `./`. */ export declare function normalizeGraphPath(path: string): string; /** * Flatten the import/call/reference buckets of a `graph_bundle` into a single * validated `GraphEdge[]`. Malformed entries (missing string `from`/`to`) are * skipped, never thrown on — a bad manifest degrades to fewer edges. Optional * `direction`/`confidence`/`reason` are carried through when well-formed; * `confidence` is clamped to [0,1]. */ export declare function collectGraphEdges(graphBundle?: GraphBundle): GraphEdge[]; //# sourceMappingURL=graphPaths.d.ts.map