/**
* Strip HTML to ~30 basic markup HTML tags, lists, tables, images.
* Convert anchors and relative urls to absolute urls. Basic HTML supports the same
* elements as Markdown, which is used in writing plain text. Markdown is converted
* to HTML anyways to display it, and it is better to edit basic HTML in a rich text editor.
*
* [Mozilla DOM Reference](https://developer.mozilla.org/en-US/docs/Web/API/Document_Object_Model)
* [Source Code of Browser HTML DOM](https://chromium.googlesource.com/chromium/src/+/HEAD/third_party/blink/renderer/core/dom/)
* [RegExp JS V8 Code](https://github.com/v8/v8/blob/94cde7c7f3fffc62f621e43f65be3d517b8a9f3d/src/regexp/regexp-compiler.cc#L3827)
* @param {string} html Any page's HTML to process
* @param {Object} [options]
* @param {boolean} options.images default=true - Whether to include images
* @param {boolean} options.links default=true - Whether to include links
* @param {boolean} options.videos default=true - Whether to include videos or not
* @param {boolean} options.formatting default=true - Whether to include formatting
* @param {string} options.url base URL for converting relative URLs to absolute
* @param {string} options.allowTags default="br,p,u,b,i ,em,strong,h1,h2,h3,h4, h5,h6,blockquote,
* code,ul,ol,li,dd,dl, table,th,tr,td,sub,sup" - Comma-separated list of allowed HTML tags.
* @param {string} options.allowedAttributes default="text,tag,href, src,type,width, height,id,data"
* List of allowed HTML attributes
* @returns {string} basic text formatting html
* @author [vtempest (2025)](https://github.com/vtempest)
* @category HTML Utilities
*/
export declare function convertHTMLToBasicHTML(html: any, options?: {}): any[];
/**
* Convert html string to array of JSON Objects tokens to translate,
* convert, or filter all elements.
* Flat array is faster than DOMParser which uses nested trees.
* @param {string} html
* @returns {array} Example [{"tag": "img","src": ""}, ...]
* @private
*/
export declare function convertHTMLToTokens(html: any): any[];
export declare function addDOMFunctions(domObject: any): any;