import { UseDesktopPickerSlotsComponent, ExportedUseDesktopPickerSlotsComponentsProps, DesktopOnlyPickerProps } from '../internals/hooks/useDesktopPicker'; import { BaseTimePickerProps, BaseTimePickerSlotsComponent, BaseTimePickerSlotsComponentsProps } from '../TimePicker/shared'; import { MakeOptional } from '../internals/models/helpers'; import { TimeViewWithMeridiem } from '../internals/models'; import { UncapitalizeObjectKeys } from '../internals/utils/slots-migration'; import { DesktopOnlyTimePickerProps } from '../internals/models/props/clock'; import { DigitalClockSlotsComponent, DigitalClockSlotsComponentsProps } from '../DigitalClock'; import { MultiSectionDigitalClockSlotsComponent, MultiSectionDigitalClockSlotsComponentsProps } from '../MultiSectionDigitalClock'; import { TimeView } from '../models'; export interface DesktopTimePickerSlotsComponent extends BaseTimePickerSlotsComponent, MakeOptional, 'Field' | 'OpenPickerIcon'>, DigitalClockSlotsComponent, MultiSectionDigitalClockSlotsComponent { } export interface DesktopTimePickerSlotsComponentsProps extends BaseTimePickerSlotsComponentsProps, ExportedUseDesktopPickerSlotsComponentsProps, DigitalClockSlotsComponentsProps, MultiSectionDigitalClockSlotsComponentsProps { } export interface DesktopTimePickerProps extends BaseTimePickerProps, DesktopOnlyPickerProps, DesktopOnlyTimePickerProps { /** * Available views. */ views?: readonly TimeView[]; /** * Overridable components. * @default {} * @deprecated Please use `slots`. */ components?: DesktopTimePickerSlotsComponent; /** * The props used for each component slot. * @default {} * @deprecated Please use `slotProps`. */ componentsProps?: DesktopTimePickerSlotsComponentsProps; /** * Overridable component slots. * @default {} */ slots?: UncapitalizeObjectKeys>; /** * The props used for each component slot. * @default {} */ slotProps?: DesktopTimePickerSlotsComponentsProps; }