import { EventEmitter, Injector, OnInit } from '@angular/core';
import { TreeNode } from 'tn-custom-primeng/api';
import { ComponentBase } from '../../../classes/base/component-base';
import { CrudListSetting, EntityPickerControlSchema, UserPickerControlSchema, UserType } from '../../../classes/form-schema';
import { OrganizationService } from '../../../services/organization.service';
import { UserV5Service } from '../../../services/user-v5.service';
import { EntityPickerBoxComponent } from '../../entity-picker/entity-picker-box/entity-picker-box.component';
import { AdvanceDataEntityPicker } from '../../entity-picker/model/advance-data';
import { CoCauToChucTestService } from '../servicetest/cocautochuc-test.service';
export declare class UserPickerBoxComponent extends ComponentBase implements OnInit {
    protected _userV5Service: UserV5Service;
    protected _organizationService: OrganizationService;
    protected _coCauToChucService: CoCauToChucTestService;
    multiple: boolean;
    disabled: boolean;
    enableCaching: boolean;
    controlSetting: UserPickerControlSchema;
    parentSetting: CrudListSetting;
    advanceData: AdvanceDataEntityPicker;
    control: EntityPickerControlSchema;
    width: number;
    height: number;
    selectedValue: any;
    readOnlyValues: string[];
    entityPickerBox: EntityPickerBoxComponent;
    onRowSelect: EventEmitter<any>;
    onChanged: EventEmitter<any>;
    onSelect: EventEmitter<any>;
    onUnSelect: EventEmitter<any>;
    onDone: EventEmitter<any>;
    readonly STORAGE_KEY_USER_PICKER_NAME = "user_picker_storage_name";
    readonly STORAGE_KEY_USER_PICKER_ID_USER = "user_picker_storage_id_user";
    readonly STORAGE_KEY_USER_PICKER_SEARCH_KEY = "user_picker_storage_search_key";
    readonly STORAGE_KEY_USER_PICKER_NODE_SELECTED = "user_picker_storage_node";
    readonly userType: typeof UserType;
    rootTreeNode: TreeNode[];
    isFirstLoad: boolean;
    rootFilter: any;
    selectedTreeNode: any;
    treeLoading: boolean;
    selectedNodeData: any;
    constructor(_injector: Injector, _userV5Service: UserV5Service, _organizationService: OrganizationService, _coCauToChucService: CoCauToChucTestService);
    ngOnInit(): void;
    handleSelect(event: any): void;
    handleCancelDialog(event: any): void;
    onNodeExpand(event: any): void;
    nodeSelect(event: any): Promise<void>;
    initTree(): Promise<void>;
    loadTree(event: any, isRoot?: any): void;
    modifyFilter(filters: any): Promise<void>;
    selectUser(user: any): void;
    handleRowSelect(evt: any): void;
    handleSelectEntity(evt: any): void;
    handleUnSelectEntity(evt: any): void;
    handleChangedEntity(data: any): void;
    handleDone(evt: any): void;
}
//# sourceMappingURL=user-picker-box.component.d.ts.map