import { Time } from '@internationalized/date'; /** * A wall-clock time as `HH:MM` or `HH:MM:SS`, 24-hour. * * An alias for `string`, so it documents rather than enforces; `toTime` is * the runtime check. */ export type IsoTime = string; /** * `HH:MM[:SS]` in, `Time` out. Throws on anything else, for the reason * `toCalendarDate` does: an empty field for a malformed value looks exactly * like "no time chosen", and the caller never finds out. */ export declare function toTime(value: undefined, prop: string): undefined; export declare function toTime(value: IsoTime | null, prop: string): Time | null; export declare function toTime(value: IsoTime | null | undefined, prop: string): Time | null | undefined; /** `Time` out to `HH:MM`, or `HH:MM:SS` when the field shows seconds. */ export declare function toIsoTime(time: { hour: number; minute: number; second: number; }, withSeconds: boolean): IsoTime; //# sourceMappingURL=iso-time.d.ts.map