import { Location } from '@angular/common'; import { CanActivate, Router, RouterStateSnapshot, ActivatedRouteSnapshot } from '@angular/router'; import { AuthService } from '../services/auth.service'; import { AuthzService } from '../services/authz.service'; export declare class RoleGuard implements CanActivate { private authService; private authzService; private location; private router; constructor(authService: AuthService, authzService: AuthzService, location: Location, router: Router); canActivate(route: ActivatedRouteSnapshot, state: RouterStateSnapshot): Promise; }