import { LayerSpecification } from 'maplibre-gl';
import { LibreRouting } from '../../libre-routing';
import type { LibreRoutingPlugin } from '..';
export interface LayerConfig {
    before?: string;
    style: LayerSpecification | {};
}
export interface LayersPluginOptions {
    layers: LayerConfig[];
}
export declare class LayersPlugin implements LibreRoutingPlugin {
    private _options;
    private ctx;
    private options;
    private get map();
    constructor(_options?: Partial<LayersPluginOptions>);
    onAdd(ctx: LibreRouting): void;
    onRemove(): void;
    private defaultConfig;
}
