declare class EditTool { private _viewer; private _anchorLayer; private _options; private _plotEvent; private _tooltipMess; private _pickedAnchor; private _isMoving; private _anchors; constructor(); set tooltipMess(tooltipMess: any); /** * * @param e * @returns {boolean} * @private */ _onClick(e: any): boolean; /** * * @param e * @private */ _onMouseMove(e: any): boolean; /** * * @param e * @private */ _onRightClick(e: any): void; /** * * @param position * @param index * @param isCenter * @param isMid * @private */ _onCreateAnchor({ position, index, isCenter, isMid }: { position: any; index: any; isCenter?: boolean; isMid?: boolean; }): void; /** * * @param index * @param position * @private */ _onUpdateAnchor({ index, position }: { index: any; position: any; }): void; /** * * @private */ _onClearAnchor(): void; /** * * @private */ _bindEvent(): void; /** * * @private */ _unbindEvent(): void; /** * * @param type * @param callback * @param context * @returns {EditTool} */ on(type: any, callback: any, context: any): this; /** * * @param type * @param callback * @param context * @returns {EditTool} */ off(type: any, callback: any, context: any): this; /** * * @param type * @param parmas * @returns {EditTool} */ fire(type: any, parmas: any): this; /** * * @param options * @returns {EditTool} */ activate(options?: {}): this; /** * * @returns {EditTool} */ deactivate(): this; /** * * @param viewer */ install(viewer: any): void; } export default EditTool;