import { ReactElement, ReactNode } from 'react'; import { ControlProps, GroupBase, Props } from 'react-select'; import { IOption } from "../../../types"; import { IInputProps } from "../../Input"; interface ISelectProps extends Props, Pick { label?: ReactNode; size?: IInputProps['size']; textInnerAdornment?: string; required?: boolean; hideCaret?: boolean; } export interface IControlProps extends Omit>, 'selectProps'> { selectProps: ISelectProps; } declare const Control: ({ selectProps, menuIsOpen, }: IControlProps) => ReactElement; export default Control;