import { Scene } from '@antv/l7'; import { Feature, MultiPolygon, Polygon } from '@turf/turf'; import { IPolygonModeOptions, PolygonMode } from '../mode'; import { DeepPartial, ILayerMouseEvent, IMidPointFeature, IPointFeature, ISceneMouseEvent } from '../typings'; export interface IPolygonDrawerOptions extends IPolygonModeOptions> { liveUpdate: boolean; } export declare class PolygonDrawer extends PolygonMode { constructor(scene: Scene, options: DeepPartial); getDefaultOptions(options: DeepPartial): IPolygonDrawerOptions; setData(data: Feature[]): void; onPointCreate(e: ILayerMouseEvent): IPointFeature | undefined; drawPolygonFinish: () => void; onPointClick(e: ILayerMouseEvent): void; onPointDragging(e: ISceneMouseEvent): IPointFeature | undefined; onLineDragging(e: ISceneMouseEvent): import("../typings").ILineFeature | undefined; onMidPointClick(e: ILayerMouseEvent): IPointFeature | undefined; onSceneMouseMove(e: ISceneMouseEvent): void; onSceneDragEnd(e: ISceneMouseEvent): void; removeNode(node: Feature | string, feature: Feature | string): void; onPointContextMenu(e: ILayerMouseEvent): IPointFeature | undefined; bindPointRenderEvent(): void; enablePointRenderAction(): void; disablePointRenderAction(): void; }