import { ActivatedRouteSnapshot, CanActivate, CanActivateChild, Router, RouterStateSnapshot } from "@angular/router"; import { AuthenticationService } from "../authentication.service"; import * as i0 from "@angular/core"; /** * @inheritDoc * Router guard to check that the user is authenticated */ export declare class AuthGuard implements CanActivate, CanActivateChild { private authService; private router; constructor(authService: AuthenticationService, router: Router); /** * @inheritDoc */ canActivateChild(route: ActivatedRouteSnapshot, state: RouterStateSnapshot): boolean; /** * @inheritDoc */ canActivate(route: ActivatedRouteSnapshot, state: RouterStateSnapshot): boolean; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }