import React from "react"; import { enUS } from "date-fns/locale"; import { Color } from "../../../lib/inputTypes"; export type Locale = typeof enUS; export type DateRangePickerValue = [(Date | null)?, (Date | null)?, (string | null)?]; export type DateRangePickerOption = { value: string; text: string; startDate: Date; endDate?: Date; }; export interface DateRangePickerProps extends Omit, "value" | "defaultValue"> { value?: DateRangePickerValue; defaultValue?: DateRangePickerValue; onValueChange?: (value: DateRangePickerValue) => void; enableDropdown?: boolean; options?: DateRangePickerOption[]; minDate?: Date | null; maxDate?: Date | null; placeholder?: string; dropdownPlaceholder?: string; enableYearPagination?: boolean; color?: Color; locale?: Locale; } declare const DateRangePicker: React.ForwardRefExoticComponent>; export default DateRangePicker;