import React from 'react'; import { BaseComponentProps } from '../../internal/base-component'; import { DatePickerProps } from '../interfaces'; import { CalendarTypes } from './definitions'; import { DateChangeHandlerNullable } from './grid'; export interface DateChangeHandler { (detail: CalendarTypes.DateDetail): void; } export interface MonthChangeHandler { (newMonth: Date): void; } export declare type DayIndex = 0 | 1 | 2 | 3 | 4 | 5 | 6; interface CalendarProps extends BaseComponentProps { locale: string; startOfWeek: DayIndex; selectedDate: Date | null; displayedDate: Date; focusedDate?: Date | null; isDateEnabled: DatePickerProps.IsDateEnabledFunction; calendarHasFocus: boolean; nextMonthLabel: string; previousMonthLabel: string; todayAriaLabel: string; onChangeMonth: MonthChangeHandler; onSelectDate: DateChangeHandler; onFocusDate: DateChangeHandlerNullable; } declare const Calendar: React.ForwardRefExoticComponent>; export default Calendar; //# sourceMappingURL=index.d.ts.map