/** * Neo4j Connection Manager * * Manages Neo4j database connections using the official neo4j-driver. * Provides direct Cypher query access for date-ordered queries. */ import { Driver } from 'neo4j-driver'; import type { INeo4jConnectionManager, INeo4jConnectionConfig } from '../../../domain/interfaces/dal'; /** * Neo4j Connection Manager implementation. * Uses the official neo4j-driver for connection management. */ export declare class Neo4jConnectionManager implements INeo4jConnectionManager { private readonly config; private driver; private connected; constructor(config: INeo4jConnectionConfig); /** * Initialize the Neo4j driver and verify connectivity. */ connect(): Promise; /** * Check if the Neo4j connection is healthy. */ isConnected(): Promise; /** * Close the Neo4j driver connection. */ disconnect(): Promise; /** * Get the current configuration. */ getConfig(): INeo4jConnectionConfig; /** * Execute a generic query (delegates to query). */ execute(queryDef: unknown): Promise; /** * Execute a Cypher query and return results. */ query(cypher: string, params?: Record): Promise; /** * Execute a write transaction. */ write(cypher: string, params?: Record): Promise; /** * Convert Neo4j native types to JavaScript types. */ private convertNeo4jValue; /** * Get the underlying Neo4j driver for advanced usage. * @internal */ getDriver(): Driver | null; } /** * Create a Neo4j connection manager from environment. */ export declare function createNeo4jConnectionManager(uri?: string, username?: string, password?: string, database?: string, timeout?: number): Neo4jConnectionManager; //# sourceMappingURL=Neo4jConnectionManager.d.ts.map