import "./time_grid_view.css"; import type * as React from "react"; import { useRender } from "@base-ui/react/use-render"; import { type StyleProps } from "../style_props"; /** * The hour window a grid actually draws. * * `dayStartMinutes`/`dayEndMinutes` are a VIEWPORT, never a filter: a calendar * that quietly refuses to draw a 06:00 delivery because the working day was * declared as 08:00–18:00 is a calendar that lies. The configured window is the * floor; anything earlier or later widens it to fit. */ export declare function gridWindow(events: { start: Date; end?: Date | null; }[], dayStartMinutes: number, dayEndMinutes: number): { startMinutes: number; endMinutes: number; }; export interface TimeGridProps extends StyleProps { mode: "week" | "day"; testID?: string; ref?: React.Ref; render?: useRender.RenderProp; } export declare function CalendarTimeGrid(props: TimeGridProps): React.ReactElement>; export declare function CalendarWeek(props: Omit): React.JSX.Element; export declare function CalendarDay(props: Omit): React.JSX.Element;