import Node from './Node'; export declare enum PhraseType { END = 0, START = 1, TEXT = 2, } export declare class Phrase { type: PhraseType; value: string; constructor(type: PhraseType, value: string); } export default class Parser { /** * Parses an XML string to produce a tree structure. * @param {String} input XML string input to transform into a tree. * @return {Node} The tree containing the parsed XML. */ static parseXML(input: string): Node; static _parseXMLInternal(phrases: Phrase[], index: number, inputTagName: string, parent: Node): number; }