import { ErrorHandler, Injector } from '@angular/core'; import { HttpErrorResponse } from '@angular/common/http'; import * as i0 from "@angular/core"; /** * Global error handler. Used it by adding to provider of the root module */ export declare class VedraxErrorHandler implements ErrorHandler { private injector; errorReporting: any; constructor(injector: Injector); handleError(error: Error | HttpErrorResponse): void; private redirectToErrorPage; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }