import { ComputedRef, Ref } from 'vue'; import type { SelectOption, TdOptionProps, SelectValue } from '../type'; import type { ChangeHandler } from '@tdesign/shared-hooks'; import type { PopupVisibleChangeContext } from '../../popup'; export type useKeyboardControlType = { displayOptions: ComputedRef; optionsList: ComputedRef; innerPopupVisible: Ref; setInnerPopupVisible: ChangeHandler; selectPanelRef: Ref<{ isVirtual: boolean; innerRef: HTMLDivElement; }>; isFilterable: ComputedRef; isRemoteSearch: ComputedRef; getSelectedOptions: (selectValue?: SelectValue[] | SelectValue) => TdOptionProps[]; setInnerValue: Function; onCheckAllChange: Function; isCheckAll: ComputedRef; innerValue: Ref; popupContentRef: ComputedRef; multiple: boolean; max: number; }; export declare function useKeyboardControl({ displayOptions, optionsList, innerPopupVisible, setInnerPopupVisible, selectPanelRef, isFilterable, isRemoteSearch, getSelectedOptions, setInnerValue, onCheckAllChange, innerValue, popupContentRef, multiple, max, isCheckAll, }: useKeyboardControlType): { hoverIndex: Ref; handleKeyDown: (e: KeyboardEvent) => void; virtualFilteredOptions: Ref; filteredOptions: Ref; };