import { Component } from 'react'; import { Props as BaseSelectProps } from 'react-select/lib/Select'; import { OptionType } from '../Autocomplete'; export declare const exampleItems: OptionType[]; export declare const exampleProps: { name: string; placeholder: string; inputId: string; initialOptions: OptionType[]; isClearable: boolean; formatCreateLabel: (label: Pick) => JSX.Element; }; declare type Props = { initialValue?: any; initialOptions?: OptionType[] | string; isLoading?: boolean; onCreate?: (newOption: any, options: any) => Promise; } & BaseSelectProps; declare type State = { value: any; options: OptionType[] | string; isLoading: boolean; error: boolean; }; declare class ExampleAutocomplete extends Component { constructor(props: any); handleChange(value: any): void; handleInputChange(value: any): any; handleNewOptionClick(newOption: any): void; render(): JSX.Element; } export default ExampleAutocomplete;