@honeybadger-io/js
Version:
Universal (Browser & Node) JavaScript error notifier for Honeybadger.io
19 lines • 753 B
TypeScript
/**
* Converts an HTMLElement into a human-readable string.
* @param {!HTMLElement} element
* @return {string}
*/
export declare function stringNameOfElement(element: HTMLElement): string;
export declare function stringSelectorOfElement(element: any): any;
export declare function stringTextOfElement(element: any): any;
export declare function nativeFetch(): boolean;
export declare function parseURL(url: string): {
protocol: any;
host: any;
pathname: any;
};
export declare function localURLPathname(url: string): any;
export declare function decodeCookie(string: string): Record<string, unknown>;
export declare function encodeCookie(object: any): string;
export declare const preferCatch: boolean;
//# sourceMappingURL=util.d.ts.map