import { Ref } from "react"; import { Props as ReactSelectProps } from "react-select"; import { Props as ReactSelectCreatableProps } from "react-select/creatable"; import { Props as ReactSelectAsyncProps } from "react-select/async"; declare type ArrowSelectProps = { menuInPortal?: boolean; menuRef?: Ref; height?: number; }; export declare type SelectProps = ReactSelectProps & ArrowSelectProps; export declare type SelectCreatableProps = ReactSelectCreatableProps & ArrowSelectProps; export declare type SelectAsyncProps = ReactSelectAsyncProps & ArrowSelectProps; export declare type SelectBaseProps = ({ type: "default"; } & SelectProps) | ({ type: "creatable"; } & SelectCreatableProps) | ({ type: "async"; } & SelectAsyncProps); declare const Select: { (props: SelectProps): JSX.Element; Creatable: (props: SelectCreatableProps) => JSX.Element; Async: (props: SelectAsyncProps) => JSX.Element; }; export { Select };