import { Request, Response, NextFunction } from 'express'; export declare class ErrorTreatment { private static instance; private handlersMap; private handlerDefault; logMissingConfigurationError: boolean; private constructor(); static getInstance(): ErrorTreatment; static register(name: string, callBack: Function, defaultHandle?: boolean): void; static getByName(handleName: string): Function | undefined; static list(): Map; static executeHandler(err: any, req: Request, res: Response, next: NextFunction): void; static countRegister(): number; }