/**
 * @packageDocumentation
 * @module authorization
 */
import { InjectionToken } from '@angular/core';
import { ActivatedRouteSnapshot, CanActivate, CanActivateChild, RouterStateSnapshot } from '@angular/router';
import { SilentlyNavigateService } from '../core/services';
import { AuthorizationStateService } from './state.service';
import * as i0 from "@angular/core";
export declare const DEFAULT_ABNORMAL_EMPTY_URL = "system-abnormal";
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>;
    static ɵfac: i0.ɵɵFactoryDeclaration<AuthorizationGuardService, never>;
    static ɵprov: i0.ɵɵInjectableDeclaration<AuthorizationGuardService>;
}
