import * as React from 'react'; import type { GridRowType, GridCellCoordinates } from "../../models/calendarGrid.js"; export interface CalendarGridRootContext { /** * The id of the grid (used for accessibility purposes). */ id: string | undefined; /** * The coordinates of the cell that currently has keyboard focus. * Controls which cell's interactive children (events) are in the Tab order. * `null` when no cell has been focused via keyboard yet. */ focusedCell: GridCellCoordinates | null; /** * Updates the focused cell coordinates. * The cell matching these coordinates will receive `tabIndex={0}` and DOM focus. */ setFocusedCell: (coordinates: GridCellCoordinates) => void; /** * The ordered list of row types that are rendered in the grid. * Used for vertical arrow-key navigation so it only targets rows that actually exist. */ rowTypes: GridRowType[]; /** * The number of rows for each row type. * Defaults to 1 for row types not specified. * Month view uses this to indicate multiple week rows (e.g., `{ 'day-grid': 5 }`). */ rowsPerType: Partial>; } export declare const CalendarGridRootContext: React.Context; export declare function useCalendarGridRootContext(): CalendarGridRootContext;