import { DateType } from '@mezzanine-ui/core/calendar'; export type TimeRangePickerValue = [DateType | undefined, DateType | undefined]; export interface UseTimeRangePickerValueProps { /** * The format pattern for the inputs (e.g., "HH:mm:ss") */ format: string; /** * Change handler called when value changes */ onChange?: (value?: TimeRangePickerValue) => void; /** * Controlled value */ value?: TimeRangePickerValue; } export declare function useTimeRangePickerValue({ format, onChange: onChangeProp, value: valueProp, }: UseTimeRangePickerValueProps): { focusedInput: "from" | "to" | null; inputFromValue: string; inputToValue: string; onChange: (target?: TimeRangePickerValue) => TimeRangePickerValue | undefined; onClear: () => void; onFromFocus: () => void; onInputFromChange: (formattedValue: string | undefined) => void; onInputToChange: (formattedValue: string | undefined) => void; onPanelChange: (newTime: DateType | undefined) => void; onPanelCancel: () => void; onPanelConfirm: () => void; onToFocus: () => void; panelValue: string | undefined; value: TimeRangePickerValue; };