import { type MutableRefObject } from 'react'; import type { CalendarProps, CalendarStrictValueType, CalendarType } from '../Calendar.js'; import type { CalendarReducerAction, CalendarState } from '../types/shared-types.js'; /** @internal */ export type UseCalendarProps = Pick, 'max' | 'min' | 'onChange' | 'type' | 'precision'> & { value: CalendarStrictValueType; calendarRef: MutableRefObject; }; /** * Calendar hook to initialize the calendar state and update it to prop changes. * @internal */ export declare function useCalendar({ calendarRef, value, onChange, type, min, max, precision, }: UseCalendarProps): { state: CalendarState; dispatch: import("react").Dispatch; uniqueId: string; };