import { ArrowElement } from '../elements'; import { ArrowBindingService } from '../elements/arrow-binding.service'; import { ConnectionPointsService } from '../elements/connection-points.service'; import { ConnectionUIService } from '../elements/connection-ui.service'; import { Point, PointerInfo, ToolType } from '../types'; import { BaseTool } from './base-tool'; import { CursorType } from '../types/cursors'; export declare class ArrowTool extends BaseTool { type: ToolType; baseCursor: CursorType; element: ArrowElement | null; startPoint: Point | null; private lastX; private lastY; private readonly MIN_LENGTH; private readonly SNAP_RADIUS; private startSnap; private endSnap; private connectionPointsService; private arrowBindingService; private connectionUIService; setConnectionServices(cp: ConnectionPointsService, ab: ArrowBindingService, ui: ConnectionUIService): void; onDeactivate(): void; handlePointerDown(event: PointerInfo): void; handlePointerMove(event: PointerInfo): void; handlePointerUp(): void; private getElementStyle; /** Map a config ArrowHeadStyle string to the ArrowheadType enum value */ private mapHeadStyle; }