import type { FeatureJson } from "./FeatureJson.js";
import type { GeometryJsonType } from "./GeometryJson.js";
import type { SpatialReferenceJson } from "./SpatialReferenceJson.js";
/**
 * Contains the geometry and attributes of features in a layer. This object is
 * used with feature collections only. For more information, see Layer.
 *
 * See
 * {@link https://developers.arcgis.com/web-map-specification/objects/featureSet/}
 * {@link https://developers.arcgis.com/web-scene-specification/objects/featureSet/}.
 */
export interface FeatureSetJson {
    /**
     * An array of Feature objects, each one containing geometry and a set of
     * attributes.
     */
    features: FeatureJson[];
    /**
     * One of the GeometryType constants. See Geometry.GeometryJsonType.
     */
    geometryType: GeometryJsonType;
    /**
     * <not in spec>.
     */
    spatialReference?: SpatialReferenceJson | null;
}
