import * as React from "react"; import { IInputProps } from "../Input"; export interface ISelectProps { id: string; placeholder?: string; defaultValue?: { value: string; label: string; input?: IInputProps; }; defaultOptions?: Array<{ value: string; label: string; input?: IInputProps; }>; noOptionsMessage?: string; isSearchable?: boolean; hideDropdown?: boolean; subtext?: string; supertext?: string; loadOptions?: (inputValue: string, complete: (value: any) => void) => any; onChange?: (id: string, selectedOption: string | number | { value: string; label: string; input?: IInputProps; }) => void; } interface ISelectState { selectedOption: { value: string; label: string; input?: IInputProps; }; } export declare class Select extends React.PureComponent { static getDerivedStateFromProps(props: ISelectProps, state: ISelectState): { selectedOption: { value: string; label: string; input?: IInputProps; }; }; state: ISelectState; componentDidMount(): void; render(): JSX.Element; private handleChange; private loadOptions; } export {};