import { OnChanges, OnInit, SimpleChanges } from '@angular/core';
import { STChange, STColumn, STComponent, STData } from '@delon/abc';
import { Observable } from 'rxjs';
import { ACLService } from '@delon/acl';
import { DEF } from '../../../../api';
export declare class IdentityUserWorkingGroupsComponent implements OnInit, OnChanges {
    aclService: ACLService;
    currentUser: DEF.Identity.ApplicationUser | null;
    st: STComponent;
    loading: boolean;
    saving: boolean;
    stDatas: Array<IWorkingGroup>;
    stColumns: Array<STColumn>;
    /** current user's original working group codes */
    originalWorkingGroupCodes: Array<string>;
    /** current user's current checked working group codes, change when user check or uncheck any working group */
    currentWorkingGroupCodes: Array<string>;
    readonly isWorkingGroupChanged: boolean;
    constructor(aclService: ACLService);
    ngOnInit(): void;
    ngOnChanges(changes: SimpleChanges): void;
    fetchWorkingGroups(): Observable<Array<IWorkingGroup>>;
    handleRefresh(): void;
    /**
     * fetch working groups of current user
     */
    private fetchWorkingGroupsByUser;
    /**
     * update current user's working groups
     */
    updateUserWorkingGroup(): void;
    handleStChange($event: STChange): void;
}
interface IWorkingGroup extends STData, DEF.Identity.WorkingGroup {
}
export {};
