import { Component } from 'react';
import { TAddUsersInProps, IPersonInfoGlobalSearch } from './types';
import { TEstimatedPerson, TGlobalSearchEstimators } from "../../types";
export declare function findUser(user: any, person: any): boolean;
export declare class AddUsersIn extends Component<TAddUsersInProps, any> {
    constructor(props: TAddUsersInProps);
    componentDidMount(): void;
    componentDidUpdate(prevProps: TAddUsersInProps, prevState: any): void;
    setInitialValues(usersChoose: TEstimatedPerson[] | undefined, findNowUsers: IPersonInfoGlobalSearch[]): {
        [key: string]: boolean;
    };
    addChoosePerson: (person: TGlobalSearchEstimators, usersChoose: TGlobalSearchEstimators[], findNowUsers: TGlobalSearchEstimators[], removedUsers: TGlobalSearchEstimators[]) => void;
    removeChoosePerson: (person: TGlobalSearchEstimators, usersChoose: TEstimatedPerson[], checkedAll: boolean, removedUsers: TGlobalSearchEstimators[]) => void;
    handledCheckedAll: (value: boolean, findNowUsers: TGlobalSearchEstimators[], usersChoose: TEstimatedPerson[]) => void;
    handleSendUsers: (usersChoose: TGlobalSearchEstimators[], removedUsers: TGlobalSearchEstimators[], role: string, onClose: Function, setUpdateUsers: Function) => void;
    setSpinner: (spinner: boolean) => void;
    setUserList: (users: TGlobalSearchEstimators[]) => void;
    render(): JSX.Element | null;
}
