///
import { GetPropsCommonOptions, UseSelectGetLabelPropsOptions, UseSelectGetMenuPropsOptions } from "downshift";
import { STATUS_VARIANT } from "../../../types";
import { SelectOption } from "../shared/types";
interface UseSelectPopperProps {
isOpen: boolean;
hasSearch: boolean;
isDisabled: boolean | undefined;
variantProp: STATUS_VARIANT | undefined;
getLabelProps: (options?: UseSelectGetLabelPropsOptions | undefined) => any;
onCreateOption: ((newOption: string) => void) | undefined;
inputValue: string | undefined;
closeMenu: () => void;
getMenuProps: (options?: UseSelectGetMenuPropsOptions | undefined, otherOptions?: GetPropsCommonOptions | undefined) => any;
transformedOptions: T[];
highlightedIndex: number;
onInputChange: ((newValue: string) => void) | undefined;
inputHasFocus: boolean;
isCreatable: boolean;
setHighlightedIndex: (index: number) => void;
}
export declare function useSelectLayout({ isOpen, hasSearch, isDisabled, variantProp, getLabelProps, onCreateOption, inputValue, closeMenu, getMenuProps, transformedOptions, onInputChange, inputHasFocus, isCreatable, highlightedIndex, setHighlightedIndex, }: UseSelectPopperProps): {
setReferenceElement: import("react").Dispatch>;
popperRef: import("react").RefObject;
controlClasses: string;
wrapperClasses: string;
callbackElementProps: {
ref: import("react").Dispatch>;
className: string;
};
inputRef: import("react").RefObject;
hasContextLabel: boolean | undefined;
optionIndexRef: import("react").MutableRefObject;
setOptionIndex: (newIndex: number) => void;
menuProps: any;
createOption: () => void;
};
export {};