/** * Neo4j Graph Store * * Provides graph database operations using Neo4j: * - Nodes for code entities (files, classes, functions) * - Edges for relationships (imports, calls, extends) * - Cypher queries for traversal and path finding * * Requires Neo4j server running. * See docs/STORAGE.md for setup instructions. */ import { IGraphStore, GraphNode, GraphEdge } from '../interfaces'; export interface Neo4jGraphStoreConfig { uri: string; user: string; password: string; database?: string; } export declare class Neo4jGraphStore implements IGraphStore { private config; private driver; private database; private initialized; constructor(config: Neo4jGraphStoreConfig); /** * Initialize schema (create indexes) */ initialize(): Promise; upsertNode(node: GraphNode): Promise; upsertEdge(edge: GraphEdge): Promise; upsertNodes(nodes: GraphNode[]): Promise; upsertEdges(edges: GraphEdge[]): Promise; findNodes(projectId: string, type?: GraphNode['type']): Promise; getNode(id: string): Promise; getEdges(nodeId: string, direction?: 'in' | 'out' | 'both'): Promise; getNeighbors(nodeId: string, edgeType?: GraphEdge['type']): Promise; findPath(sourceId: string, targetId: string, maxDepth?: number): Promise; deleteByProject(projectId: string): Promise; deleteByFilePaths(projectId: string, filePaths: string[]): Promise; countNodes(projectId: string): Promise; flush(): Promise; close(): Promise; /** * Test connection health */ healthCheck(): Promise; private recordToNode; private recordToEdge; } //# sourceMappingURL=neo4j-graph-store.d.ts.map