import GirafeHTMLElement from '../../base/GirafeHTMLElement.js';
import DrawingFeature, { DrawingShape } from '../../tools/drawing/drawingFeature.js';
declare class DrawingToolbarComponent extends GirafeHTMLElement {
    protected templateUrl: string | null;
    protected styleUrls: string[] | null;
    template: () => import("uhtml").Hole;
    private readonly stateLocationAttribute;
    private readonly buttonConfig;
    private drawingState;
    private stateLocation;
    private olDrawing;
    private drawingTool;
    private get map();
    private get mapComponent();
    constructor();
    private getRequiredStateLocation;
    private setTool;
    onFeaturesChanged(oldFeatures: DrawingFeature[], newFeatures: DrawingFeature[]): void;
    registerEvents(): void;
    private addDrawHandlers;
    private getButtonByDrawingShape;
    isToolButtonEnabled(shape: DrawingShape | null): boolean;
    isButtonVisible(shape: DrawingShape | null): boolean;
    protected connectedCallback(): void;
}
export default DrawingToolbarComponent;
