import { ElementClass, ElementPeer, Group } from '@wisemapping/web2d';
import DragPivot from './DragPivot';
import LayoutManager from './layout/LayoutManager';
import NodeGraph from './NodeGraph';
import PositionType from './PositionType';
import Topic from './Topic';
import Canvas from './Canvas';
declare class DragTopic {
    private _elem2d;
    private _order;
    private _draggedNode;
    private _layoutManager;
    private _position;
    private _isInWorkspace;
    static _dragPivot: DragPivot;
    constructor(dragShape: Group, draggedNode: NodeGraph, layoutManger: LayoutManager);
    setOrder(order: number): void;
    setPosition(x: number, y: number): void;
    setVisibility(value: boolean): void;
    isVisible(): boolean;
    getInnerShape(): ElementClass<ElementPeer>;
    disconnect(workspace: Canvas): void;
    connectTo(parent: Topic): void;
    getDraggedTopic(): Topic;
    removeFromWorkspace(workspace: Canvas): void;
    isInWorkspace(): boolean;
    addToWorkspace(workspace: Canvas): void;
    private _getDragPivot;
    getPosition(): PositionType;
    isDragTopic(): boolean;
    applyChanges(workspace: Canvas): void;
    getConnectedToTopic(): Topic | null;
    isConnected(): boolean;
    isFreeLayoutOn(): false;
    static init(workspace: Canvas): void;
}
export default DragTopic;
