import { ReactNode } from 'react';
export declare type TRoleInfo = {
    roleType: string;
    title: string;
};
import { ObjectKey, TEstimatedPerson, TEstimator, TFilteredEstimators, TGlobalSearchEstimators } from "../../types";
export declare type TAddUsersInProps = {
    visible: boolean;
    onClose: () => void;
    usersChoose?: TEstimatedPerson[];
    removeChooseShow?: boolean;
    roleInfo?: TRoleInfo;
    titleText?: string;
    filteredUsers?: ObjectKey<TFilteredEstimators>;
    searchStubDescription?: ReactNode;
    windowLevel?: number;
    setUpdateUsers: any;
    urls: {
        host?: string;
    };
};
export interface IPersonsContent extends Partial<TGlobalSearchEstimators> {
    personId: string;
    fullName: string;
    firstName: string;
    lastName: string;
    midName: string;
    photoDto?: {
        url: string;
        hash: string;
    };
    positionName?: string;
}
export declare type IPersonInfoGlobalSearch = {
    personUuid: string;
    jposition?: {
        position: Array<{
            funcBlock: string | null;
            fullName: string | null;
        }>;
    };
    pbasic: {
        lastName: string;
        firstName: string;
        fullName: string;
        midName: string;
    };
    pbasicphoto: {
        hash?: string;
        url?: string;
    };
    isChecked?: boolean;
    isFixed?: boolean;
    type?: string;
    isExternal?: boolean;
};
export declare type IContentGlobal = {
    persons: IPersonInfoGlobalSearch[];
};
export declare type IDropContent = {
    findNowUsers: IPersonInfoGlobalSearch[];
    usersChoose: IPersonInfoGlobalSearch[];
    addChoosePerson: (person: TGlobalSearchEstimators) => void;
    removeChoosePerson: (person: TGlobalSearchEstimators) => void;
    removeChooseShow?: boolean;
    checkedAll: boolean;
    handledCheckedAll: Function;
    stubDescription?: ReactNode;
};
export declare type TAddUsersInState = {
    searchValue: string;
    usersChoose: TEstimatedPerson[];
    findNowUsers: IPersonInfoGlobalSearch[];
    spinner: boolean;
    disabled: boolean;
    removedUsers: TGlobalSearchEstimators[];
    initialValues: SelectedPersonType;
    checkedAll: boolean;
    allUsersAdd: TEstimator[];
};
export declare type SelectedPersonType = {
    [key: string]: boolean;
};
export declare type GlobalSearch = {
    onChoosePerson: (users: IPersonInfoGlobalSearch[]) => void;
    onClose: Function;
    assignment?: any;
    removeChooseShow?: boolean;
    chooseUsers: IPersonInfoGlobalSearch[];
    testId: string;
    onConfirm: any;
    role: string;
    filteredUsers: ObjectKey<TFilteredEstimators>;
    stubDescription?: ReactNode;
};
export declare type TDispatcher = {
    action: any;
    payload: any;
};
