/**
* @internal
*/
export declare function htmlEscape(string?: string): string;
/**
* @internal
*/
export declare function getJSON(url: string, params: Record, signal?: AbortSignal): Promise;
/**
* Sets the HTML content of an element, sanitized by the Sanitizer API's `setHTML()` where
* supported (removes scripts, event handlers and other XSS-unsafe markup), via `innerHTML` otherwise
* @internal
*/
export declare function setSafeHTML(element: Element, html: string): void;
/**
* @internal
*/
export declare function template(str: string, data: Record): string;