import { HttpErrorResponse } from '@angular/common/http'; import * as i0 from "@angular/core"; export declare class ErrorMessageService { errorInfo: any; /** * This method converts the client side error to string when the message not found in error; else returns the error message * @param {Error} error * @return {string} * @memberof ErrorMessageService */ getClientErrorMessage(error: Error): string; /** * This method detects whether the navigator is online or not, and returns the HttpErrorResponse when navigator is online else "No internet connection" * @param {HttpErrorResponse} error * @return {error} * @memberof ErrorMessageService */ getServerErrorMessage(error: HttpErrorResponse): {}; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }