import { DomElement } from 'htmlparser2';
export type TextElement = DomElement;
export type MbNode = DomElement & cheerio.Element & {
name: string;
attribs: Record;
children: NodeOrText[];
};
export type NodeOrText = TextElement | MbNode;
/**
* Utility function for converting HTML string to a node or text element.
*/
export declare function parseHTML(html: string): NodeOrText[];
//# sourceMappingURL=node.d.ts.map