import type { ChangeEvent, KeyboardEvent } from "react"; import React from "react"; import type { ChipDismissibleInputOptionProps, ChipDismissibleInputProps } from "../InternalChipDismissibleTypes"; import type { ChipProps } from "../../Chip"; export declare function useInternalChipDismissibleInput({ options, isLoadingMore, onCustomOptionSelect, onOptionSelect, onSearch, onlyShowMenuOnSearch, autoSelectOnClickOutside, }: ChipDismissibleInputProps): { menuOpen: boolean; showInput: boolean; searchValue: string; shouldCancelBlur: boolean; menuId: string; inputRef: React.RefObject; activeOption: ChipDismissibleInputOptionProps; hasAvailableOptions: boolean; nextOptionIndex: number; previousOptionIndex: number; activeIndex: number; allOptions: ChipDismissibleInputOptionProps[]; generateDescendantId: (index: number) => string; handleReset: () => void; handleOpenMenu: () => void; handleCloseMenu: () => void; handleCancelBlur: () => void; handleEnableBlur: () => void; handleBlur: () => void; handleFocus: () => void; handleSearchChange: (event: ChangeEvent) => void; handleSetActiveOnMouseOver: (index: number) => () => void; handleSelectOption: (selected: ChipDismissibleInputOptionProps) => void; handleShowInput: () => void; handleKeyDown: (event: KeyboardEvent) => void; handleDebouncedSearch: import("lodash").DebouncedFunc<(newSearchValue: string, newOptions?: ChipProps[]) => void>; };