import { TdrawType, IOptions, Tdata } from '../Type/draw'; import { Position } from '../geojsonType'; declare class Draw { scene: any; drawer: any; options: IOptions; __type: string; __initialData: Tdata; constructor(scene: any, type: TdrawType); setOptions: (options?: IOptions) => this; setData: (data: Tdata) => this; returnPointData: (data: Position) => { type: string; properties: {}; geometry: { type: any; coordinates: Position; }; }; add: () => this; show: () => this; disable: () => this; getData: () => any; clear: () => this; revert: () => this; redo: () => this; dragEnd: (callback: any) => this; edit: (callback: any) => this; } export default Draw;