import { Router, Route, CanActivate, CanLoad, ActivatedRouteSnapshot, RouterStateSnapshot } from '@angular/router'; import { AuthenticationService } from '../../services/authentication.service'; import * as i0 from "@angular/core"; /** * Authentication and authorization guard */ export declare class AuthGuard implements CanActivate, CanLoad { private router; private authenticationService; constructor(router: Router, authenticationService: AuthenticationService); canActivate(route: ActivatedRouteSnapshot, state: RouterStateSnapshot): boolean; canLoad(route: Route): boolean; /** * Helper method for checking if user is authenticated and authorized * @param route * @param state */ private isAuthorized; private whenNoPermission; private navigateToHomePage; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }