import { CalendarDateTime } from '@internationalized/date'; import type { DateValue } from '@internationalized/date'; /** * A wall-clock date and time as `YYYY-MM-DDTHH:MM` or `YYYY-MM-DDTHH:MM:SS`. * * An alias for `string`, so it documents rather than enforces; * `toCalendarDateTime` is the runtime check. */ export type IsoDateTime = string; /** * ISO string in, `CalendarDateTime` out. Throws on anything else — a `Date`, * a timestamp, an offset or a zone — for the reason `toCalendarDate` does: an * empty field for a malformed value looks exactly like "nothing chosen". */ export declare function toCalendarDateTime(value: IsoDateTime | null | undefined, prop: string): CalendarDateTime | null; /** * A date-time out, ISO string back, projected to Gregorian — see `toIso` for * why the parts are assembled rather than `toString()`ed. */ export declare function toIsoDateTime(value: DateValue & { hour?: number; minute?: number; second?: number; }, withSeconds: boolean): IsoDateTime; //# sourceMappingURL=iso-date-time.d.ts.map