import type EsriBasemap from "@arcgis/core/Basemap";
import type Portal from "@arcgis/core/portal/Portal";
import type { BaseMapLayer } from "./BaseMapLayer.js";
export declare namespace BaseMap {
    /**
     * Converts an ArcGIS Portal JSON representation of a basemap to its Esri
     * JavaScript API equivalent.
     *
     * @deprecated Use "json/*" modules instead.
     * @param json The basemap JSON to convert.
     * @param portal The Portal to use for resolving portal item IDs.
     */
    function toEsriApiBasemap(json: BaseMap, portal?: Portal): Promise<EsriBasemap>;
    /**
     * Applies an ArcGIS Portal JSON representation of a basemap to its Esri
     * JavaScript API equivalent.
     *
     * @deprecated Use "json/*" modules instead.
     * @param json The basemap JSON to apply.
     * @param basemap The BaseMap object to apply it to.
     * @param portal The Portal to use for resolving portal item IDs.
     */
    function applyToEsriApiBasemap(json: BaseMap, basemap: EsriBasemap, portal?: Portal): Promise<void>;
    /**
     * Converts an Esri JavaScript API BaseMap object to its ArcGIS Portal JSON
     * representation.
     *
     * @deprecated Use "json/*" modules instead.
     * @param basemap The BaseMap object to convert.
     */
    function fromEsriApiBasemap(basemap: EsriBasemap): BaseMap;
}
/**
 * A basemap layer is a layer that provides geographic context to the map. A web
 * map always contains a basemap. A web scene is not required to always contain
 * a basemap. The basemap has a title and is the combination of each
 * BaseMapLayer.
 *
 * See
 * {@link https://developers.arcgis.com/web-map-specification/objects/basemap/}.
 *
 * @deprecated Use "json/*" modules instead.
 */
export interface BaseMap {
    /**
     * An array of BaseMapLayer objects defining the basemaps used in the web
     * map/web scene.
     */
    baseMapLayers?: BaseMapLayer[];
    /**
     * String title for the basemap that can be used in a table of contents. If
     * not defined, then it takes the title of the first baseMapLayer in the
     * array.
     */
    title?: string;
}
