/**
 * Provides utilities for the xml-serialization.
 */
export declare class XML {
    /**
     * Creates a new xml-document.
     *
     * @param tagName
     * The name of the tag of the {@link Document.documentElement `documentElement`}.
     *
     * @returns
     * The newly created document.
     */
    static CreateDocument(tagName: string): Document;
    /**
     * Formats xml-code.
     *
     * @param xml
     * The xml-code to format.
     *
     * @returns
     * The formatted xml-code.
     */
    static Format(xml: string): string;
    /**
     * Formats an element.
     *
     * @param element
     * The element to format.
     *
     * @param indent
     * The indentation of the element itself.
     */
    protected static FormatElement(element: Element, indent?: string): void;
}
