import { Mindmap } from '..';
import PersistenceManager from './PersistenceManager';
declare class RESTPersistenceManager extends PersistenceManager {
    private documentUrl;
    private revertUrl;
    private lockUrl;
    private timestamp;
    private session;
    private onSave;
    private clearTimeout;
    constructor(options: any);
    saveMapXml(mapId: string, mapXml: Document, pref: string, saveHistory: boolean, events: any, sync: boolean): void;
    discardChanges(mapId: string): void;
    unlockMap(mindmap: Mindmap): void;
    private _buildError;
    loadMapDom(mapId: string): Document;
}
export default RESTPersistenceManager;
