import { TbxFetch } from "../fetch/fetch"; import { TbxError } from "./error.model"; import { TbxLogService } from "../logging/service/log.service"; import { TbxAppService } from "../services/app/app.service"; import { TbxUrlService } from "../services/url/url.service"; export declare class TbxErrorService { private readonly fetch; private readonly logService; private readonly appService; private readonly urlService; private static singleInstance; constructor(fetch: TbxFetch, logService: TbxLogService, appService: TbxAppService, urlService: TbxUrlService); static readonly instance: TbxErrorService; lastError: TbxError | null; static handleError(error: any, area?: string): Promise; log(error: any): TbxError; submitError(error: TbxError): void; formatError(error: any): TbxError; }