/**
 * @author Thomas Barnekow
 * @license MIT
 */
import { XContainer, XDeclaration, XElement } from './internal.js';
/**
 * Represents an XML document.
 */
export declare class XDocument extends XContainer {
    private _declaration;
    constructor(declaration: XDeclaration | null, ...contentArray: any[]);
    constructor(...contentArray: any[]);
    static load(xmlDocument: XMLDocument): XDocument;
    static parse(text: string): XDocument;
    private static preprocess;
    get declaration(): XDeclaration | null;
    set declaration(value: XDeclaration | null);
    get root(): XElement | null;
    toString(): string;
}
