import { HTMLAttributes } from "react"; import { AriaButtonProps } from "@react-types/button"; import { CalendarProps, DateValue } from "@react-types/calendar"; import { CalendarBaseState } from "./calendar-base-state"; export declare function useCalendarState({ state, ...props }: CalendarStateProps): CalendarState; export declare type CalendarState = { /** Props for the calendar grouping element. */ calendarProps: HTMLAttributes; /** Props for the next button. */ nextButtonProps: AriaButtonProps; /** Props for the previous button. */ prevButtonProps: AriaButtonProps; /** A description of the visible date range, for use in the calendar title. */ title: string; }; export declare type CalendarStateProps = CalendarProps & { /** * Object returned by the `useSliderState` hook. */ state: CalendarBaseState; };