import { Feature } from 'ol';
import { Extent } from 'ol/extent';
import { Geometry } from 'ol/geom';
import { Style } from 'ol/style';
import XMap from "./XMap";
/**
 * 地图上面的最上面的图层
 * 绘制图形工具——拉框、定位范围等
 */
declare class DrawFeatureTool {
    private xmap;
    /**
     * 矢量绘制样式
     */
    featureStyle: Style;
    private targetSource;
    private targetVectorLayer;
    private defaultStyle;
    constructor(xmap: XMap, drawStyle?: Style);
    private initVectorLayer;
    reinitVectorLayer(): void;
    removeVectorLayer(): void;
    clear(): void;
    addFeature(fea: Feature): void;
    addGeometry(geom: Geometry): void;
    /**
     * 定位添加范围84
     * @param extent
     */
    addExtent84(extent: Extent): void;
    get TargetVectorLayer(): any;
    set FeatureStyle(feaStyle: Style);
}
export default DrawFeatureTool;
