/** * Escapes special characters and HTML entities in a given html string. * * @param text HTML string to escape for later insertion * @return An escaped string. */ export declare function escapeHtml(text: string): string; /** * Escapes text to prevent scripting attacks. * * @param text Text value to escape. * @return An escaped string. */ export declare function escapeTextForBrowser(text: string | boolean | number): string;