import type { Types } from '@cornerstonejs/core'; import { AnnotationTool } from '../base'; import type { EventTypes, ToolHandle, PublicToolProps, ToolProps, SVGDrawingHelper, Annotation } from '../../types'; import type { AngleAnnotation } from '../../types/ToolSpecificAnnotationTypes'; declare class AngleTool extends AnnotationTool { static toolName: string; angleStartedNotYetCompleted: boolean; _throttledCalculateCachedStats: Function; editData: { annotation: Annotation; viewportIdsToRender: string[]; handleIndex?: number; movingTextBox?: boolean; newAnnotation?: boolean; hasMoved?: boolean; } | null; isDrawing: boolean; isHandleOutsideImage: boolean; constructor(toolProps?: PublicToolProps, defaultToolProps?: ToolProps); static hydrate: (viewportId: string, points: Types.Point3[], options?: { annotationUID?: string; toolInstance?: AngleTool; referencedImageId?: string; viewplaneNormal?: Types.Point3; viewUp?: Types.Point3; }) => AngleAnnotation; addNewAnnotation: (evt: EventTypes.InteractionEventType) => AngleAnnotation; isPointNearTool: (element: HTMLDivElement, annotation: AngleAnnotation, canvasCoords: Types.Point2, proximity: number) => boolean; toolSelectedCallback: (evt: EventTypes.InteractionEventType, annotation: AngleAnnotation) => void; handleSelectedCallback(evt: EventTypes.InteractionEventType, annotation: AngleAnnotation, handle: ToolHandle): void; _endCallback: (evt: EventTypes.InteractionEventType) => void; _dragCallback: (evt: EventTypes.InteractionEventType) => void; cancel: (element: HTMLDivElement) => string; _activateModify: (element: HTMLDivElement) => void; _deactivateModify: (element: HTMLDivElement) => void; _activateDraw: (element: HTMLDivElement) => void; _deactivateDraw: (element: HTMLDivElement) => void; renderAnnotation: (enabledElement: Types.IEnabledElement, svgDrawingHelper: SVGDrawingHelper) => boolean; _calculateCachedStats(annotation: any, renderingEngine: any, enabledElement: any): any; } export default AngleTool;