import { UsePickerParams, BasePickerProps, PickersPopperSlotsComponent, PickersPopperSlotsComponentsProps, ExportedBaseToolbarProps, UsePickerViewsProps, UncapitalizeObjectKeys, BaseNonStaticPickerProps, UsePickerValueNonStaticProps, UsePickerViewsNonStaticProps } from '@mui/x-date-pickers/internals'; import { DateOrTimeViewWithMeridiem } from '@mui/x-date-pickers/internals/models'; import { ExportedPickersLayoutSlotsComponent, ExportedPickersLayoutSlotsComponentsProps } from '@mui/x-date-pickers/PickersLayout'; import { DateRange, RangeFieldSection, BaseRangeNonStaticPickerProps } from '../../models'; import { UseRangePositionProps, UseRangePositionResponse } from '../useRangePosition'; import { RangePickerFieldSlotsComponent, RangePickerFieldSlotsComponentsProps } from '../useEnrichedRangePickerFieldProps'; export interface UseDesktopRangePickerSlotsComponent extends PickersPopperSlotsComponent, ExportedPickersLayoutSlotsComponent, TDate, TView>, RangePickerFieldSlotsComponent { } export interface UseDesktopRangePickerSlotsComponentsProps extends PickersPopperSlotsComponentsProps, ExportedPickersLayoutSlotsComponentsProps, TDate, TView>, RangePickerFieldSlotsComponentsProps { toolbar?: ExportedBaseToolbarProps; } export interface DesktopRangeOnlyPickerProps extends BaseNonStaticPickerProps, UsePickerValueNonStaticProps, UsePickerViewsNonStaticProps, BaseRangeNonStaticPickerProps, UseRangePositionProps { /** * If `true`, the start `input` element is focused during the first mount. */ autoFocus?: boolean; } export interface UseDesktopRangePickerProps> extends DesktopRangeOnlyPickerProps, BasePickerProps, TDate, TView, TError, TExternalProps, DesktopRangePickerAdditionalViewProps> { /** * Overridable component slots. * @default {} */ slots: UncapitalizeObjectKeys>; /** * The props used for each component slot. * @default {} */ slotProps?: UseDesktopRangePickerSlotsComponentsProps; } export interface DesktopRangePickerAdditionalViewProps extends Pick { } export interface UseDesktopRangePickerParams> extends Pick, TDate, TView, RangeFieldSection, TExternalProps, DesktopRangePickerAdditionalViewProps>, 'valueManager' | 'valueType' | 'validator'> { props: TExternalProps; }