import { ComponentWithAs as _ } from '@chakra-ui/react'; import { CalendarBaseProps, DateRangeValue } from './CalendarBase'; export interface RangeCalendarProps extends CalendarBaseProps { /** * The current selected date range pair. * If provided, the input will be a controlled input, and `onChange` must be provided. */ value?: DateRangeValue; /** * Callback fired when the date changes. * If `value` is provided, this must be provided. */ onChange?: (value: DateRangeValue) => void; /** The default selected date, used if input is uncontrolled */ defaultValue?: DateRangeValue; /** * Callback fired when the currently viewed month changes. * @param {number} currMonth The new, 1st month being viewed. */ onMonthChange?: (currMonth: number) => void; /** * Callback fired when the currently viewed year changes. * @param {number} currYear The new, 1st year being viewed. */ onYearChange?: (currYear: number) => void; /** Whether to render a loading state. */ isLoading?: boolean; } export declare const RangeCalendar: _<"input", RangeCalendarProps>;