/**
 * Escapes HTML special characters in a string.
 * @param str - The string to escape
 * @returns The escaped string
 */
export declare function escapeHTML(str: string | undefined): string | undefined;
/**
 * Escapes newline characters in a string (Supports Windows and Unix newlines).
 * @param str - The string to escape
 * @returns The escaped string
 */
export declare function escapeNewline(str: string): string;
