import { HttpEvent, HttpHandler, HttpInterceptor, HttpRequest } from '@angular/common/http'; import { Observable } from 'rxjs'; import { AlertService } from '../components/alert/alert.service'; import { L10nTranslationService, L10nLocale } from 'angular-l10n'; import * as i0 from "@angular/core"; /** * @description HttpInterceptor that handles some specific errors that may occur when requesting data from a plentymarkets system. It also * logs errors to the console when serving in development mode. */ export declare class ErrorInterceptor implements HttpInterceptor { private _alertService; private _translation; private _locale; constructor(_alertService: AlertService, _translation: L10nTranslationService, _locale: L10nLocale); intercept(req: HttpRequest, next: HttpHandler): Observable>; private _getMissingPermissionTranslations; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }