import { TrackByFunction } from '@angular/core'; import { CalendarDate } from '@internationalized/date'; import { CalendarView } from './calendar-view'; import { CalendarBase } from './calendar-base'; import * as i0 from "@angular/core"; /** * Implements the accessibility and behavior of a calendar grid. * Similar to something like cdkCalendarGrid if it existed, which would in turn be similar to * useCalendarGrid from @react-aria/calendar * @internal */ export declare class CalendarGridDirective { calendar: CalendarBase; get cells(): Array[]; get viewImpl(): import("./calendar-view").CalendarViewImpl; view: CalendarView; startDate: CalendarDate; shouldShowWeekNumber(date: CalendarDate | null): date is CalendarDate; readonly rowTrackBy: TrackByFunction; readonly cellTrackBy: TrackByFunction; constructor(calendar: CalendarBase); /** Moves focus to the previous row of dates, e.g. the previous work. */ focusPreviousRow(event?: KeyboardEvent): void; /** Moves focus to the next row of dates, e.g. the next week. */ focusNextRow(event?: KeyboardEvent): void; /** Moves focus to the previous calendar date. */ focusPreviousCell(event?: KeyboardEvent): void; /** Moves focus to the next calendar date. */ focusNextCell(event?: KeyboardEvent): void; /** * Moves focus to the previous section of dates based on what is currently displayed. * For example, if days (of a month) are displayed, then focus moves to the previous month. */ focusPreviousSection(event: KeyboardEvent): void; /** * Moves focus to the next section of dates based on what is currently displayed. * For example, if days (of a month) are displayed, then focus moves to the next month. */ focusNextSection(event: KeyboardEvent): void; /** * Moves focus to the previous larger unit than the one displayed. * For example, if days are displayed, then focus moves to the previous year, not previous month. */ focusPreviousLargerSection(event: KeyboardEvent): void; /** * Moves focus to the next larger unit than the one displayed. * For example, if days are displayed, then focus moves to the next year, not next month. */ focusNextLargerSection(event: KeyboardEvent): void; focusSectionStart(event?: KeyboardEvent): void; focusSectionEnd(event?: KeyboardEvent): void; selectByKeyboard(event?: KeyboardEvent): void; private change; private getAllCells; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; }