import { ActivatedRouteSnapshot, Router, RouterStateSnapshot, UrlTree } from '@angular/router';
import { RxapAuthenticationService } from './authentication.service';
import * as i0 from "@angular/core";
export declare class RxapAuthenticationGuard {
    authentication: RxapAuthenticationService;
    router: Router;
    private readonly deactivated;
    lastUrl: string | null;
    constructor(authentication: RxapAuthenticationService, router: Router, deactivated?: boolean | null);
    canActivate(route: ActivatedRouteSnapshot, state: RouterStateSnapshot): Promise<UrlTree | boolean>;
    canActivateChild(childRoute: ActivatedRouteSnapshot, state: RouterStateSnapshot): Promise<UrlTree | boolean>;
    private checkAuthStatus;
    private createUrlTreeToLastUrl;
    static ɵfac: i0.ɵɵFactoryDeclaration<RxapAuthenticationGuard, [null, null, { optional: true; }]>;
    static ɵprov: i0.ɵɵInjectableDeclaration<RxapAuthenticationGuard>;
}
