import { HttpInterceptor, HttpHandler, HttpRequest, HttpClient, HttpEvent } from "@angular/common/http";
import { Observable } from "rxjs";
import { Router } from "@angular/router";
import { AppConfig } from "./eagna.service";
import { CoreService } from "./core.service";
import * as i0 from "@angular/core";
export declare class EagnaHttpInterceptor implements HttpInterceptor {
    private _router;
    private _http;
    private _appConfig;
    private _coreService;
    private refreshTokenSubject;
    constructor(/* private _eagnaService: EagnaService, */ _router: Router, _http: HttpClient, _appConfig: AppConfig, _coreService: CoreService);
    private _apiUrl;
    private lockedRefreshingToken;
    private refreshAccessToken;
    private addAuthenticationToken;
    intercept(request: HttpRequest<any>, next: HttpHandler): Observable<HttpEvent<any>>;
    static ɵfac: i0.ɵɵFactoryDeclaration<EagnaHttpInterceptor, never>;
    static ɵprov: i0.ɵɵInjectableDeclaration<EagnaHttpInterceptor>;
}
