import type { EdgeId, NodeId } from "./id.js"; export type RelationType = "CONTAINS" | "DEFINES" | "IMPORTS" | "CALLS" | "EXTENDS" | "IMPLEMENTS" | "HAS_METHOD" | "HAS_PROPERTY" | "ACCESSES" | "METHOD_OVERRIDES" | "OVERRIDES" | "METHOD_IMPLEMENTS" | "MEMBER_OF" | "PROCESS_STEP" | "HANDLES_ROUTE" | "FETCHES" | "HANDLES_TOOL" | "ENTRY_POINT_OF" | "WRAPS" | "QUERIES" | "REFERENCES" | "FOUND_IN" | "DEPENDS_ON" | "OWNED_BY" | "TYPE_OF"; export declare const RELATION_TYPES: readonly RelationType[]; /** * Edge connecting two graph nodes. * * `confidence` (range [0, 1]) doubles as an edge weight. For `OWNED_BY`, ingestion * writes the normalized blame-line share (contributor lines รท total lines for the * target) into `confidence`, so higher-confidence edges identify primary owners. */ export interface CodeRelation { readonly id: EdgeId; readonly from: NodeId; readonly to: NodeId; readonly type: RelationType; readonly confidence: number; readonly reason?: string; readonly step?: number; } //# sourceMappingURL=edges.d.ts.map