export declare type AttributeDictionary = { [key: string]: string; }; export declare class XmlNode { context: Node; nodeName: string; type: number; text: string; private $children; private $attributes; constructor(ele: Node); get children(): XmlNode[]; get attributes(): AttributeDictionary; } export declare class XmlParser { private static $parser; static tryParse(xmlstring: string, mimeType?: any): XmlNode; static getXmlRoot(xml: XmlNode): XmlNode; static getChildNodes(xml: XmlNode, matchName?: string): XmlNode[]; static getNodeAttributes(xml: XmlNode): AttributeDictionary; }