/**
 * @packageDocumentation
 * @module authorization
 */
import { InjectionToken } from '@angular/core';
import { ActivatedRouteSnapshot, CanActivate, CanActivateChild, RouterStateSnapshot } from '@angular/router';
import { SilentlyNavigateService } from '../utils/silently-navigate.service';
import { AuthorizationStateService } from './state.service';
export declare const DEFAULT_ABNORMAL_EMPTY_URL = "abnormal-empty-page";
export declare function abnormalEmptyUrlFactory(): string;
export declare const ABNORMAL_EMPTY_URL_TOKEN: InjectionToken<string>;
export declare class AuthorizationGuardService implements CanActivate, CanActivateChild {
    private readonly emptyUrl;
    private readonly auth;
    private readonly silentlyNavigate;
    constructor(emptyUrl: string, auth: AuthorizationStateService, silentlyNavigate: SilentlyNavigateService);
    canActivate(_route: ActivatedRouteSnapshot, state: RouterStateSnapshot): import("rxjs").Observable<boolean>;
    canActivateChild(route: ActivatedRouteSnapshot, state: RouterStateSnapshot): import("rxjs").Observable<boolean>;
}
