import { DateRange } from 'react-day-picker'; import { default as IDateRangePickerProps } from '../IDateRangePickerProps'; /** * Custom hook to manage DateRangePicker state and logic. * Manages two input modes: * - Combined trigger input ("01/12/2025 - 08/12/2025") — always active * - Individual from/to inline inputs inside the dropdown — active when hasInput=true */ export declare const useDateRangePicker: (props: IDateRangePickerProps, dateFormat: string) => { isOpen: boolean; setIsOpen: (next: boolean | ((prev: boolean) => boolean)) => void; selectedPreset: number | null; inputValue: string; defaultMonth: Date; parsedFromDate: Date | null; parsedToDate: Date | null; fromInputValue: string; toInputValue: string; parsedFromDateInput: Date | null; parsedToDateInput: Date | null; handlePresetClick: (index: number, presets?: Array<{ label: string; getValue?: () => DateRange; }>) => void; handleCalendarChange: (date: DateRange | undefined, triggerDate: Date) => void; handleInputChange: (value: string) => void; handleInputBlur: () => void; handleInputFocus: () => void; handleFromInputChange: (value: string) => void; handleToInputChange: (value: string) => void; handleFromInputBlur: () => void; handleToInputBlur: () => void; handleClear: () => void; handleApply: () => void; handleResetToPropValue: () => void; };