import { IErrorResponse } from '.'; export interface IHandledError { statusCode: number; response: IErrorResponse; } export declare class ErrorHandlerService { private static readonly DEFAULT_ERROR_MESSAGE; private static readonly VALIDATION_ERROR_MESSAGE; private static readonly DATABASE_ERROR_MESSAGE; private static readonly BUSINESS_ERROR_MESSAGE; private static readonly TIMEOUT_ERROR_MESSAGE; private static readonly INVALID_JSON_MESSAGE; handleError(error: any): IHandledError; private isValidationError; private isTimeoutError; private isJsonSyntaxError; private handleValidationError; private handleHttpError; private handleDatabaseError; private handleBusinessError; private handleTimeoutError; private handleJsonError; private handleUnknownError; }