import type { CompletionItem, WordAtCursor } from "./types"; interface NavigationDeps { readonly onValueChange: (value: string) => void; readonly onAccepted: (value: string, cursorPosition: number) => void; readonly textareaRef: React.RefObject; } export declare function useKeyboardNavigation({ onValueChange, onAccepted, textareaRef }: NavigationDeps): { acceptCompletion: (item: CompletionItem, word: WordAtCursor) => void; }; export {};