import { default as IDatePickerProps } from '../IDatePickerProps';
/**
 * Custom hook to manage DatePicker (single mode) state and logic.
 * Supports both uncontrolled (internal state) and controlled (isOpen/onOpenChange) open modes.
 */
export default function useDatePicker({ value, onChange, disableDate, isOpen: controlledIsOpen, onOpenChange, closeOnSelect }: IDatePickerProps, dateFormat: string): {
    isOpen: boolean;
    setIsOpen: (next: boolean | ((prev: boolean) => boolean)) => void;
    inputValue: string;
    defaultMonth: Date;
    parsedInputDate: Date | null;
    handleCalendarChange: (date: Date | undefined) => void;
    handleInputChange: (value: string) => void;
    handleInputBlur: () => void;
    handleClear: () => void;
};
