import { OnDestroy, OnInit } from '@angular/core';
import { ModalRef, ModalService } from "ng-zorro-antd-mobile";
import { Subscription } from "rxjs";
import { MatDialogRef } from "@angular/material/dialog";
import { YzSelectContactsService } from "../yz-select-contacts/yz-select-contacts.service";
import { YzRoleSelectContactsService } from "./yz-role-select-contacts.service";
import { GroupRoleInterface, ComponentOption } from "./groupRole.interface";
import { BaseUserInterface } from "../yz-select-contacts/dept.interface";
export declare class YzRoleSelectContactsComponent implements OnInit, OnDestroy {
    dialogRef: MatDialogRef<YzRoleSelectContactsComponent>;
    private _modal;
    private yzContactsService;
    private yzRoleContactsService;
    data: ComponentOption;
    modalRefCpt: Array<ModalRef>;
    subscribed: Array<Subscription>;
    dtPullToRefreshStyle: {
        height: string;
    };
    roleNodes: Array<GroupRoleInterface>;
    groupRoleList: Array<{
        value: string;
        label: string;
        children?: Array<{
            value: string;
            label: string;
        }>;
    }>;
    currentRole: Array<{
        value: string;
        label: string;
    }>;
    pageLoading: boolean;
    baseUserParams: {
        total: number;
        pageSize: number;
        pageNum: number;
        realName: any;
    };
    baseUserList: Array<BaseUserInterface>;
    allUserCheck: boolean;
    selectedContacts: Array<BaseUserInterface>;
    constructor(dialogRef: MatDialogRef<YzRoleSelectContactsComponent>, _modal: ModalService, yzContactsService: YzSelectContactsService, yzRoleContactsService: YzRoleSelectContactsService, data: ComponentOption);
    ngOnInit(): void;
    initGroupRole(): void;
    queryDefaultContact(): void;
    queryBaseUser(): void;
    pullToRefresh(): void;
    queryUserByRealName(): void;
    cancelQueUserByRealName(): void;
    onChangeRole($event: any): void;
    userCheckedChange($event: any): void;
    addBaseUser(): void;
    isMaxCount(): void;
    deleteContact(id: any, index: any): void;
    allSelect(): void;
    cancelAllSelect(): void;
    confirmSelect(): void;
    ngOnDestroy(): void;
}
