import { Map, StyleSpecification, IControl } from 'maplibre-gl';
export type Layer = {
    name: string;
    style: string | StyleSpecification;
    checked?: boolean;
};
export type LayerControlOptions = {
    layers: Layer[];
};
export declare class LayerControl implements IControl {
    private map;
    private options;
    private container;
    private currentLayer;
    private currentInitStyle;
    private addedSources;
    private addedLayers;
    private layerDialog;
    constructor(options: LayerControlOptions);
    onAdd(map: Map): HTMLElement;
    onRemove(): void;
    private getPosition;
    private createButton;
    private changeLayer;
}
