import * as i0 from '@angular/core'; import { EventEmitter, ElementRef, Injector, OnInit, OnChanges } from '@angular/core'; import * as i1 from '@c8y/ngx-components'; import { UpgradeComponent } from '@angular/upgrade/static'; import * as rxjs from 'rxjs'; import { BehaviorSubject } from 'rxjs'; import { IIdentified } from '@c8y/client'; import { Ng1UserInventoryRolesService, Ng1RolesService } from '@c8y/ngx-components/upgrade/upgraded-services'; declare class InventoryRoleSelector extends UpgradeComponent { assignedRoles: any; inheritedRoles: any; inventoryRoles: any; ownerAllowedRoles: any; disableEditForExternalUsers: any; onApply: EventEmitter; constructor(elementRef: ElementRef, injector: Injector); static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } declare class RolesAssetTreeComponent implements OnInit, OnChanges { c8yUserInventoryRoles: Ng1UserInventoryRolesService; c8yRoles: Ng1RolesService; user: any; searchFilter: any; assignedRoles: any; ownerAssignedRoles: any; expandGroups: any; pageSize: any; paginationOffset: any; disableEditForExternalUsers: boolean; onChangeRoles: EventEmitter; onChangeItemCount: EventEmitter; rootGroups: any; flatAssetTree: any; inventoryRoles: any; loadingAssetTree: any; inheritedRoles: any; ownerAllAssignedRoles: any; noSubgroupTitle: "No subgroups"; manySubgroupsTitle: "Subgroups: {{ count }}"; oneSubgroupTitle: "Subgroup: 1"; clickToOpenTitle: "Click to fetch subgroups"; expandAriaLabel: "Expand"; collapseAriaLabel: "Collapse"; searchTermSubject: BehaviorSubject; flatTreeSubject: BehaviorSubject; flatAssetTree$: rxjs.Observable; constructor(c8yUserInventoryRoles: Ng1UserInventoryRolesService, c8yRoles: Ng1RolesService); ngOnInit(): void; loadAssetTree(): Promise; updateTree(): void; loadChildren(mo: any): void; loadInventoryRoles(): void; ngOnChanges(changes: any): void; setInheritedRoles(): void; getInventoryInheritedRoles(flatTree: any, assignedRoles: any): any; onApply(ev: any, managedObjectId: any): void; filterAsset(asset: any): any; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class UserRolesModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } export { InventoryRoleSelector, RolesAssetTreeComponent, UserRolesModule }; //# sourceMappingURL=index.d.ts.map