import type { SetStateAction } from 'react'; /** * Tracks the active option of a listbox whose DOM focus stays on its combobox, and whether that option shows its focus ring: * the ring shows while the keyboard drives the list and hides once the pointer does. * * @returns the active option, whether it shows its focus ring, and the setters that move it by keyboard or by pointer * @public */ export declare const useActiveDescendant: () => { active: T | undefined; setActive: import("react").Dispatch>; focusVisible: boolean; setFocusVisible: import("react").Dispatch>; moveByKeyboard: (next: SetStateAction) => void; moveByPointer: (item: T) => void; }; //# sourceMappingURL=useActiveDescendant.d.ts.map