import * as React from 'react';
import { BoxProps } from 'rebass';
import { DatepickerButton } from '../../AdaptableOptions/DateInputOptions';
import { Locale } from 'date-fns';
export type DatepickerProps = Omit<BoxProps, 'value' | 'onChange' | 'defaultValue'> & {
    value: Date | undefined;
    defaultValue?: Date | undefined;
    autoFocus?: boolean;
    onChange: (value: Date | undefined) => void;
    onHide?: VoidFunction;
    showClearButton?: boolean;
    datepickerButtons?: DatepickerButton[];
    dateProps: {
        format: string;
        locale?: Locale;
    };
    showWeekNumber?: boolean;
    showOutsideDays?: boolean;
};
export declare const Datepicker: React.ForwardRefExoticComponent<Omit<DatepickerProps, "ref"> & React.RefAttributes<HTMLInputElement>>;
