UNPKG

@zyf2e/mitojs

Version:

A SDK for monitoring browser errors

14 lines (13 loc) 580 B
import { InitOptions } from '@/types/options'; import { ReportDataType } from '@/types/transportData'; import { Severity } from './Severity'; 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: Severity): ReportDataType;