import { Granularity, Period, TimePickerType } from './time-utils'; import * as React from 'react'; interface TimePickerProps { date?: Date | null; onChange?: (date: Date | undefined) => void; hourCycle?: 12 | 24; /** * Determines the smallest unit that is displayed in the time picker. * Default is 'second'. */ granularity?: Granularity; className?: string; } interface TimePickerRef { minuteRef: HTMLInputElement | null; hourRef: HTMLInputElement | null; secondRef: HTMLInputElement | null; periodRef: HTMLButtonElement | null; } declare const TimePicker: React.ForwardRefExoticComponent>; interface TimePeriodSelectProps { period: Period; setPeriod?: (m: Period) => void; date?: Date | null; onDateChange?: (date: Date | undefined) => void; onRightFocus?: () => void; onLeftFocus?: () => void; className?: string; } declare const TimePeriodSelect: React.ForwardRefExoticComponent>; interface TimePickerInputProps extends React.InputHTMLAttributes { picker: TimePickerType; date?: Date | null; onDateChange?: (date: Date | undefined) => void; period?: Period; onRightFocus?: () => void; onLeftFocus?: () => void; } declare const TimePickerInput: React.ForwardRefExoticComponent>; export { TimePicker, TimePeriodSelect, TimePickerInput }; export type { TimePickerProps, TimePickerRef, TimePickerInputProps }; //# sourceMappingURL=time-picker.d.ts.map