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;
    /** current user's current checked working group codes, change when user check or uncheck any working group */
    currentWorkingGroupCodes: Array<string>;
    loading: boolean;
    /** current user's original working group codes */
    originalWorkingGroupCodes: Array<string>;
    saving: boolean;
    st: STComponent;
    stColumns: Array<STColumn>;
    stDatas: Array<IWorkingGroup>;
    constructor(aclService: ACLService);
    get isWorkingGroupChanged(): boolean;
    fetchWorkingGroups(): Observable<Array<IWorkingGroup>>;
    handleRefresh(): void;
    handleStChange($event: STChange): void;
    ngOnChanges(changes: SimpleChanges): void;
    ngOnInit(): void;
    /**
     * update current user's working groups
     */
    updateUserWorkingGroup(): void;
    /**
     * fetch working groups of current user
     */
    private fetchWorkingGroupsByUser;
}
interface IWorkingGroup extends STData, DEF.Identity.WorkingGroup {
}
export {};
