import { Injector, OnDestroy, OnInit } from "@angular/core"; import { UntypedFormBuilder, UntypedFormGroup } from "@angular/forms"; import { MatDialogRef } from "@angular/material/dialog"; import { Subscription } from "rxjs"; import { PermissionService } from "../permission.service"; import { CustomToastrService } from "../../custom-toastr/services/custom-toastr.service"; import { TranslationService } from "../../../core/services/translation/translation.service"; import { BaseDialogComponent } from "../../../shared/components/base/base-dialog.component"; import { DialogActionType } from "../../../shared/components/nuxeo-dialog/models/dialog-option.model"; import * as i0 from "@angular/core"; export declare class AddPermissionsDialogComponent extends BaseDialogComponent implements OnInit, OnDestroy { private dialogRef; permissionService: PermissionService; private tosterService; private fb; private translate; rights: any[]; id: any; timeFrame: string; newPermission: {}; state: any; aclId: any; username: any; editableRight: any; editableBegin: any; editableEnd: any; subscriptions$: Subscription[]; permissionForm: UntypedFormGroup; creating: boolean; updating: boolean; createAndAdd: boolean; refreshUsers: boolean; constructor(dialogRef: MatDialogRef, permissionService: PermissionService, tosterService: CustomToastrService, fb: UntypedFormBuilder, translate: TranslationService, data: any, injector: Injector); ngOnInit(): void; checkDates(group: UntypedFormGroup): { notValid: boolean; }; createandAddAnother: DialogActionType; refreshUserArray(users: any): void; create: DialogActionType; edit: DialogActionType; cancel(result: any): void; ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }