/// <reference types="react" />
import { IOperator } from '../../../typings';
declare const useKeyEvent: (props: {
    options: IOperator[];
    handleOptionClick: (option: IOperator) => void;
}) => {
    highIndex: number;
    onArrowUp: () => void;
    onArrowDown: () => void;
    onEnter: () => void;
    onMouseEnter: (index: number) => void;
    setHighLightIndex: import("react").Dispatch<import("react").SetStateAction<number>>;
};
export default useKeyEvent;
