import { RangeCalendarProps as AriaRangeCalendarProps, DateValue } from 'react-aria-components/RangeCalendar';
import { ContextValue } from 'react-aria-components/slots';
import { ReactNode } from 'react';
import { GlobalDOMAttributes } from '@react-types/shared';
import { StyleProps } from './style-utils';
export interface RangeCalendarProps<T extends DateValue> extends Omit<AriaRangeCalendarProps<T>, 'visibleDuration' | 'style' | 'className' | 'render' | 'children' | 'styles' | keyof GlobalDOMAttributes>, StyleProps {
    /**
     * The error message to display when the calendar is invalid.
     */
    errorMessage?: ReactNode;
    /**
     * The number of months to display at once.
     * @default 1
     */
    visibleMonths?: number;
}
export declare const RangeCalendarContext: import("react").Context<ContextValue<Partial<RangeCalendarProps<any>>, HTMLDivElement>>;
/**
 * RangeCalendars display a grid of days in one or more months and allow users to select a contiguous range of dates.
 */
export declare const RangeCalendar: <T extends DateValue>(props: RangeCalendarProps<T> & import("react").RefAttributes<HTMLDivElement>) => import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | null;
