import type { WithDataAttributes } from '@mui/utils/types'; import type { BasePickerProps, UsePickerParameters, ExportedBaseToolbarProps, StaticOnlyPickerProps, DateOrTimeViewWithMeridiem, PickerRangeValue } from '@mui/x-date-pickers/internals'; import type { ExportedPickersLayoutSlots, ExportedPickersLayoutSlotProps } from '@mui/x-date-pickers/PickersLayout'; import type { UseRangePositionProps } from "../useRangePosition.js"; import type { PickerRangeStep } from "../../utils/createRangePickerStepNavigation.js"; export interface UseStaticRangePickerSlots extends ExportedPickersLayoutSlots {} export interface UseStaticRangePickerSlotProps extends ExportedPickersLayoutSlotProps { toolbar?: WithDataAttributes; } export interface StaticRangeOnlyPickerProps extends StaticOnlyPickerProps, UseRangePositionProps {} export interface UseStaticRangePickerProps> extends BasePickerProps, StaticRangeOnlyPickerProps { /** * Overridable components. * @default {} */ slots?: UseStaticRangePickerSlots; /** * The props used for each component slot. * @default {} */ slotProps?: UseStaticRangePickerSlotProps; } export interface UseStaticRangePickerParams> extends Pick, 'manager' | 'ref'> { props: TExternalProps; /** * Steps available for the picker. * This will be used to define the behavior of navigation actions. * If null, the picker will not have any step navigation. */ steps: PickerRangeStep[] | null; }