import React from "react"; import { enUS } from "date-fns/locale"; import { Color } from "../../../lib/inputTypes"; export type Locale = typeof enUS; export type DateRangePickerValue = { from?: Date; to?: Date; selectValue?: string; }; export interface DateRangePickerProps extends Omit, "value" | "defaultValue"> { value?: DateRangePickerValue; defaultValue?: DateRangePickerValue; onValueChange?: (value: DateRangePickerValue) => void; enableSelect?: boolean; minDate?: Date; maxDate?: Date; placeholder?: string; selectPlaceholder?: string; disabled?: boolean; color?: Color; locale?: Locale; enableClear?: boolean; displayFormat?: string; enableYearNavigation?: boolean; weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6; disabledDates?: Date[]; children?: React.ReactElement[] | React.ReactElement; } declare const DateRangePicker: React.ForwardRefExoticComponent>; export default DateRangePicker;