import { KeyboardEvent } from "react"; import { CollectionItem, CollectionHookResult } from "../common-hooks"; export declare const getNodeParentPath: ({ id }: CollectionItem) => string | null | undefined; interface TreeNavigationHookProps { collectionHook: CollectionHookResult; highlightedIdx: number; highlightItemAtIndex: (index: number) => void; } interface TreeNavigationHookResult { listHandlers: { onKeyDown: (evt: KeyboardEvent) => void; }; } export declare const useKeyboardNavigation: ({ collectionHook, highlightedIdx, highlightItemAtIndex, }: TreeNavigationHookProps) => TreeNavigationHookResult; export {};