import * as React from 'react'; import { BasePickerProps, UsePickerParams, ExportedBaseToolbarProps, StaticOnlyPickerProps, DateOrTimeViewWithMeridiem } from '../../../internals'; import { PickerValidDate } from '../../../models'; import { ExportedPickersLayoutSlots, ExportedPickersLayoutSlotProps } from '../../../PickersLayout'; import { RangeFieldSection, DateRange } from '../../../models'; import { UseRangePositionProps } from '../useRangePosition'; export interface UseStaticRangePickerSlots extends ExportedPickersLayoutSlots, TDate, TView> { } export interface UseStaticRangePickerSlotProps extends ExportedPickersLayoutSlotProps, TDate, TView> { toolbar?: ExportedBaseToolbarProps; } export interface StaticRangeOnlyPickerProps extends StaticOnlyPickerProps, UseRangePositionProps { } export interface UseStaticRangePickerProps> extends BasePickerProps, TDate, TView, TError, TExternalProps, {}>, StaticRangeOnlyPickerProps { /** * Overridable components. * @default {} */ slots?: UseStaticRangePickerSlots; /** * The props used for each component slot. * @default {} */ slotProps?: UseStaticRangePickerSlotProps; } 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; }