import { MutableRefObject } from 'react';
import { Option, TSelectOptionKey } from '../components/generic/Select/Select';
export declare const useKeyboardControlOnSelect: <TOption extends Option<KeyName>, KeyName extends string>({ defaultOption, options, idName, overlayRef, isEnabled, onSelected, optionRefs, optionContainerRef, }: {
    defaultOption?: TOption;
    options: TSelectOptionKey<TOption>[];
    idName: keyof TOption;
    overlayRef: HTMLDivElement | null;
    isEnabled: boolean;
    onSelected: (item: TOption) => void;
    optionRefs: MutableRefObject<{
        [id: string]: HTMLDivElement | undefined | null;
    }>;
    optionContainerRef: MutableRefObject<HTMLDivElement | null>;
}) => {
    selectingItem: TOption | undefined;
    onItemMouseEnter: (item: TOption) => void;
    onItemMouseLeave: () => void;
    onItemMouseMove: () => void;
};
