import { type DateFrameworkType, type SaltDateAdapter } from "@salt-ds/date-adapters"; import type { DateRangeSelection } from "../calendar"; import { type DateInputRangeDetails, type DateInputRangeProps } from "../date-input"; /** * Props for the DatePickerRangeInput component. * @template TDate - The type of the date object. */ export interface DatePickerRangeInputProps extends DateInputRangeProps { /** * Function to validate the entered date * @param date - The selected date * @param details - The details of date selection, either a valid date or error * @returns updated DateInputRangeDetails details */ validate?: (date: DateRangeSelection | null, details: DateInputRangeDetails) => DateInputRangeDetails; } export declare function defaultRangeValidator(dateAdapter: SaltDateAdapter, date: DateRangeSelection | null, details: DateInputRangeDetails, minDate?: TDate, maxDate?: TDate): DateInputRangeDetails; export declare const DatePickerRangeInput: import("react").ForwardRefExoticComponent & import("react").RefAttributes>;