import { HttpEvent, HttpInterceptor, HttpHandler, HttpRequest } from '@angular/common/http';
import { Observable } from 'rxjs';
import { AuthService } from '../auth';
import { AbstractAppConfig } from '../../../app.config';
export declare class HttpErrorInterceptor implements HttpInterceptor {
    private appConfig;
    private authService;
    static readonly GENERIC_ERROR_MSG = "A network error occurred while making a request";
    private static readonly CONTENT_TYPE;
    private static readonly JSON;
    constructor(appConfig: AbstractAppConfig, authService: AuthService);
    intercept(request: HttpRequest<any>, next: HttpHandler): Observable<HttpEvent<any>>;
    private isNetworkError;
    private processNetworkError;
    private processBackendError;
    private doRedirect;
}
