import type { Ref, RefObject } from 'react';
export interface ChangeEvent {
    target: {
        value: Date | (Date | null)[] | null;
    };
}
export interface DatePickerProps {
    clearRef?: Ref<HTMLButtonElement>;
    condensed?: boolean;
    initialDate?: [Date, Date] | Date | null;
    inputRef?: RefObject<HTMLInputElement>;
    inputValueRef?: RefObject<string>;
    mode?: Modes;
    onChange?: (event: ChangeEvent) => void;
    open?: boolean;
}
export declare enum Modes {
    Day = 0,
    Week = 1,
    Range = 2
}
declare function DatePicker({ clearRef, condensed, initialDate, inputRef, inputValueRef, mode, onChange, open, }: DatePickerProps): JSX.Element;
export default DatePicker;
