import { MatDialog } from '@angular/material/dialog'; import { AuthService } from './auth.service'; import { BackendPageService } from './backendPage.service'; import { HttpService } from './http.service'; import { ModalService } from './modal.service'; import * as i0 from "@angular/core"; export interface PermisionData { who: string; auth: Array; erase?: boolean; role: string; } export interface AuthorizationPostData { id: string; lista: Array; } export interface AuthorizationGetData { act: number; role: string; cre: number; who: string; rsc: string; auth: Array; id: string; } export declare class AuthorizationService { private authService; private modalService; dialog: MatDialog; pageService: BackendPageService; private httpSrv; constructor(authService: AuthService, modalService: ModalService, dialog: MatDialog, pageService: BackendPageService, httpSrv: HttpService); readAll(id: string): Promise>; save(payload: AuthorizationPostData): Promise; edit(): Promise; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }