import { TranslateService } from '@ngx-translate/core'; import { HttpClient } from '@angular/common/http'; import { ThyDialog, ThyNotifyService, ThyPopBoxService } from 'ngx-tethys'; export interface ErrorHandlerOptions { showDetail?: boolean; ignoreErrorCodes?: number[]; } export declare class UtilService { dialog: ThyDialog; notify: ThyNotifyService; pbox: ThyPopBoxService; translate: TranslateService; http: HttpClient; constructor(dialog: ThyDialog, notify: ThyNotifyService, pbox: ThyPopBoxService, translate: TranslateService, http: HttpClient); private _getDefaultErrorMessage; private _defaultErrorHandler; defaultErrorHandler(message?: string, options?: ErrorHandlerOptions): (response: any) => void; defaultErrorHandlerByTranslateKey(messageTranslateKey: string, options?: ErrorHandlerOptions): void; pureErrorHandler(message?: string): (response: any) => void; pureErrorHandlerByTranslateKey(messageTranslateKey: string): (response: any) => void; instantByObject(object: any): any; }