/**
* Escapes characters unsafe for HTML attributes and text content.
* Also escapes '{' and '}' characters using HTML entities
* to prevent Svelte from interpreting them as template syntax.
*
* @param str The string to escape.
* @returns The escaped string.
*/
export declare const escapeHtml: (str: string) => string;