import { TouchController, Vector2 } from 'touchcontroller'; import { Rect } from './Rect'; export declare class PlaygroundActive { svgElement: SVGElement | HTMLElement; anchorElement: HTMLElement; debugLayer: { canvas: HTMLCanvasElement; offset: Vector2; } | null; private getScroll; rects: Rect[]; debugCanvasElementCtx: CanvasRenderingContext2D | null; offset: Vector2; initialScroll: Vector2; private playgroundDraggingLayerSvg; constructor(svgElement: SVGElement | HTMLElement, //todo what is propper type to HTMLSVGELement? anchorElement: HTMLElement, //public touchcontroller: touchcontroller, debugLayer: { canvas: HTMLCanvasElement; offset: Vector2; } | null, getScroll: () => Vector2); private getScrollDelta; private _parseSvg; addSvgGroup(groupElement: SVGGElement): void; addRect(rect: Rect): void; touchController: TouchController; private _initializeTouches; private _renderLoopTick; private subscribers; subscribe(callback: Function): void; private subscribersCall; }