import React from 'react'; import { SpectrumDateRangePickerProps } from '../calendar/types'; import { DateValue } from '../internationalized/date'; import { CustomShortcutsProps } from '../range-calendar/range-calendar-shortcuts'; import { CSS } from '../utils/objectToCss'; interface Props extends SpectrumDateRangePickerProps { css?: CSS; children?: React.ReactNode; label?: string | React.ReactNode; isInvalid?: boolean; startDateLabel?: string | React.ReactNode; endDateLabel?: string | React.ReactNode; shouldCloseOnSelect?: boolean; isMobile?: boolean; calendarCSS?: CSS; helperText?: React.ReactNode; maxValue?: DateValue | null | undefined; hasShortcuts?: boolean; ctaButtonRender?: React.ReactNode; visibleMonths?: 1 | 2; shouldOnChangeTriggerOnSameDate?: boolean; onSearchButtonClick?: (e: React.MouseEvent | React.TouchEvent) => void; customShortcuts?: CustomShortcutsProps; } export type DateRangePickerProps = Props & Omit, keyof Props>; declare const DateRangePicker: React.ForwardRefExoticComponent, keyof Props> & React.RefAttributes>; export default DateRangePicker;