import { Canvas } from '../derived/Canvas'; import { fabric } from "fabric"; import { EBoardCanvas } from '../EBoardCanvas'; import { IBrushContext } from '../interface/IBrush'; declare class RectDispatch { private canvas; private readonly context; private eBoardCanvas; private _promise; getObject(objectId: string): fabric.Object; constructor(canvas: Canvas, context: IBrushContext, eBoardCanvas: EBoardCanvas); onDraw(objectId: string, timestamp: number, attributes: any, animation: boolean, wbNumber: string, pageNum?: number): void; } export { RectDispatch };