import React from "react";
import type { DateFieldValue, WeekStartDayNumber } from "./types.js";
interface DatePickerFieldProps {
    value?: DateFieldValue;
    defaultValue?: DateFieldValue;
    onChange?: (e: React.ChangeEvent<HTMLInputElement>) => void;
    onBlur?: (e: React.FocusEvent<HTMLInputElement>) => void;
    disablePastDates?: boolean;
    disableFutureDates?: boolean;
    dateFormat?: string;
    weekStart?: string;
    autoClose?: boolean;
    minDate?: string;
    maxDate?: string;
}
export declare const useDatePickerField: ({ value, defaultValue, onChange, onBlur, disablePastDates, disableFutureDates, dateFormat, weekStart, autoClose, minDate, maxDate, }: DatePickerFieldProps) => {
    date: Date | undefined;
    inputValue: string | undefined;
    handleDateSelect: (date?: Date) => void;
    handleInputChange: (e: React.ChangeEvent<HTMLInputElement>) => void;
    isOpen: boolean;
    setIsOpen: React.Dispatch<React.SetStateAction<boolean>>;
    handleBlur: (e: React.FocusEvent<HTMLInputElement>) => void;
    disabledDates: {
        before: Date;
        after: Date;
    } | {
        before: Date;
        after?: undefined;
    } | {
        after: Date;
        before?: undefined;
    } | undefined;
    weekStartDay: WeekStartDayNumber;
    handleDayClick: () => void;
};
export {};
//# sourceMappingURL=use-date-picker.d.ts.map