import type { DOMRenderProps } from "../../utils/dom"; import type { CalendarVariants } from "@heroui/styles"; import type { ComponentPropsWithRef, ReactNode } from "react"; import type { DateValue } from "react-aria-components/Calendar"; import React from "react"; import { Button as ButtonPrimitive } from "react-aria-components/Button"; import { CalendarCell as CalendarCellPrimitive, CalendarGridBody as CalendarGridBodyPrimitive, CalendarGridHeader as CalendarGridHeaderPrimitive, CalendarGrid as CalendarGridPrimitive, CalendarHeaderCell as CalendarHeaderCellPrimitive, Calendar as CalendarPrimitive, Heading as HeadingPrimitive } from "react-aria-components/Calendar"; interface CalendarRootProps extends ComponentPropsWithRef>, CalendarVariants { isYearPickerOpen?: boolean; onYearPickerOpenChange?: (isYearPickerOpen: boolean) => void; defaultYearPickerOpen?: boolean; } declare function CalendarRoot({ children, className, defaultYearPickerOpen: defaultYearPickerOpenProp, isYearPickerOpen: isYearPickerOpenProp, maxValue: maxValueProp, minValue: minValueProp, onYearPickerOpenChange: onYearPickerOpenChangeProp, ...rest }: CalendarRootProps): import("react/jsx-runtime").JSX.Element; declare namespace CalendarRoot { var displayName: string; } interface CalendarHeaderProps extends DOMRenderProps { children?: ReactNode; className?: string; } declare const CalendarHeader: { ({ children, className, ...props }: CalendarHeaderProps & Omit>): import("react/jsx-runtime").JSX.Element; displayName: string; }; interface CalendarHeadingProps extends ComponentPropsWithRef { } declare const CalendarHeading: { ({ className, ...props }: CalendarHeadingProps): import("react/jsx-runtime").JSX.Element; displayName: string; }; interface CalendarNavButtonProps extends ComponentPropsWithRef { slot?: "previous" | "next"; } declare const CalendarNavButton: { ({ children, className, slot, ...props }: CalendarNavButtonProps): import("react/jsx-runtime").JSX.Element; displayName: string; }; interface CalendarGridProps extends ComponentPropsWithRef { } declare const CalendarGrid: { ({ children, className, weekdayStyle, ...props }: CalendarGridProps): import("react/jsx-runtime").JSX.Element; displayName: string; }; interface CalendarGridHeaderProps extends ComponentPropsWithRef { } declare const CalendarGridHeader: { ({ className, ...props }: CalendarGridHeaderProps): import("react/jsx-runtime").JSX.Element; displayName: string; }; interface CalendarGridBodyProps extends ComponentPropsWithRef { } declare const CalendarGridBody: { ({ className, ...props }: CalendarGridBodyProps): import("react/jsx-runtime").JSX.Element; displayName: string; }; interface CalendarHeaderCellProps extends ComponentPropsWithRef { } declare const CalendarHeaderCell: { ({ className, ...props }: CalendarHeaderCellProps): import("react/jsx-runtime").JSX.Element; displayName: string; }; interface CalendarCellProps extends ComponentPropsWithRef { } declare const CalendarCell: { ({ children, className, ...props }: CalendarCellProps): import("react/jsx-runtime").JSX.Element; displayName: string; }; interface CalendarCellIndicatorProps extends DOMRenderProps { children?: ReactNode; className?: string; } declare const CalendarCellIndicator: { ({ className, ...props }: CalendarCellIndicatorProps & Omit>): import("react/jsx-runtime").JSX.Element; displayName: string; }; export { CalendarRoot, CalendarHeader, CalendarHeading, CalendarNavButton, CalendarGrid, CalendarGridHeader, CalendarGridBody, CalendarHeaderCell, CalendarCell, CalendarCellIndicator, }; export type { CalendarRootProps, CalendarHeaderProps, CalendarHeadingProps, CalendarNavButtonProps, CalendarGridProps, CalendarGridHeaderProps, CalendarGridBodyProps, CalendarHeaderCellProps, CalendarCellProps, CalendarCellIndicatorProps, };