export type Neo4jTemporalType = "date" | "datetime"; /** * Normalize a value for Neo4j's date() or datetime() constructor. * * Returns: * type='date' → "YYYY-MM-DD" (time stripped) * type='datetime' → "YYYY-MM-DDTHH:mm:ss.sssZ" (canonical ISO 8601 UTC) * null → null (Cypher caller MUST branch * with CASE WHEN IS NULL) * undefined → undefined (field not being written) * * Accepts: * Date — valid JS Date * "YYYY-MM-DD" — date-only string * "YYYY-MM-DDTHH:mm:ss[.sss][Z]" — ISO datetime (with or without ms/tz) * * Throws BadRequestException on NaN Date, unknown string shape, wrong type. * * UTC is used throughout — calendar dates must not drift across timezones. * Use at the repository boundary together with `date(left($v, 10))` (calendar * dates) or `datetime($v)` (point-in-time) in Cypher. */ export declare function normalizeNeo4jTemporal(value: Date | string | null | undefined, type: Neo4jTemporalType): string | null | undefined; //# sourceMappingURL=neo4j-date.d.ts.map