import type { LayerFoundation, TileServerSettings } from '@opengeoweb/webmap'; import type { DrawModeExitCallback, FeatureEvent } from '../draw/types'; import type { OnInitializeLayerProps } from '../utils/types'; export interface OpenLayersLayerProps extends LayerFoundation { zIndex?: number; onInitializeLayer?: (payload: OnInitializeLayerProps) => void; onLayerReady?: (layerId: string) => void; onLayerError?: (layerId: string, message: string) => void; debugMode?: boolean; id: string; isInEditMode?: boolean; drawMode?: string; updateGeojson?: (geoJson: GeoJSON.FeatureCollection, reason: string) => void; exitDrawModeCallback?: (reason: DrawModeExitCallback) => void; selectedFeatureIndex?: number; onClickFeature?: (event?: FeatureEvent) => void; onHoverFeature?: (event: FeatureEvent) => void; tileServerSettings?: TileServerSettings; } export declare const OpenLayersLayer: (layerProps: OpenLayersLayerProps) => React.ReactElement | null;