/**
 * @packageDocumentation
 * @module license
 */
import { InjectionToken } from '@angular/core';
import { ActivatedRouteSnapshot, CanActivate, CanActivateChild, RouterStateSnapshot } from '@angular/router';
import { SilentlyNavigateService } from '../utils/silently-navigate.service';
import { LicenseService } from './license.service';
export declare const DEFAULT_LICENSE_ERROR_URL = "license-error";
export declare function defaultLicenseErrorUrlFactory(): string;
export declare const LICENSE_ERROR_URL_TOKEN: InjectionToken<string>;
export declare class LicenseGuardService implements CanActivate, CanActivateChild {
    private readonly errorUrl;
    private readonly emptyUrl;
    private readonly silentlyNavigate;
    private readonly licenseService;
    constructor(errorUrl: string, emptyUrl: string, silentlyNavigate: SilentlyNavigateService, licenseService: LicenseService);
    canActivate(_route: ActivatedRouteSnapshot, state: RouterStateSnapshot): import("rxjs").Observable<boolean>;
    canActivateChild(route: ActivatedRouteSnapshot, state: RouterStateSnapshot): import("rxjs").Observable<boolean>;
}
