import type OlBaseLayer from "ol/layer/Base"; import { InternalConstructorTag } from "../utils/InternalConstructorTag"; import { AbstractLayer } from "./AbstractLayer"; import { LayerDependencies } from "./shared/internals"; import { LayerConfig } from "./shared/LayerConfig"; /** * Options to construct a simple layer. * * Simple layers are wrappers around a custom OpenLayers layer. * * @group Layers */ export interface SimpleLayerConfig extends LayerConfig { /** * The raw OpenLayers instance. */ olLayer: OlBaseLayer; } /** * A simple layer that accepts a custom OpenLayers layer instance. * * Any kind of open layers can be made to work with the map package using this class. * Some API features (such as sublayers) may not be available. * * @group Layers */ export declare class SimpleLayer extends AbstractLayer { /** * @deprecated Prefer using {@link LayerFactory.create} instead of calling the constructor directly */ constructor(config: SimpleLayerConfig); /** * NOTE: Do not use this overload. Use {@link LayerFactory.create} instead. * * @internal */ constructor(config: SimpleLayerConfig, deps: LayerDependencies, internalTag: InternalConstructorTag); get type(): "simple"; get legend(): undefined; get layers(): undefined; get sublayers(): undefined; }