import type EsriStreamLayer from "@arcgis/core/layers/StreamLayer";
import { FeatureLayer } from "./FeatureLayer.js";
export declare namespace StreamLayer {
    /**
     * Converts an ArcGIS Portal JSON representation of a stream layer to its
     * Esri JavaScript API representation.
     *
     * @deprecated Use "json/*" modules instead.
     * @param layerJson The layer JSON to convert.
     */
    function toEsriApiLayer(layerJson: StreamLayer): Promise<EsriStreamLayer>;
    /**
     * Applies an ArcGIS Portal JSON representation of a stream 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: StreamLayer, layer: EsriStreamLayer): Promise<void>;
    /**
     * Converts an Esri JavaScript API StreamLayer object to its ArcGIS Portal
     * JSON representation.
     *
     * @deprecated Use "json/*" modules instead.
     * @param layer The layer object to convert.
     */
    function fromEsriApiStreamLayer(layer: EsriStreamLayer): StreamLayer;
}
/**
 * A stream layer in a web map. See
 * {@link https://developers.arcgis.com/web-map-specification/objects/streamLayer/}.
 *
 * @deprecated Use "json/*" modules instead.
 */
export interface StreamLayer extends Omit<FeatureLayer, "layerType"> {
    /**
     * The type of layer.
     */
    layerType: "ArcGISStreamLayer";
}
