/** * Date/time primitive type helpers. Pure, UTC-only, deterministic. * Representations (docs/spec/semantics.md, Date/Time Types): * datetime = finite epoch ms within the representable Date range (±8.64e15); * duration = finite ms; * date = "YYYY-MM-DD" (valid calendar); time = "HH:MM:SS" (00:00:00–23:59:59). */ /** Authoritative date/time primitive type names (docs/spec/semantics.md § Date/Time Types). */ export declare const DATE_TIME_TYPE_NAMES: readonly ["date", "time", "datetime", "timestamp", "duration"]; /** True when the IR type name is datetime or its `timestamp` alias. */ export declare function isDatetimeTypeName(typeName: string): boolean; export declare function isValidDateString(value: unknown): boolean; export declare function isValidTimeString(value: unknown): boolean; export declare function dateOf(ts: unknown): string | null; export declare function timeOf(ts: unknown): string | null; export declare function datetimeOf(dateStr: unknown, timeStr?: unknown): number | null; //# sourceMappingURL=date-time.d.ts.map