import type { GeometryBase } from "./Geometry.js";
/**
 * A polygon contains an array of rings and a spatial reference. See
 * {@link https://developers.arcgis.com/web-map-specification/objects/polygon_geometry/}
 * {@link https://developers.arcgis.com/web-scene-specification/objects/polygon_geometry/}.
 *
 * @deprecated Use "json/*" modules instead.
 */
export interface Polygon extends GeometryBase {
    /**
     * Indicates whether the geometry contains M coordinate values.
     */
    hasM?: boolean;
    /**
     * Indicates whether the geometry contains Z coordinate values.
     */
    hasZ?: boolean;
    /**
     * Represents an array of points. Each point is an array of numbers.
     */
    rings: number[][][];
}
