import SpatialReference from "@arcgis/core/geometry/SpatialReference";
import type { GeometryUnion } from "@arcgis/core/geometry/types.js";
/**
 * Converts a WKT geometry to an esri geometry.
 *
 * @param geometry Geometry to convert.
 * @param outSpatialReference The spatial reference to assign to the geometries.
 *   If not specified, WGS84 will be applied.
 */
export declare function wktToEsri(geometry: string, outSpatialReference?: SpatialReference): GeometryUnion;
/**
 * Converts an esri geometry to a WKT geometry.
 *
 * @param geometry Geometry to convert.
 */
export declare function esriToWKT(geometry: GeometryUnion): string;
/**
 * Attempts to convert a WKID to a WKT spatial reference.
 *
 * @param wkid The WKID to convert.
 */
export declare function esriWkidToWkt(wkid: number | string): Promise<string>;
/**
 * Attempts to convert a WKT to WKID spatial reference.
 *
 * @param wkt The WKT to convert.
 */
export declare function esriWktToWkid(wkt: string): Promise<number>;
