import type EsriKMLLayer from "@arcgis/core/layers/KMLLayer";
import type { OperationalLayerBase } from "./OperationalLayer.js";
export declare namespace KMLLayer {
    /**
     * Converts an ArcGIS Portal JSON representation of a KML layer to its Esri
     * JavaScript API equivalent.
     *
     * @deprecated Use "json/*" modules instead.
     * @param layerJson The layer JSON to convert.
     */
    function toEsriApiKMLLayer(layerJson: KMLLayer): Promise<EsriKMLLayer>;
    /**
     * Applies an ArcGIS Portal JSON representation of a KML 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 applyToEsriApiKMLLayer(layerJson: KMLLayer, layer: EsriKMLLayer): Promise<void>;
    /**
     * Converts a KMLLayer object to its ArcGIS Portal JSON representation.
     *
     * @deprecated Use "json/*" modules instead.
     * @param layer The KMLLayer object to convert.
     */
    function fromEsriApiKMLLayer(layer: EsriKMLLayer): KMLLayer;
}
/**
 * Keyhole Markup Language (KML) is an XML-based format for storing geographic
 * data and associated content and is an official Open Geospatial Consortium
 * (OGC) standard. KML is a common format for sharing geographic data with
 * non-GIS users as it can be easily delivered on the Internet.
 *
 * See
 * {@link https://developers.arcgis.com/web-map-specification/objects/kmlLayer/}.
 *
 * @deprecated Use "json/*" modules instead.
 */
export interface KMLLayer extends OperationalLayerBase {
    /**
     * Optional string containing the item ID of the service if it's registered
     * on ArcGIS Online or your organization's portal.
     */
    itemId?: string;
    /**
     * The type of layer.
     */
    layerType: "KML";
    /**
     * Array of numeric IDs of folders that will be made visible.
     */
    visibleFolders?: number[];
    /**
     * The URL to the layer.
     */
    url?: string;
}
