import { CalendarDate } from '@internationalized/date'; import { AUCalendarDateShape } from '../types'; type UseCalendarProps = { minValue: AUCalendarDateShape; maxValue: AUCalendarDateShape; value?: AUCalendarDateShape | null; isVisible: boolean; onClose: () => void; onChange: (date: AUCalendarDateShape) => void; }; export declare function useCalendar({ onChange, onClose, minValue, maxValue, value, isVisible, }: UseCalendarProps): { actionChange: () => void; calendarChange: (date: CalendarDate) => void; fmtWeekday: (day: string) => string; usedMaxValue: CalendarDate; usedMinValue: CalendarDate; rootEl: import('react').RefObject; calendarInternalState: CalendarDate | undefined; enteredAnimation: boolean; delayedIsVisible: boolean; }; export {};