import { InteractiveLayerOptions, Layer, LayerOptions } from 'leaflet'; import { LeafletContextInterface } from './context'; import { LeafletElement, ElementHook } from './element'; import { EventedProps } from './events'; export interface LayerProps extends EventedProps, LayerOptions { } export interface InteractiveLayerProps extends LayerProps, InteractiveLayerOptions { } export declare function useLayerLifecycle(element: LeafletElement, context: LeafletContextInterface): void; export declare function createLayerHook(useElement: ElementHook): (props: P) => ReturnType>;