import { InjectionToken } from '@angular/core';
import { HttpEvent, HttpHandler, HttpInterceptor, HttpRequest } from '@angular/common/http';
import { Observable } from 'rxjs';
import { ErrorMappingHandler } from '@eui/base';
import * as i0 from "@angular/core";
export declare const UX_ERROR_MAPPING_HANDLER_TOKEN: InjectionToken<ErrorMappingHandler>;
export declare class UxRequestErrorModelInterceptor implements HttpInterceptor {
    private errorMappingHandler;
    constructor(errorMappingHandler: ErrorMappingHandler);
    intercept(req: HttpRequest<any>, next: HttpHandler): Observable<HttpEvent<any>>;
    static ɵfac: i0.ɵɵFactoryDeclaration<UxRequestErrorModelInterceptor, never>;
    static ɵprov: i0.ɵɵInjectableDeclaration<UxRequestErrorModelInterceptor>;
}
//# sourceMappingURL=ux-request-error-model.interceptor.d.ts.map