import React from "react"; type ChangedSelector = "month" | "year"; interface UseDatePickerKeyboardNavigationProps { ref: React.RefObject; open?: boolean; monthSelectId: string; yearSelectId: string; onEscape: () => void; } /** Cycles Tab focus within the picker, moves focus from changed selectors to the calendar, and closes on Escape. */ declare const useDatePickerKeyboardNavigation: ({ ref, open, monthSelectId, yearSelectId, onEscape, }: UseDatePickerKeyboardNavigationProps) => { getPickerDayFocusTarget: () => HTMLElement | null; handleBlur: (event: React.FocusEvent) => void; handleKeyDown: (event: React.KeyboardEvent) => void; handleKeyUp: (event: React.KeyboardEvent) => void; markSelectorChanged: (selector: ChangedSelector) => void; resetChangedSelector: () => void; }; export default useDatePickerKeyboardNavigation;