import type { BasemapLayerJsonBase } from "./BasemapLayerJson.js";
/**
 * Indicates if working with Microsoft Bing layers. There are three layer types
 * associated with Bing Layers: BingMapsAerial, BingMapsRoad, and
 * BingMapsHybrid.
 *
 * See
 * {@link https://developers.arcgis.com/web-map-specification/objects/bingLayer/}.
 */
export interface BingLayerJson extends BasemapLayerJsonBase {
    /**
     * String value that unlocks the use of Bing layers in a web map.
     */
    bingKey: string;
    /**
     * Boolean value indicating whether the Bing key can be shared to the
     * public.
     */
    canShareBingPublic: boolean;
    /**
     * Optional string containing the item ID of the service if it's registered
     * on ArcGIS Online or your organization's portal.
     */
    itemId?: string | null;
    /**
     * The type of layer.
     */
    layerType: "BingMapsAerial" | "BingMapsRoad" | "BingMapsHybrid";
    /**
     * A string value representing the URL to the portal/organization. Calls
     * should be made to this property to retrieve the Bing key. If the key is
     * not made accessible to the public or if canShareBingPublic is false, any
     * web maps using Bing layers will not work.
     */
    portalUrl: string;
}
