import * as React from 'react'; import type { DateFieldLikeProps, DateValue } from './shared.js'; import type { ChangeDetails } from '../contracts/components.js'; export interface CalendarLabels { previous?: string | undefined; next?: string | undefined; /** Week-number column header (visually hidden) and rowheader prefix. */ week?: string | undefined; } export interface CalendarProps extends DateFieldLikeProps { /** Shows ISO week numbers. */ showWeekNumbers?: boolean | undefined; /** Class name merged onto the root element. */ className?: string | undefined; /** Overrides for the built-in, localizable UI strings. */ labels?: CalendarLabels | undefined; } export declare function Calendar(props: CalendarProps & { /** Accessible name, required when there is no visible label. */ 'aria-label'?: string | undefined; }): React.JSX.Element; export interface RangeCalendarProps extends Omit { /** Controlled value. Pair with `onValueChange`. */ value?: { start: DateValue; end: DateValue; } | null | undefined; /** Initial value when uncontrolled. */ defaultValue?: { start: DateValue; end: DateValue; } | undefined; /** Called with the new value whenever it changes. */ onValueChange?: ((v: { start: DateValue; end: DateValue; } | null, details: ChangeDetails) => void) | undefined; /** Number of months shown side by side. */ visibleMonths?: 1 | 2 | undefined; } export interface RangeCalendarImplProps extends RangeCalendarProps { 'aria-label'?: string | undefined; /** Ignore an enclosing RAC DateRangePicker's context (draft-commit mode). */ standalone?: boolean | undefined; autoFocus?: boolean | undefined; } /** @internal DateRangePicker renders the draft calendar standalone. */ export declare function RangeCalendarImpl({ value, defaultValue, onValueChange, visibleMonths, showWeekNumbers, locale, dir, size, className, labels, standalone, autoFocus, 'aria-label': ariaLabel, ...rest }: RangeCalendarImplProps): React.JSX.Element; export declare function RangeCalendar(props: RangeCalendarProps & { /** Accessible name, required when there is no visible label. */ 'aria-label'?: string | undefined; }): React.JSX.Element; //# sourceMappingURL=Calendar.d.ts.map