import type { GeometryUnion } from "@arcgis/core/geometry/types"; import type { Features, Geometries, GeometryLike } from "@vertigis/viewer-spec/messaging/common"; /** * Converts the input to a Geometry. * * @param value The value to convert. */ export declare function toGeometry(value: GeometryLike): GeometryUnion; /** * Converts the input to an array of Geometry. * * @param geometry The input to convert. */ export declare function toGeometryArray(geometry: Geometries): Promise; /** * Converts the input to an array of Geometry. This version cannot convert from * a FeatureStream and will throw an error in this case. * * @param geometry The input to convert. */ export declare function toGeometryArraySync(geometry: Geometries): GeometryUnion[]; /** * Converts spatial features to an array of Geometries. * * @param features The features to convert. * @returns The related feature geometries. */ export declare function fromFeatures(features: Features): Promise;