import { Theme } from '@mui/material/styles'; import { SxProps } from '@mui/system'; import { MakeOptional } from '@mui/x-internals/types'; import { UsePickerBaseProps } from "../../hooks/usePicker/index.js"; import { PickersInputComponentLocaleText } from "../../../locales/utils/pickersLocaleTextApi.js"; import type { UsePickerProps } from "../../hooks/usePicker/index.js"; import { DateOrTimeViewWithMeridiem } from "../common.js"; import { PickerValidValue } from "../value.js"; /** * Props common to all pickers after applying the default props on each Picker. */ export interface BasePickerProps> extends UsePickerBaseProps { className?: string; /** * The system prop that allows defining system overrides as well as additional CSS styles. */ sx?: SxProps; /** * Locale for components texts. * Allows overriding texts coming from `LocalizationProvider` and `theme`. */ localeText?: PickersInputComponentLocaleText; } /** * Props common to all pickers before applying the default props on each Picker. */ export interface BasePickerInputProps extends Omit, 'openTo' | 'views'>, 'viewRenderers'> {}