import { TimeValue } from 'react-aria-components'; import { TimePickerGranularity } from './TimePicker.types'; /** Reads a string prop, defaulting an unset/non-string value to empty. */ export declare const readString: (prop: string | undefined) => string; /** Reads a boolean prop, defaulting an unset/non-boolean value to `fallback`. */ export declare const readBool: (prop: boolean | undefined, fallback: boolean) => boolean; /** * Parses an ISO `HH:MM[:SS]` into a React Aria `TimeValue` (or `null`). * `parseTime` returns the top-level `@internationalized/date` type while RAC's * `TimeValue` comes from its bundled copy — same shape, so bridge with a cast. */ export declare const toTimeValue: (iso: string) => TimeValue | null; /** * `TimeValue` → ISO at the active granularity's precision. `Time.toString()` * always appends seconds, which would drift minute-level values to `HH:MM:00`. */ export declare const toIso: (time: TimeValue | null, granularity: TimePickerGranularity) => string;