import { Control } from 'ol/control.js'; import type VectorLayer from 'ol/layer/Vector.js'; import Feature from 'ol/Feature.js'; import { Point, Polygon } from 'ol/geom.js'; import { LatLng } from '../models/LatLng.js'; import { LatLngBounds } from '../models/LatLngBounds.js'; export type DrawTool = 'bbox' | 'polygon' | 'point' | 'circle'; export type Options = { showBboxTool?: boolean; showPolygonTool?: boolean; showPointTool?: boolean; showCircleTool?: boolean; }; export declare class DrawToolbarControl extends Control { #private; protected vectorLayer: VectorLayer; constructor(vectorLayer: VectorLayer, options?: Options); setOptions(options: Partial): void; clearValue(): void; setValue(value: LatLng | LatLngBounds, fitToValue?: boolean): void; setMap(map: any): void; buildPointFeature(latLng: LatLng): Feature; buildBBoxFeature(bounds: LatLngBounds): Feature; toggleButtonVisibility(tool: DrawTool): void; }