import { HTMLAttributes, RefObject } from "react"; import { AriaButtonProps } from "@react-types/button"; import { DateValue, RangeCalendarProps } from "@react-types/calendar"; import { RangeCalendarBaseState } from "./range-calendar-base-state"; export declare function useRangeCalendarState({ state, ...props }: RangeCalendarStateProps): RangeCalendarState; export declare type RangeCalendarState = { /** 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; /** * Reference for the calendar wrapper element within the cell inside the table */ ref: RefObject; }; export declare type RangeCalendarStateProps = RangeCalendarProps & { /** * Object returned by the `useSliderState` hook. */ state: RangeCalendarBaseState; };