//#region src/main/parser/tree-builder.d.ts type NS = 'html' | 'svg' | 'mathml'; interface ElementNode { type: 'element'; name: string; namespace: NS; attrs: Array<[string, string]>; children: TreeNode[]; parent: ParentNode | null; } interface TextNode { type: 'text'; value: string; parent: ParentNode | null; } interface CommentNode { type: 'comment'; value: string; parent: ParentNode | null; } interface DoctypeNode { type: 'doctype'; name: string; publicId: string; systemId: string; parent: ParentNode | null; } interface DocumentNode { type: 'document'; children: TreeNode[]; } type TreeNode = ElementNode | TextNode | CommentNode | DoctypeNode; type ParentNode = ElementNode | DocumentNode; //#endregion export { NS as a, TreeNode as c, ElementNode as i, DoctypeNode as n, ParentNode as o, DocumentNode as r, TextNode as s, CommentNode as t }; //# sourceMappingURL=tree-builder-fO9Gka1f.d.mts.map