import * as React from "react"; import { ThemeResult } from "../../.."; import { StylesConfig } from "react-select"; export interface DropdownOptions { label: string; value: DropdownOptionValue; } export interface DateRanges { startDate: string; endDate: string; } type DropdownOptionValue = "lastHour" | "lastDay" | "last5Days" | "last7Days" | "last30Days" | "last90Days" | "thisWeek" | "lastWeek" | "thisMonth" | "lastMonth" | "thisYear" | "allTime" | "custom"; type CalendarPosition = "bottom" | "right"; export interface Props { id?: string; theme: ThemeResult; className?: string; style?: React.CSSProperties; disabled?: boolean; checked?: boolean; name?: string; children?: any; labelStyle?: React.CSSProperties; label?: string; format?: string; startDate: string; setStartDate: (startDate: string) => void; endDate: string; setEndDate: (endDate: string) => void; startLabel?: string; endLabel?: string; dropdownLabel?: string; dropdownLabelStyle?: React.CSSProperties; datePickerStyle?: React.CSSProperties; defaultValue?: DropdownOptionValue; closeOnDateSelection?: boolean; optionsToDisplay?: DropdownOptionValue[]; value: DropdownOptions | undefined; setValue: (value: DropdownOptions) => void; minDropdownHeight?: number; maxDropdownHeight?: number; calendarPosition?: CalendarPosition; calendarMenuStyle?: React.CSSProperties; dateFieldStyle?: React.CSSProperties; styledFieldHeight?: string; dropdownStyles?: StylesConfig | {}; locale?: string; } declare const _default: React.FunctionComponent>; export default _default;