import Mindmap from '../model/Mindmap';
import XMLMindmapSerializer from './XMLMindmapSerializer';
declare class XMLSerializerFactory {
    /**
     * @param {mindplot.model.IMindmap} mindmap
     * @return {mindplot.persistence.XMLSerializer_Beta|mindplot.persistence.XMLSerializer_Pela|
     * mindplot.persistence.XMLSerializer_Tango} serializer corresponding to the mindmap's version
     */
    static createInstanceFromMindmap(mindmap: Mindmap): XMLMindmapSerializer;
    /**
     * @param domDocument
     * @return serializer corresponding to the mindmap's version
     */
    static createInstanceFromDocument(domDocument: Document): XMLMindmapSerializer;
    /**
     * retrieves the serializer for the mindmap's version and migrates to the current version,
     * e.g. for a Beta mindmap and current version Tango:
     * serializer = new Pela2TangoMigrator(new Beta2PelaMigrator(new XMLSerializer_Beta()))
     * @param {String} version the version name
     * @return serializer
     */
    static getSerializer(version?: string): XMLMindmapSerializer;
}
export default XMLSerializerFactory;
