import * as React from 'react'; import { BasePickerProps, UsePickerParams, ExportedBaseToolbarProps, StaticOnlyPickerProps, UncapitalizeObjectKeys } from '@mui/x-date-pickers/internals'; import { ExportedPickersLayoutSlotsComponent, ExportedPickersLayoutSlotsComponentsProps } from '@mui/x-date-pickers/PickersLayout'; import { DateOrTimeViewWithMeridiem } from '@mui/x-date-pickers/internals/models'; import { DateRange } from '../../models/range'; import { UseRangePositionProps } from '../useRangePosition'; import { RangeFieldSection } from '../../models/fields'; export interface UseStaticRangePickerSlotsComponent extends ExportedPickersLayoutSlotsComponent, TDate, TView> { } export interface UseStaticRangePickerSlotsComponentsProps extends ExportedPickersLayoutSlotsComponentsProps, TDate, TView> { toolbar?: ExportedBaseToolbarProps; } export interface StaticRangeOnlyPickerProps extends StaticOnlyPickerProps, UseRangePositionProps { } export interface UseStaticRangePickerProps> extends BasePickerProps, TDate, TView, TError, TExternalProps, {}>, StaticRangeOnlyPickerProps { /** * Overridable components. * @default {} */ slots?: UncapitalizeObjectKeys>; /** * The props used for each component slot. * @default {} */ slotProps?: UseStaticRangePickerSlotsComponentsProps; } export interface UseStaticRangePickerParams> extends Pick, TDate, TView, RangeFieldSection, TExternalProps, {}>, 'valueManager' | 'valueType' | 'validator'> { props: TExternalProps; /** * Ref to pass to the root element */ ref: React.Ref | undefined; }