import { XMLElement } from './XMLElement';
export declare class XMLElementBuilder implements XMLElement {
    type: string;
    name: string;
    attributes: {
        [name: string]: string;
    };
    elements: XMLElementBuilder[];
    parent: XMLElementBuilder;
    constructor(name: string, attributes?: any, parent?: XMLElementBuilder);
    toXML(includeDeclaration?: boolean): string;
    toJSON(includeDeclaration?: boolean): string;
    ele(name: string, attributes?: any, insertAtStart?: boolean): XMLElementBuilder;
    findNamespace(namespace: string): string;
    protected static exportFindNamespace(element: XMLElementBuilder): (ns: string) => string;
    add<T>(element: any[]): T[];
    add<T>(element: any): T;
}
