import { OnInit, OnDestroy } from '@angular/core'; import { UntypedFormGroup, UntypedFormBuilder, UntypedFormArray, UntypedFormControl } from '@angular/forms'; import { ActivatedRoute, Router } from '@angular/router'; import { SpaControlService } from '../../services/spa-control.service'; import { Logger } from '../../services/logger.service'; import { DialogService } from '../../services/dialog.service'; import { MessageService } from '../../services/message.service'; import { AuthManagementService } from '../../services/auth-management.service'; import { CanComponentDeactivate } from '../../guards/can-deactivate.guard'; import { SubscriptionModel } from '../../api/subscriptions'; import { TranslocoService } from '@ngneat/transloco'; import { UserService } from "../../services/user.service"; import * as i0 from "@angular/core"; export declare class UserAccessEditComponent implements OnInit, OnDestroy, CanComponentDeactivate { route: ActivatedRoute; private router; private logger; private fb; private dialogService; private messageService; private spaControl; private authManagementService; private transloco; private listOfRoles; private listOfUnassignableRoles; private userService; private $toUnsubscribe; form: UntypedFormGroup; saving: boolean; private closing; subscription: SubscriptionModel; loadingAccess: boolean; constructor(route: ActivatedRoute, router: Router, logger: Logger, fb: UntypedFormBuilder, dialogService: DialogService, messageService: MessageService, spaControl: SpaControlService, authManagementService: AuthManagementService, transloco: TranslocoService, listOfRoles: string[], listOfUnassignableRoles: string[], userService: UserService); get roles(): UntypedFormArray; clearRoles(): void; createForm(): void; private validateRoles; ngOnInit(): void; toggleCheckbox(r: UntypedFormControl): void; onSubmit(): void; canDeactivate(): true | Promise; close(): void; getErrorMessage(formControlName: string): string; ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }