import "./calendar_toolbar.css"; import type * as React from "react"; import type { ReactNode } from "react"; import { useRender } from "@base-ui/react/use-render"; import { type StyleProps } from "../style_props"; /** * The toolbar's height when it does not wrap — what the root has to subtract * before asking whether the GRID still fits. It wraps only at widths that are * already compact, where the answer is the agenda either way. */ export declare const CALENDAR_TOOLBAR_HEIGHT = 57; export interface CalendarToolbarProps extends StyleProps { /** Extra controls, rendered after the view switch — filters, an add action. */ children?: ReactNode; testID?: string; ref?: React.Ref; render?: useRender.RenderProp; } /** * Prev / today / next, the range title, and the view switch. * * **Optional on purpose.** Mounting `CalendarView` with children means the app * supplies its own chrome, because a Lotics screen already has a header band and * a calendar that welds one on produces two stacked bands. The switch is the * kit's `ChoiceStrip` rather than three hand-rolled pills — a mutually * exclusive choice among a few peers is exactly what that control is. */ export declare function CalendarToolbar(props: CalendarToolbarProps): React.ReactElement>;