import { Ref } from 'vue'; import { type CalendarSystem } from '@timestamp-js/core'; import type { Timestamp } from '@timestamp-js/core'; export declare const useNavigationProps: { /** * Enables keyboard navigation for supported calendar cells. * * @category behavior */ useNavigation: BooleanConstructor; }; export interface NavigationProps { useNavigation: boolean; weekdays: number[]; intervalMinutes?: number | string; calendarSystem: CalendarSystem; } interface NavigationContext { rootRef: Ref; keyboardActive?: Ref; focusRef: Ref; focusValue: Ref; datesRef: Ref>; parsedView: Ref; emittedValue: Ref; direction: Ref<'next' | 'prev'>; times: { today: Timestamp; }; [key: string]: unknown; } interface UseNavigationReturn { startNavigation: () => void; endNavigation: () => void; tryFocus: () => void; } /** * Hook for handling keyboard navigation in calendar components. * @param props The props related to behavior. * @param context Various reactive references used for behavior. */ export default function useNavigation(props: NavigationProps, { rootRef, keyboardActive, focusRef, focusValue, datesRef, parsedView, emittedValue, direction, times, }: NavigationContext): UseNavigationReturn; export {};