import { ComputedRef, Ref } from 'vue';
import { ItemType, SelectValue, SelectArray } from '../types';
interface KeyboardHandlerProps {
    multiple: boolean;
    chips: boolean;
}
interface KeyboardHandlerDeps {
    search: Ref<string>;
    selected: Ref<SelectValue | SelectArray>;
    isOpen: Ref<boolean>;
    selectItem: (item: ItemType | string | number | null | undefined) => void;
    getItemText: (item: unknown) => unknown;
    filteredItems: ComputedRef<ItemType[]>;
    uniqueMenuId: Ref<string>;
    focusListItem: boolean;
    hasPrependItem?: ComputedRef<boolean>;
}
export declare function useSyAutocompleteKeyboard(props: KeyboardHandlerProps, deps: KeyboardHandlerDeps): {
    handleKeydown: (e: KeyboardEvent) => void;
    focusInput: (textFieldRef: Ref<{
        $el?: HTMLElement;
        $refs?: {
            input?: HTMLInputElement;
        };
    } | null>, noFocus?: boolean) => void;
    focusPrepend: () => void;
    keyboardActiveId: Ref<string, string>;
    handleTabKey: () => void;
};
export {};
