import { HttpErrorResponse } from '@angular/common/http'; import * as i0 from "@angular/core"; export interface IErrorResult { title: string; message?: string; enableHtml?: boolean; closeButton?: boolean; } export declare abstract class ErrorHandler { abstract processError(er: HttpErrorResponse): IErrorResult; toErrorResult(error?: string): IErrorResult; } export declare class DefaultErrorHandler extends ErrorHandler { processError(er: HttpErrorResponse): IErrorResult; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } /** *Machine readable error * * @export * @class MrErrorHandler * @extends {ErrorHandler} */ export declare class MrErrorHandler extends ErrorHandler { formatterFunc: (line: string) => string; processError(er: HttpErrorResponse): IErrorResult; protected format(error: any): string; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }