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