import { AUCalendarDateShape, DefaultValue, EventHandler, FormatAdapter } from './types'; type UseDatePickerProps = { onChange?: EventHandler; disabled?: boolean; value?: AUCalendarDateShape | null; defaultValue?: DefaultValue; format?: FormatAdapter; placeholder?: string; onBlur?: EventHandler; onFocus?: React.FocusEventHandler; minValue: AUCalendarDateShape; maxValue: AUCalendarDateShape; calendar?: boolean; }; export declare function useDatepicker({ value, defaultValue, onChange, disabled, format, placeholder, onBlur, minValue, maxValue, onFocus, calendar, }: UseDatePickerProps): { inputDate: string; handleInputChange: (e: React.ChangeEvent) => void; handleInputBlur: () => void; closeCalendar: () => void; isCalendarVisible: boolean; fmtPlaceholder: string; inputRef: import('react').RefObject; selectedDate: AUCalendarDateShape | null; setSelectedDate: import('react').Dispatch>; updateDateFromCalendar: (pickerDate: AUCalendarDateShape) => void; rootEl: import('react').RefObject; handleCalendarClick: () => void; handleInputFocus: (event: React.FocusEvent) => void; isMobileInputWithCalendar: boolean; }; export {};