import { CalendarDate, DateDuration, DateValue } from '@internationalized/date'; export type CalendarView = 'days' | 'months' | 'years'; export interface CalendarViewImpl { broaderView?: CalendarView; narrowerView?: CalendarView; cellDuration: DateDuration; visibleDuration: DateDuration; getGridCells(args: { startDate: CalendarDate; focusedDate: CalendarDate; withFixedWeeks?: boolean; locale: string; }): Array[]; areSameCell(date1: DateValue, date2: DateValue): boolean; areSamePage?(date1: DateValue, date2: DateValue): boolean; /** * Given a date, returns the date corresponding to the start of the date duration this view * represents, if it's not the first cell in the grid of cells. * @param date */ getStartOfPage?(date: CalendarDate): CalendarDate; /** * Given a date, returns the date corresponding to the end of the date duration this view * represents, if it's not the last cell in the grid of cells. * @param date */ getEndOfPage?(date: CalendarDate): CalendarDate; } export declare const calendarViews: Record;