import { IHandleErrorConfig } from './interfaces/IRepairError'; export declare class ErrorService { private handlers; register(fn: (error: Error, config?: IHandleErrorConfig) => void): void; handleError(error: Error, config?: IHandleErrorConfig): void; }