export declare class XmlWriter { private static readonly quoteChar; private readonly _encoding; private readonly _indent; private _xml; private _state; private _contextStack; WriteStartDocument(standalone?: boolean): void; WriteComment(text: string): void; WriteStartElement(localName: string): void; WriteStartElement(localName: string, ns: string): void; WriteStartElement(localName: string, ns: string, prefix: string): void; WriteString(text: string): void; WriteElementString(localName: string, value: string, ns: string, prefix: string): void; WriteAttributeString(localName: string, value: string): void; WriteAttributeString(localName: string, value: string, ns: string): void; WriteAttributeString(localName: string, value: string, ns: string, prefix: string): void; WriteEndElement(): void; Flush(): void; close(): void; getXml(): string; private getPrefixFromAncestors; private peekContextStack; private static generatePrefix; private completeStartElement; private throwInvalidState; private addNamespace; private writeIndent; private write; private writeNamespaceAttributes; private getNamespacesNotInAncestors; private writeNamespaceAttribute; private static getPrefixedName; } //# sourceMappingURL=xml-writer.d.ts.map