export default RotateTool; declare function RotateTool(editor: any, dir: any): RotateTool | null; declare class RotateTool { constructor(editor: any, dir: any); editor: any; mousedown(event: any): boolean; dragCtx: { xy0: Vec2; angle1: number; } | undefined; mousemove(event: any): boolean; mouseup(): boolean; cancel: any; mouseleave: any; } import Vec2 from "../../util/vec2";