import { default as React } from 'react';
type ViewMode = "days" | "months" | "years";
type DateRange = {
    start: Date | null;
    end: Date | null;
};
type DatePickerProps = {
    mode?: "single" | "range";
    selectedDate?: Date | null;
    selectedRange?: DateRange;
    onDateChange?: (date: Date | null) => void;
    onRangeChange?: (range: DateRange) => void;
    minDate?: Date;
    maxDate?: Date;
    locale?: string;
    weekDays?: string[];
    monthNames?: string[];
    startOfWeek?: 0 | 1 | 2 | 3 | 4 | 5 | 6;
    className?: string;
    headerClassName?: string;
    dayClassName?: string | ((day: Date, state: {
        isSelected: boolean;
        isInRange: boolean;
        isStart: boolean;
        isEnd: boolean;
        isDisabled: boolean;
        isToday: boolean;
    }) => string);
    monthClassName?: string | ((month: number) => string);
    yearClassName?: string | ((year: number) => string);
    disabledDayClassName?: string;
    rangeClassName?: string;
    rangeStartClassName?: string;
    rangeEndClassName?: string;
    todayClassName?: string;
    showWeekNumbers?: boolean;
    yearRange?: number;
    initialViewMode?: ViewMode;
    closeOnSelect?: boolean;
    autoCloseRange?: boolean;
    renderHeader?: (props: {
        currentDate: Date;
        viewMode: ViewMode;
        toggleViewMode: () => void;
        navigate: (direction: "prev" | "next") => void;
    }) => React.ReactNode;
    renderDay?: (props: {
        day: number;
        date: Date;
        isSelected: boolean;
        isInRange: boolean;
        isStart: boolean;
        isEnd: boolean;
        isDisabled: boolean;
        isToday: boolean;
    }) => React.ReactNode;
};
declare const DatePicker: ({ mode, selectedDate: externalSelectedDate, selectedRange: externalSelectedRange, onDateChange, onRangeChange, minDate, maxDate, locale, weekDays, monthNames, startOfWeek, className, headerClassName, dayClassName, monthClassName, yearClassName, disabledDayClassName, rangeClassName, rangeStartClassName, rangeEndClassName, todayClassName, showWeekNumbers, yearRange, initialViewMode, closeOnSelect, autoCloseRange, renderHeader, renderDay, }: DatePickerProps) => import("react/jsx-runtime").JSX.Element;
export default DatePicker;
//# sourceMappingURL=OldDatepicker.d.ts.map