import { type ComponentProps, type ReactNode } from 'react'; import { type DayState, type ButtonProps } from './calendar-context.js'; /** * Several months: repeats `children` for each month on show (its `MonthTitle`, `Grid` …), which then stand in that * month. With one month it renders `children` once. */ export declare function Months({ children }: Readonly<{ children: (month: Date) => ReactNode; }>): import("react").JSX.Element[]; /** * A month's name over its grid when several show, with its year when that differs from the first one's (shown in the * header); hidden from assistive tech (the grid is named after its month). Children replace the text. */ export declare function MonthTitle({ children, ...rest }: Readonly>): import("react").JSX.Element; /** * The month as a `` named by `Heading` (several months: after its month and year): the keys move * the tab stop (←/→ swap right-to-left), Enter / Space pick. */ export declare function Grid({ ref, ...props }: Readonly, 'role'>>): import("react").JSX.Element; /** The weekday headings: a `` with one row; `children` renders each weekday (a `HeaderCell`); with `showWeekNumbers` a `` with a row per week; `children` renders each day (a `Cell`); with `showWeekNumbers` each row starts with its ISO week number (of its first day, as Cally). */ export declare function GridBody({ children, ...rest }: Readonly, 'children'> & { children: (date: Date) => ReactNode; }>): import("react").JSX.Element; /** Where the day of the enclosing `Cell` stands (to style its `Day`). */ export declare function useCellContext(): DayState; /** A day's `
` comes first. */ export declare function GridHeader({ children, ...rest }: Readonly, 'children'> & { children: (date: Date) => ReactNode; }>): import("react").JSX.Element; /** A weekday heading: the short name, the full one as `abbr`; children replace the short name. */ export declare function HeaderCell({ date, children, ...rest }: Readonly & { date: Date; }>): import("react").JSX.Element; /** The six weeks: a `
` (`aria-selected`); its `Day` goes inside. Another month's day is an empty cell, unless `showOutsideDays` (one month). */ export declare function Cell({ date, children, ...rest }: Readonly & { date: Date; }>): import("react").JSX.Element; /** The day's button (its number unless children say otherwise): a click takes the tab stop and picks it. */ export declare function Day({ children, ...rest }: Readonly): import("react").JSX.Element; /** Picks today (off when today is refused). */ export declare function TodayButton(props: Readonly): import("react").JSX.Element;