import type EsriOpenStreetMapLayer from "@arcgis/core/layers/OpenStreetMapLayer";
import type { BaseMapLayerBase } from "./BaseMapLayer.js";
export declare namespace OpenStreetMapLayer {
    /**
     * Default values from Esri JavaScript API documentation.
     *
     * @deprecated Use "json/*" modules instead.
     */
    const esriOpenStreetMapLayerDefaults: {
        legendEnabled: boolean;
        visible: boolean;
        opacity: number;
        minScale: number;
        maxScale: number;
    };
    /**
     * Converts an ArcGIS Portal JSON representation of an Open Street Map layer
     * to its Esri JavaScript API representation.
     *
     * @deprecated Use "json/*" modules instead.
     * @param layerJson The layer JSON to convert.
     */
    function toEsriApiLayer(layerJson: OpenStreetMapLayer): Promise<EsriOpenStreetMapLayer>;
    /**
     * Applies an ArcGIS Portal JSON representation of an Open Street Map layer
     * to its Esri JavaScript API representation.
     *
     * @deprecated Use "json/*" modules instead.
     * @param layerJson The layer JSON to apply.
     * @param layer The layer object to apply it to.
     */
    function applyToEsriApiLayer(layerJson: OpenStreetMapLayer, layer: EsriOpenStreetMapLayer): Promise<void>;
    /**
     * Converts an Esri JavaScript API OpenStreetMapLayer object to its ArcGIS
     * Portal JSON representation.
     *
     * @deprecated Use "json/*" modules instead.
     * @param layer The layer object to convert.
     */
    function fromEsriApiOpenStreetMapLayer(layer: EsriOpenStreetMapLayer): OpenStreetMapLayer;
}
/**
 * Allows use of OpenStreetMap data for use in basemaps only.
 *
 * See
 * {@link https://developers.arcgis.com/web-map-specification/objects/openStreetMapLayer/}
 * {@link https://developers.arcgis.com/web-scene-specification/objects/openStreetMapLayer/}
 * Note: In the JavaScript API, open street map derived from Web tile layer.
 *
 * @deprecated Use "json/*" modules instead.
 */
export interface OpenStreetMapLayer extends BaseMapLayerBase {
    /**
     * The type of layer.
     */
    layerType: "OpenStreetMap";
    /**
     * Optional string containing the item ID of the service if it's registered
     * on ArcGIS Online or your organization's portal.
     */
    itemId?: string;
}
