/** * Copyright © 2025 Anonyome Labs, Inc. All rights reserved. * * SPDX-License-Identifier: Apache-2.0 */ export declare function generateHash(cleartext: string): string; export declare function htmlToPlaintext(html: string): string; export declare function escapeBackslashesAndDoubleQuotes(unescaped: string): string; /** * This function will insert a `\n` into the string every lineLength characters. * It's main use is to ensure compliance with the RFC5322 (https://www.ietf.org/rfc/rfc5322.txt#:~:text=Each%20line%20of%20characters%20MUST,998%20characters%20on%20a%20line.) * suggestion to have no more than 78 characters in a line, hence the default lineLength value of 78 * @param {string} str * @param {number} lineLength * @returns {string} */ export declare function insertLinebreaks(str: string, lineLength?: number): string;