import * as React from 'react'; import { makeAnimated as Animated } from 'react-select'; import { Props as BaseSelectProps } from 'react-select/lib/Select'; import { Props as BaseCreatableProps } from 'react-select/lib/Creatable'; import { Props as BaseAsyncProps } from 'react-select/lib/Async'; export declare type OptionType = { label: string; value: string; }; declare function formatCreateLabel(label: React.ReactNode): JSX.Element; export declare type AsyncProps = { theme?: any; loadOptions: any; } & BaseAsyncProps; export declare type AsyncCreatableProps = { theme?: any; } & BaseAsyncProps & BaseCreatableProps; export declare type CreatableProps = { theme?: any; } & BaseCreatableProps; export declare type AutocompleteProps = { theme?: any; hasError?: boolean; } & BaseSelectProps; declare const StyledSelect: React.FunctionComponent & React.Attributes, "theme">>; declare const AsyncWithTheme: React.FunctionComponent & import("react-select/lib/Async").AsyncProps & React.Attributes, "theme">>; declare const AsyncCreatableWithTheme: React.FunctionComponent & import("react-select/lib/Async").AsyncProps & import("react-select/lib/Creatable").CreatableProps & React.Attributes, "theme">>; declare const CreatableWithTheme: React.FunctionComponent & import("react-select/lib/Creatable").CreatableProps & React.Attributes, "theme">>; export { Animated, AsyncWithTheme as Async, AsyncCreatableWithTheme as AsyncCreatable, CreatableWithTheme as Creatable, StyledSelect as Select, formatCreateLabel, };