import { t as Adapter } from "../../adapter.types-CDV9mYni.js"; import { t as Grid } from "../../grid.types-CRm-ZxMm.js"; import { t as Selection } from "../../selection.types-0TRo8T6S.js"; import { t as UseCalendar } from "../../use-calendar.types-DIi_jiEV.js"; import React from "react"; //#region src/react/use-calendar/use-calendar.libs.d.ts /** * Empty initial value for `useControllableState` per selection mode. * - `multi` / `multi-range` start as `[]` * - `single` / `range` start as `null` * * Hides the mode-discriminated cast in one place so callers stay clean. */ declare function emptySelectionValue(mode: M): Selection.CalendarValue; /** * Pick the initial focused date from a selection value, narrowing the * mode-discriminated `CalendarValue` to a concrete `TDate`. * Returns `null` if no date can be derived (multi/multi-range/empty). */ declare function initialFocusFromSelected(mode: M, selected: Selection.CalendarValue | undefined): TDate | null; declare function buildDayProps(day: Grid.ICalendarDay, focusedDate: TDate, adapter: Adapter.IDateAdapter, selectDate: (date: TDate, options?: { shiftKey?: boolean; }) => void, focusDate: (date: TDate) => void, onKeyDown: React.KeyboardEventHandler, locale?: string): UseCalendar.IDayProps; declare function buildGridProps(headerId: string, gridId: string): UseCalendar.IGridProps; declare function buildNavProps(direction: 'prev' | 'next', canGoPrevious: boolean, canGoNext: boolean, goToPrevious: () => void, goToNext: () => void, prevLabel?: string, nextLabel?: string): UseCalendar.INavProps; declare function buildHeaderProps(headerId: string): UseCalendar.IHeaderProps; //#endregion export { buildDayProps, buildGridProps, buildHeaderProps, buildNavProps, emptySelectionValue, initialFocusFromSelected };