import Mindmap from '../model/Mindmap';
import NodeModel from '../model/NodeModel';
import RelationshipModel from '../model/RelationshipModel';
import XMLMindmapSerializer from './XMLMindmapSerializer';
declare class XMLSerializerPela implements XMLMindmapSerializer {
    private static MAP_ROOT_NODE;
    private _idsMap;
    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;
    /**
       * @param dom
       * @param mapId
       * @throws will throw an error if dom is null or undefined
       * @throws will throw an error if mapId is null or undefined
       * @throws will throw an error if the document element is not consistent with a wisemap's root
       * element
       */
    loadFromDom(dom: Document, mapId: string): Mindmap;
    protected _deserializeNode(domElem: Element, mindmap: Mindmap): NodeModel;
    static _deserializeTextAttr(domElem: Element): string;
    static _deserializeNodeText(domElem: any): any;
    static _deserializeRelationship(domElement: any, mindmap: any): any;
    /**
       * 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 XMLSerializerPela;
