UNPKG

@zyf2e/mitojs

Version:

A SDK for monitoring browser errors

14 lines (13 loc) 584 B
import { ERRORLEVELS } from '@/common'; import { InitOptions } from '@/types/options'; import { ReportDataType } from '@/types/transportData'; export declare function getApiKey(): undefined | string; export declare function htmlElementAsString(target: HTMLElement): string; export declare function parseUrlToObj(url: string): { host?: string; path?: string; protocol?: string; relative?: string; }; export declare function setSilentFlag(opitons?: InitOptions): void; export declare function extractErrorStack(ex: any, level: ERRORLEVELS): ReportDataType;