import { UseSelectGetItemPropsOptions } from "downshift"; import { Dispatch, HTMLAttributes, MutableRefObject, RefObject, SetStateAction } from "react"; import { SelectOption } from "./types"; import { useSelectLayout } from "../hooks/useSelectLayout"; interface SelectMenuProps extends HTMLAttributes { isOpen: boolean; callbackElementProps: ReturnType["callbackElementProps"]; menuProps: ReturnType["menuProps"]; onInputChange: ((newValue: string) => void) | undefined; inputRef: RefObject; inputValue: string | undefined; setInputHasFocus: Dispatch>; popperRef: RefObject; optionIndexRef: MutableRefObject; setOptionIndex: (newIndex: number) => void; highlightedIndex: number; creatableOption: T; isCreatable: boolean; getItemProps: (options: UseSelectGetItemPropsOptions) => any; onCreateOption: () => void; isLoading: boolean | undefined; } export declare function SelectMenu({ isOpen, callbackElementProps, onInputChange, inputRef, inputValue, setInputHasFocus, popperRef, optionIndexRef, setOptionIndex, highlightedIndex, creatableOption, isCreatable, getItemProps, onCreateOption, isLoading, children, menuProps, }: SelectMenuProps): JSX.Element; export {};