/** * Graph connection URL parser — the DatabaseUrl sibling for graph engines. * * Parse a graph connection URL into its parts, the same way DatabaseUrl does for * SQL. `engine` is the CANONICAL name the factory selects an adapter by; a scheme * alias (bolt/neo4j/memgraph all speak Bolt/Cypher and share ONE adapter) resolves * to its engine here. See tina4-documentation/plan/v3/features/139-graph-databases.md. */ /** The canonical graph engine names. */ export type GraphEngine = "ultipa" | "bolt" | "arango"; /** A parsed graph URL: engine, host, port, graph, credentials, params. */ export declare class GraphUrl { readonly raw: string; readonly scheme: string; readonly engine: GraphEngine; readonly host: string; readonly port: number; /** The graph/database name (leading slash stripped), or null when absent. */ readonly graph: string | null; readonly username: string | null; readonly password: string | null; readonly params: Record; readonly useTls: boolean; constructor(url: string); /** host:port/graph — for messages, never carrying credentials. */ getDsn(): string; static fromEnv(envKey?: string): GraphUrl | null; }