import { TextField } from "@mui/material"; import React from "react"; import { DatePicker } from "@mui/x-date-pickers"; type CustomFieldProps = Omit, "onChange" | "value" | "InputProps">; export type EtDateFieldProps = Pick, "disablePast" | "disableFuture"> & { minDate?: Date; maxDate?: Date; }; type EtDatePickerProps = { onClick?: () => void; isRange?: boolean; value?: Date | null | [Date | null, Date | null]; onChange?: (date: Date | null | [Date | null, Date | null]) => void; } & CustomFieldProps & EtDateFieldProps; declare const EtDatePicker: React.FC; export default EtDatePicker;