import { TimePickerProps } from './types/TimePicker.props.ts'; import { MemoExoticComponent } from 'react'; /** * A time picker that combines a native `type="time"` text field with a popover * listing hours and minutes. * * - Typing a valid `HH:mm` time updates the popover and calls `onChange`. * - Choosing an hour updates the input; choosing a minute also closes the popover. * - Incomplete typed values are kept in the input but do not update the selected * time until they become valid. * - Closing the popover returns focus to the input. * * @example * ```tsx * const [time, setTime] = useState() * * ``` */ declare const TimePicker: MemoExoticComponent<({ value, defaultValue, onChange, defaultPanelTime, minTime, maxTime, hourStep, minuteStep, showNowButton, clearable, nowLabel, clearLabel, id, disabled, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledBy, panelAriaLabel, hoursAriaLabel, minutesAriaLabel, triggerAriaLabel, onKeyDown, ...textFieldProps }: TimePickerProps) => import("react").JSX.Element>; export default TimePicker;