import type { MakeRequired } from '@mui/x-internals/types'; import { Validator } from '@mui/x-date-pickers/validation'; import { BaseDateValidationProps, PickerRangeValue } from '@mui/x-date-pickers/internals'; import { DayRangeValidationProps } from "../internals/models/dateRange.js"; import { DateRangeValidationError } from "../models/index.js"; /** * Validation props used by the Date Range Picker, Date Range Field and Date Range Calendar components. */ export interface ExportedValidateDateRangeProps extends DayRangeValidationProps, BaseDateValidationProps {} /** * Validation props as received by the validateDateRange method. */ export interface ValidateDateRangeProps extends MakeRequired {} /** * Name of the props that should be defaulted before being passed to the validateDateRange method. */ export type ValidateDateRangePropsToDefault = keyof BaseDateValidationProps; export declare const validateDateRange: Validator;