import type { CalendarProps, CalendarStrictValueType } from '../Calendar.types.js'; import { type CalendarType } from '../types/calendarConfiguration.js'; /** @internal */ export type UseCalendarProps = Pick, 'onChange' | 'type' | 'precision'> & { value: CalendarStrictValueType; }; /** * Calendar hook to initialize the calendar state and update it to prop changes. * @internal */ export declare function useCalendar({ type, }: UseCalendarProps): { state: { currentView: import("../types/shared-types.js").CalendarViewType; shouldUpdateFocusFromKeydown: boolean | null; type: CalendarType; position?: "from" | "to"; activeDate: import("@date-fns/tz").TZDate; today: import("@date-fns/tz").TZDate; }; dispatch: import("react").ActionDispatch<[action: import("../types/shared-types.js").CalendarReducerAction]>; uniqueId: string; }; //# sourceMappingURL=useCalendar.d.ts.map