import { Component } from "react"; import Person from "./models/person"; import "./style.css"; interface LabeledValue { label: string; key: string; } interface iProps { value?: any; allowClear?: boolean; placeholder?: string; url?: string; userType?: string; onChange?: (value: Person | string) => void; params?: any; } interface iState { options: Person[]; fetching: boolean; } export default class UserSingleSelect extends Component { private appService; state: iState; search: (searchText?: string, outparams?: any) => Promise; get value(): { value: any; label: any; key: string; }; componentDidMount(): void; componentWillReceiveProps(nextProps: any): void; handleChange: (selectedItem: LabeledValue) => Promise; handleSearch: (searchText: any) => Promise; render(): JSX.Element; } export {};