import { ErrorHandler } from '@angular/core'; import { HttpErrorResponse, HttpRequest, HttpEvent, HttpHandler } from '@angular/common/http'; import { ApplicationInsightsService } from './application-insights.service'; import { Observable, Subject } from 'rxjs'; import { SpaControlService } from './spa-control.service'; import { Logger } from './logger.service'; import { TranslocoService } from '@ngneat/transloco'; import { MessageService } from './message.service'; import { DialogService } from './dialog.service'; import { RootAuthenticationResponse } from '../api/root-authentication'; import * as i0 from "@angular/core"; export declare class SpaErrorHandlingService extends ErrorHandler { private spaControl; private appInsightsService; private logger; private transloco; dialogService: DialogService; private messageService; refreshRootTokenSubject: Subject; constructor(spaControl: SpaControlService, appInsightsService: ApplicationInsightsService, logger: Logger, transloco: TranslocoService, dialogService: DialogService, messageService: MessageService); handleError(error: any): void; private refreshRootTokenAndRetry; onApiError: (err: HttpErrorResponse, request: HttpRequest, next: HttpHandler) => Observable>; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }