import Mindmap from '../model/Mindmap';
import NodeModel from '../model/NodeModel';
import RelationshipModel from '../model/RelationshipModel';
import XMLMindmapSerializer from './XMLMindmapSerializer';
declare class XMLSerializerTango implements XMLMindmapSerializer {
    private static MAP_ROOT_NODE;
    private _idsMap;
    constructor();
    toXML(mindmap: Mindmap): Document;
    protected _topicToXML(document: Document, topic: NodeModel): HTMLElement;
    protected _noteTextToXML(document: Document, elem: Element, text: string): void;
    static _relationshipToXML(document: Document, relationship: RelationshipModel): HTMLElement;
    loadFromDom(dom: Document, mapId: string): Mindmap;
    protected _deserializeNode(domElem: Element, mindmap: Mindmap): NodeModel;
    static _deserializeTextAttr(domElem: Element): string;
    private static emojiEquivalent;
    private static _deserializeNodeText;
    private static _deserializeRelationship;
    /**
     * This method ensures that the output String has only
     * valid XML unicode characters as specified by the
     * XML 1.0 standard. For reference, please see
     * <a href="http://www.w3.org/TR/2000/REC-xml-20001006#NT-Char">the
     * standard</a>. This method will return an empty
     * String if the input is null or empty.
     *
     * @param in The String whose non-valid characters we want to remove.
     * @return The in String, stripped of non-valid characters.
     */
    protected _rmXmlInv(str: string): string;
}
export default XMLSerializerTango;
