import { CBDAdapter } from '../cbd-adapter.js'; import { GraphQuery, GraphNode, GraphRelationship } from '../types.js'; export declare class GraphAPI implements GraphQuery { private adapter; private matchPattern; private whereConditions; constructor(adapter: CBDAdapter); match(pattern: string): GraphQuery; where(conditions: Record): GraphQuery; return(fields: string[]): Promise; create(node: Partial): Promise; relate(from: string, to: string, type: string, properties?: Record): Promise; createNode(labels: string[], properties: Record): Promise; findNodes(label: string, properties?: Record): Promise; findNodeById(id: string): Promise; findRelationships(type?: string, properties?: Record): Promise; findPath(startNodeId: string, endNodeId: string, relationshipType?: string, maxDepth?: number): Promise; deleteNode(id: string): Promise; deleteRelationship(id: string): Promise; updateNode(id: string, properties: Record): Promise; updateRelationship(id: string, properties: Record): Promise; cypher(query: string, parameters?: Record): Promise; shortestPath(startNodeId: string, endNodeId: string, relationshipType?: string): Promise; pageRank(iterations?: number, dampingFactor?: number): Promise; communityDetection(algorithm?: 'louvain' | 'labelPropagation'): Promise; } //# sourceMappingURL=graph.d.ts.map