export function addLink(node: any, transformChildren: any): any; /** * Returns an escaped conversion of a content. * * @param {string} content * @returns {string} */ export function escapeAndCompactTextContent(content: string): string; export function getTextToHTML(text: any): any; /** * @param {string} htmlString * @return {string} */ export function htmlToTextContentInline(htmlString: string): string; export function inline(node: any, transform_children: any): any; /** * @param {string} text * @param {Object} [attrs={}] * @return {string} linkified text */ export function linkify(text: string, attrs?: Object | undefined): string; /** * WARNING: this is not enough to unescape potential XSS contained in htmlString, transformFunction * should handle it or it should be handled after/before calling parseAndTransform. So if the result * of this function is used in a t-raw, be very careful. * * @param {string} htmlString * @param {function} transformFunction * @returns {string} */ export function parseAndTransform(htmlString: string, transformFunction: Function): string; export function parseEmail(text: any): any[] | undefined; export function stripHTML(node: any, transformChildren: any): any; export function timeFromNow(date: any): any;