import type { Layer } from "./Layer.js";
/**
 * Defines a layer of features whose geometry and attributes will be stored
 * directly within the web map.
 *
 * See
 * {@link https://developers.arcgis.com/web-map-specification/objects/featureCollection/}.
 *
 * @deprecated Use "json/*" modules instead.
 */
export interface FeatureCollection {
    /**
     * An array of Layer objects defining all the styling, geometry, and
     * attribute information for the features.
     */
    layers: Layer[];
    /**
     * Indicates if this layer should be shown in the legend in client
     * applications. The default is true.
     */
    showLegend?: boolean;
}
