import { t as ModuleTheme } from "../module-theme-hGWXgqv4.cjs"; import { t as AnyCalendarValue } from "../public-value-51W5Yni3.cjs"; import { ReactNode } from "react"; //#region src/modules/info/CalendarInfo.d.ts type CalendarInfoRangeStyle = "days" | "duration"; type CalendarInfoAlign = "left" | "center" | "right"; /** Custom summary renderer. Receives the v3 PUBLIC value — the exact shape the * root `onChange` emits for the configured `unit × mode` (v2 passed its own * ad-hoc shape; unified in v3 — intentional break, covered by migration docs). */ type CalendarInfoFormatter = (value: AnyCalendarValue) => ReactNode; type CalendarInfoProps = { /** Show the clear (×) action when something is selected. */ allowClear?: boolean; /** Show the "jump to current month" action. */ showHome?: boolean; /** Placeholder content while nothing is selected. */ emptyLabel?: ReactNode; /** Custom summary renderer (overrides the built-in text). */ formatter?: CalendarInfoFormatter; /** Relative line under the summary: "in 5 days" / "yesterday" (Intl). */ showRelative?: boolean; /** Range summary: whole days (default) or days+hours+minutes duration. */ rangeStyle?: CalendarInfoRangeStyle; /** Toggle the built-in summary text (actions stay). Default true. */ showSummary?: boolean; /** Horizontal alignment of the text block. Default "left". */ align?: CalendarInfoAlign; /** Node rendered before the summary text (icon, label). */ prefix?: ReactNode; /** Override for the clear action aria-label (registry key `clear`). */ clearLabel?: string; /** Override for the home action aria-label (registry key `home`). */ homeLabel?: string; /** * Per-module theme override: a built-in family name (`data-theme`) or a * `createTheme` token object (inline `--c-*` vars on the container). */ theme?: ModuleTheme; /** Per-module scheme override (`data-scheme` on the module container). */ scheme?: "light" | "dark" | "auto"; col?: number | string; className?: string; }; declare function CalendarInfo({ allowClear, showHome, emptyLabel, formatter, showRelative, rangeStyle, showSummary, align, prefix, clearLabel, homeLabel, theme, scheme, col, className }: CalendarInfoProps): import("react/jsx-runtime").JSX.Element | null; //#endregion export { CalendarInfo, type CalendarInfoAlign, type CalendarInfoFormatter, type CalendarInfoProps, type CalendarInfoRangeStyle };