import type { ComputedRef, Ref } from 'vue'; export interface UseKeyboardNavigationOptions { /** * Whether the input/component is focused */ isFocused: Ref | ComputedRef; /** * Array of items to navigate through */ items: Ref | ComputedRef; /** * Callback when an item is selected (Enter key) * @param item - The selected item * @param index - The index of the selected item */ onSelect: (item: T, index: number) => void; /** * Optional callback when Enter is pressed without a selection */ onSubmit?: () => void; /** * Optional callback when Escape is pressed */ onEscape?: () => void; } export declare function useKeyboardNavigation(options: UseKeyboardNavigationOptions): { selectedIndex: Ref; resetSelection: () => void; setSelection: (index: number) => void; };