import type { Dispatch } from 'react';
import React from 'react';
import { PathAction, PathState, FocusedPathAction, FocusedPathState, TreePathState, TreePathAction } from '../reducers';
import type { ItemOptionTransformed } from '../Combobox.types';
import { PathMapType, FocusedToValueMapType, ValueToItemMapType } from './usePathMaps';
export declare const keys: {
    Enter: string;
    Space: string;
    Tab: string;
    Escape: string;
    Backspace: string;
    ArrowLeft: string;
    ArrowRight: string;
    ArrowUp: string;
    ArrowDown: string;
    Home: string;
    End: string;
    PageUp: string;
    PageDown: string;
};
export declare const getItemByFocused: (focusedPath: FocusedPathState, focusedToValueMap: FocusedToValueMapType) => ItemOptionTransformed | undefined;
type Props = {
    focusedPath: FocusedPathState;
    dispatchFocusedPath: Dispatch<FocusedPathAction>;
    path: PathState;
    dispatchPath: Dispatch<PathAction>;
    pathMap: PathMapType;
    focusedToValueMap: FocusedToValueMapType;
    handleListToggle: (opened: boolean) => void;
    handlePressDown: (item: ItemOptionTransformed, e?: React.MouseEvent<HTMLElement>) => void;
    setTextValue: (newTextValue: string) => void;
    multiple: boolean | undefined;
    value: string | string[];
    textValue: string;
    valueToItemMap: ValueToItemMapType;
    treePath: TreePathState;
    dispatchTreePath: Dispatch<TreePathAction>;
    treeView: boolean;
    valueToPathMap: Map<string, string[]>;
    items: ItemOptionTransformed[];
    disabled: boolean;
    readOnly: boolean;
};
type ReturnedProps = {
    onKeyDown: (event: React.KeyboardEvent<HTMLElement>) => void;
};
export declare const useKeyNavigation: ({ focusedPath, dispatchFocusedPath, path, dispatchPath, pathMap, focusedToValueMap, handleListToggle, handlePressDown, setTextValue, multiple, value, textValue, valueToItemMap, treePath, dispatchTreePath, treeView, valueToPathMap, items, disabled, readOnly, }: Props) => ReturnedProps;
export {};
//# sourceMappingURL=useKeyboardNavigation.d.ts.map