//#region src/mathml/nodes.d.ts interface MathMlAttribute { readonly name: string; readonly value: string; } interface MathMlElement { readonly type: "element"; readonly tag: string; readonly attributes: readonly MathMlAttribute[]; readonly children: readonly MathMlNode[]; } interface MathMlText { readonly type: "text"; readonly value: string; } type MathMlNode = MathMlElement | MathMlText | { readonly type: "cdata" | "comment" | "declaration" | "pi"; }; declare function isMathMlElement(node: MathMlNode): node is MathMlElement; declare function localName(tag: string): string; declare function elementLocalName(element: MathMlElement): string; declare function attrValue(element: MathMlElement, name: string): string | undefined; declare function elementChildren(node: MathMlElement): readonly MathMlElement[]; declare function firstChildByLocalName(node: MathMlElement, name: string): MathMlElement | undefined; declare function textContent(node: MathMlNode): string; //#endregion export { attrValue as a, firstChildByLocalName as c, textContent as d, MathMlText as i, isMathMlElement as l, MathMlElement as n, elementChildren as o, MathMlNode as r, elementLocalName as s, MathMlAttribute as t, localName as u };