/**
 * @packageDocumentation
 * @module authorization
 */
import { DialogService } from '@alauda/ui';
import { HttpHandler, HttpInterceptor, HttpRequest } from '@angular/common/http';
import { Injector } from '@angular/core';
import { ApiGatewayService } from '../api/public-api';
import { TranslateService } from '../translate/translate.service';
import { SessionManageService } from './session-manage.service';
export declare class AuthorizationInterceptorService implements HttpInterceptor {
    private readonly anonymousApis;
    private readonly apiGateway;
    private readonly injector;
    private readonly translate;
    private readonly dialog;
    private readonly sessionManage;
    private auth;
    constructor(anonymousApis: Array<string | RegExp>, apiGateway: ApiGatewayService, injector: Injector, translate: TranslateService, dialog: DialogService, sessionManage: SessionManageService);
    intercept(req: HttpRequest<unknown>, next: HttpHandler): import("rxjs").Observable<import("@angular/common/http").HttpEvent<any>>;
    isConsoleRelative(url: string): boolean;
    private retryAuth;
    private cloneReq;
    private getAuth;
    private needAuthorization;
    private isSessionInvalid;
    private handleSessionInvalid;
    private isUnauthorized;
    private isStatus;
    private isWatchReq;
}
