import type EsriApiGeometry from "@arcgis/core/geometry/Geometry";
import type { GeometryType as EsriApiGeometryType } from "../support/esri.js";
import type { Extent } from "./Extent.js";
import type { Multipoint } from "./Multipoint.js";
import type { Point } from "./Point.js";
import type { Polygon } from "./Polygon.js";
import type { Polyline } from "./Polyline.js";
import type { SpatialReference } from "./SpatialReference.js";
/**
 * A geometry as defined in the ArcGIS REST and web map specifications.
 *
 * See {@link http://resources.arcgis.com/en/help/rest/apiref/geometry.html}. See
 * {@link https://developers.arcgis.com/web-map-specification/objects/geometry/}
 * {@link https://developers.arcgis.com/web-map-specification/objects/geometryType/}.
 *
 * @deprecated Use "json/*" modules instead.
 */
export type Geometry = Point | Multipoint | Polyline | Polygon | Extent;
/**
 * A geometry.
 *
 * @deprecated Use "json/*" modules instead.
 */
export interface GeometryBase {
    /**
     * The spatial reference can be defined using a well-known ID (WKID) or
     * well-known text (WKT).
     */
    spatialReference?: SpatialReference;
}
/**
 * Converts a Portal JSON geometry object to its equivalent Esri JavaScript API
 * object.
 *
 * @deprecated Use "json/*" modules instead.
 * @param geometryJson The geometry to convert.
 */
export declare function toEsriApiGeometry(geometryJson: Geometry): EsriApiGeometry;
/**
 * Converts an Esri JavaScript API geometry object to its Portal JSON
 * representation.
 *
 * @deprecated Use "json/*" modules instead.
 * @param geometry The geometry to convert.
 */
export declare function toPortalGeometry(geometry: EsriApiGeometry): Geometry;
/**
 * The type of the Geometry.
 *
 * @deprecated Use "json/*" modules instead.
 */
export type GeometryType = "esriGeometryPoint" | "esriGeometryMultipoint" | "esriGeometryPolyline" | "esriGeometryPolygon" | "esriGeometryEnvelope";
export declare namespace GeometryType {
    /**
     * Converts from geometry type constants used in the Esri JavaScript API to
     * their web map equivalents.
     *
     * @deprecated Use "json/*" modules instead.
     * @param type The ArcGIS JavaScript API geometry type constant.
     */
    function fromEsriApiGeometryType(type: string): GeometryType;
    /**
     * Converts from ArcGIS REST/web map geometry type constants to their Esri
     * JavaScript API equivalents.
     *
     * @deprecated Use "json/*" modules instead.
     * @param type The Portal JSON geometry type constant.
     */
    function toEsriApiGeometryType(type: string): EsriApiGeometryType;
}
