import { DateType, CalendarMode } from '@mezzanine-ui/core/calendar'; import { RangeCalendarProps } from '../Calendar'; import { InputTriggerPopperProps } from '../_internal/InputTriggerPopper'; export interface DateRangePickerCalendarProps extends Pick, Pick { /** * Use this prop to switch calendars. * @default 'day' */ mode?: CalendarMode; /** * Click handler for every cell on calendars. * When completing a range (second click), returns normalized [start, end]. * When starting a new range (first click), returns the clicked date. */ onChange?: (value: [DateType, DateType | undefined]) => void; /** * Other props you may provide to `Popper` component */ popperProps?: Omit; /** * Callback fired when the mouse leaves the calendar panel. * Useful for clearing hover preview state. */ onLeave?: () => void; /** * The reference date for getting the calendar. */ referenceDate: DateType; } /** * The react component for `mezzanine` date range picker calendar. * This is a wrapper around RangeCalendar with InputTriggerPopper for popup behavior. */ declare const DateRangePickerCalendar: import("react").ForwardRefExoticComponent>; export default DateRangePickerCalendar;