import { ElementClass as Element2D } from '@wisemapping/web2d';
import ScreenManager from './ScreenManager';
import SizeType from './SizeType';
declare class Workspace {
    private _zoom;
    private _screenManager;
    private _isReadOnly;
    private _containerSize;
    private _workspace;
    private _eventsEnabled;
    private _visibleAreaSize;
    constructor(screenManager: ScreenManager, zoom: number, isReadOnly: boolean);
    private _adjustWorkspace;
    isReadOnly(): boolean;
    private _createWorkspace;
    append(shape: Element2D): void;
    removeChild(shape: Element2D): void;
    addEvent(type: string, listener: (event: Event) => void): void;
    removeEvent(type: string, listener: (event: Event) => void): void;
    getSize(): SizeType;
    setZoom(zoom: number, center?: boolean): void;
    getScreenManager(): ScreenManager;
    enableWorkspaceEvents(value: boolean): void;
    isWorkspaceEventsEnabled(): boolean;
    getSVGElement(): any;
    private _registerDragEvents;
}
export default Workspace;
