import { Injector } from '@angular/core';
import { HttpErrorResponse, HttpEvent, HttpHandler, HttpInterceptor, HttpRequest } from '@angular/common/http';
import { Router } from '@angular/router';
import { Observable } from 'rxjs';
import { HttpErrorHandlerConfig, HttpErrorRouteConfig } from '@eui/base';
import * as i0 from "@angular/core";
export declare class HttpErrorHandlerInterceptor implements HttpInterceptor {
    protected config: HttpErrorHandlerConfig;
    protected injector: Injector;
    protected router: Router;
    constructor(config: HttpErrorHandlerConfig, injector: Injector, router: Router);
    intercept(req: HttpRequest<any>, next: HttpHandler): Observable<HttpEvent<any>>;
    /**
     * Search in the configuration for the first matching route
     *
     * @param error http error response
     * @returns HttpErrorRouteConfig or null
     */
    protected getRouteConfig(error: HttpErrorResponse): HttpErrorRouteConfig | null;
    static ɵfac: i0.ɵɵFactoryDeclaration<HttpErrorHandlerInterceptor, never>;
    static ɵprov: i0.ɵɵInjectableDeclaration<HttpErrorHandlerInterceptor>;
}
//# sourceMappingURL=http-error-handler.interceptor.d.ts.map