import * as React from 'react'; import type { ElementProps, FloatingContext } from '../types'; export interface Props { listRef: React.MutableRefObject>; activeIndex: number | null; onNavigate?: (index: number | null) => void; enabled?: boolean; selectedIndex?: number | null; focusItemOnOpen?: boolean | 'auto'; focusItemOnHover?: boolean; openOnArrowKeyDown?: boolean; disabledIndices?: Array; allowEscape?: boolean; loop?: boolean; nested?: boolean; rtl?: boolean; virtual?: boolean; orientation?: 'vertical' | 'horizontal' | 'both'; cols?: number; } /** * Adds focus-managed indexed navigation via arrow keys to a list of items * within the floating element. * @see https://floating-ui.com/docs/useListNavigation */ export declare const useListNavigation: ({ open, onOpenChange, refs }: FloatingContext, { listRef, activeIndex, onNavigate: unstable_onNavigate, enabled, selectedIndex, allowEscape, loop, nested, rtl, virtual, focusItemOnOpen, focusItemOnHover, openOnArrowKeyDown, disabledIndices, orientation, cols, }?: Props) => ElementProps;