import { TextFieldProps } from '@availity/mui-textfield';
import { DatePickerProps } from '@mui/x-date-pickers/DatePicker';
import { Dayjs } from 'dayjs';

type DatepickerProps = {
    value?: Dayjs | null | undefined;
    /** Props applied to the `TextField` component */
    FieldProps?: TextFieldProps;
    /** Determines where the Calendar will be placed when opened.
     * @default bottom-start
     */
    placement?: 'bottom-start' | 'bottom' | 'bottom-end';
    /** Determines if the clear button appears in the action bar */
    clearable?: boolean;
} & Omit<DatePickerProps<Dayjs, false>, 'components' | 'componentsProps' | 'desktopModeMediaQuery' | 'DialogProps' | 'OpenPickerButtonProps' | 'openTo' | 'orientation' | 'PaperProps' | 'PopperProps' | 'reduceAnimations' | 'renderInput' | 'rifmFormatter' | 'showToolbar' | 'slots' | 'slotProps' | 'ToolbarComponent' | 'toolbarFormat' | 'toolbarPlaceholder' | 'toolbarTitle' | 'TransitionComponent' | 'value'>;
declare const Datepicker: ({ FieldProps, placement, clearable, ...props }: DatepickerProps) => JSX.Element;

export { Datepicker, type DatepickerProps };
