import { Record as Neo4jRecord } from 'neo4j-driver'; /** * Maps Neo4j query results to plain JavaScript objects, * converting Neo4j-specific types (Integer, DateTime, Node, etc.) * to standard JS values. */ export declare class ResultMapper { /** * Convert a Neo4j Record to a plain object, handling Neo4j-specific types. * If returnKey is provided, extracts that key from the record. * Otherwise converts the entire record to an object. */ static mapRecord(record: Neo4jRecord, returnKey?: string): Record; /** * Map all records from a query result. */ static mapRecords(records: Neo4jRecord[], returnKey?: string): Record[]; /** * Convert Neo4j-specific types to plain JS values recursively. * Handles: Integer, DateTime, Date, Time, Point, Node, Relationship, arrays, objects. * Note: The driver is typically configured with disableLosslessIntegers: true, * so Integer conversion is mainly for safety. */ static convertNeo4jTypes(value: unknown, depth?: number): unknown; } //# sourceMappingURL=result-mapper.d.ts.map