import { OnDestroy } from "@angular/core";
import { LayerProvider } from "./layer.provider";
import { LayersControlProvider } from "./layers-control.provider";
import * as i0 from "@angular/core";
/**
* Angular2 directive for adding layers to the layers-control of Leaflet as base-layer.
*
* *You can use this directive in an Angular2 template after importing `YagaModule`.*
*
* How to use in a template:
* ```html
*
*
*
*
*
*
* ```
*
* @link http://leafletjs.com/reference-1.2.0.html#control-layers-addoverlay Original Leaflet documentation
* @link https://leaflet-ng2.yagajs.org/latest/browser-test?grep=Overlay-Layer%20Directive Unit-Test
* @link https://leaflet-ng2.yagajs.org/latest/coverage/lcov-report/lib/overlay-layer.directive.js.html
* Test coverage
* @link https://leaflet-ng2.yagajs.org/latest/typedoc/classes/overlaylayerdirective.html API documentation
* @example https://leaflet-ng2.yagajs.org/latest/examples/layers-control-directive/
*/
export declare class OverlayLayerDirective implements OnDestroy {
protected layer: LayerProvider;
layersControlProvider: LayersControlProvider;
constructor(layer: LayerProvider, layersControlProvider: LayersControlProvider);
set caption(value: string);
get caption(): string;
/**
* Internal method to provide the removal from the control in Leaflet, when removing it from the Angular template
*/
ngOnDestroy(): void;
static ɵfac: i0.ɵɵFactoryDeclaration;
static ɵdir: i0.ɵɵDirectiveDeclaration;
}