/** * @license EUPL-1.2+ * Copyright Gemeente Amsterdam */ import type { KeyboardEvent, RefObject } from 'react'; import type { DatePickerProps } from './DatePicker'; export type DatePickerBodyProps = { /** The `id` of the month caption that gives the grid its accessible name. */ readonly captionId: string; /** The date that currently holds the roving tab stop. */ readonly focusedDate: Date; /** Captures the focused day’s button so focus can follow keyboard navigation. */ readonly focusedDayRef: RefObject; /** Returns the label appended to a date’s accessible name, e.g. for the start or end of a range. */ readonly getBoundaryLabel: (date: Date) => string | undefined; /** Whether a date cannot be selected. */ readonly isDayDisabled: (date: Date) => boolean; /** Whether a date is part of the current selection. */ readonly isDaySelected: (date: Date) => boolean; /** The month to display. */ readonly month: Date; /** Whether more than one date can be selected, as in range mode. */ readonly multiselectable?: boolean; /** Handles keyboard navigation within the grid. */ readonly onKeyDown: (event: KeyboardEvent) => void; /** Selects a date. */ readonly onSelectDate: (date: Date) => void; } & Pick; export declare const DatePickerBody: { ({ captionId, focusedDate, focusedDayRef, getBoundaryLabel, isDayDisabled, isDaySelected, locale, month, multiselectable, onKeyDown, onSelectDate, }: DatePickerBodyProps): import("react").JSX.Element; displayName: string; };