import { DatePickerType, DateStringValue, PickerBaseProps } from '../../types'; interface UseDatesRangeInput extends PickerBaseProps { level: 'year' | 'month' | 'day'; type: Type; onMouseLeave?: (event: React.MouseEvent) => void; } export declare function useDatesState({ type, level, value, defaultValue, onChange, allowSingleDateInRange, allowDeselect, onMouseLeave, }: UseDatesRangeInput): { onDateChange: (date: DateStringValue) => void; onRootMouseLeave: ((event: React.MouseEvent) => void) | undefined; onHoveredDateChange: import("react").Dispatch>; getControlProps: (date: DateStringValue) => { selected: any; inRange: boolean; firstInRange: boolean; lastInRange: boolean; 'data-autofocus': true | undefined; } | { selected: any; 'data-autofocus': true | undefined; inRange?: undefined; firstInRange?: undefined; lastInRange?: undefined; }; _value: any; setValue: any; }; export {};