import type { KnowledgeEntry } from '../types/index.js'; import type { Association } from '../association/association-types.js'; import type { GraphNode, GraphEdge, GraphSnapshot } from './graph-types.js'; export interface KnowledgeGraphOptions { semanticThreshold?: number; } export declare class KnowledgeGraph { private readonly nodes; private readonly edges; private readonly adjacency; private readonly semanticThreshold; constructor(options?: KnowledgeGraphOptions); addEntry(entry: KnowledgeEntry): GraphNode; removeEntry(entryId: string): boolean; addExplicitEdge(association: Association): GraphEdge; addCoOccurrenceEdge(entryId1: string, entryId2: string, strength: number): GraphEdge; addSemanticEdge(entryId1: string, entryId2: string, similarity: number): GraphEdge | null; removeEdge(sourceId: string, targetId: string, edgeSource?: string): boolean; getNode(entryId: string): GraphNode | undefined; getNeighbors(entryId: string): GraphNode[]; getEdges(entryId: string): GraphEdge[]; getDegree(entryId: string): number; snapshot(): GraphSnapshot; get nodeCount(): number; get edgeCount(): number; private addEdge; private edgeKey; } //# sourceMappingURL=knowledge-graph.d.ts.map