import { AfterViewInit, OnInit } from '@angular/core';
import { MatCheckboxChange } from '@angular/material';
import { IDept, CurrentService } from 'dbweb-core';
import { Observable } from 'rxjs';
import { BeforeSaveParam, BillComponent } from '../bill/bill.component';
import { UserBack, UserRole, RoleType, ColumnsWithLetter } from './back';
export declare class UserComponent implements OnInit, AfterViewInit {
    private back;
    private curr;
    hostClass: boolean;
    bill: BillComponent;
    filterDeptList: Observable<IDept[]>;
    validRoles: UserRole[];
    roles: {
        [key: string]: boolean;
    };
    roleLists: string[];
    roleLitters: ColumnsWithLetter[];
    readonly roleTypeAlways = RoleType.always;
    constructor(back: UserBack, curr: CurrentService);
    ngOnInit(): void;
    beforeSave(selft: BillComponent): Observable<BeforeSaveParam>;
    ngAfterViewInit(): void;
    roleChange(event: MatCheckboxChange, roleName: string): void;
    acronymFun(letter: string): void;
    try(): void;
}
