import type { IActivityHandler } from "../../IActivityHandler"; /** Defines inputs for the NearestVertices activity. This activity relies on the geometry engine. */ export interface NearestVerticesEngineTaskInputs { geometry: __esri.GeometryUnion; point: __esri.Point; proximity?: number; maxVertices?: number; } export interface NearestVertex { /** @description The distance to the point. */ distance?: number; /** @description Whether the result is empty. */ empty?: boolean; /** @description The index of the vertex. */ index?: number; /** @description The result point. */ point?: __esri.Point; /** @description Whether the point is on the left or right of the line-segment. */ side?: "left" | "right" | string; } /** Defines outputs for the NearestVertices activity. */ export interface NearestVerticesEngineTaskOutputs { /** @description The results. */ results?: NearestVertex[]; } export declare class NearestVerticesEngineTask implements IActivityHandler { static readonly action = "gcx:wf:arcgis::NearestVerticesEngineTask"; static readonly suite = "gcx:wf:builtin"; execute(inputs: NearestVerticesEngineTaskInputs): NearestVerticesEngineTaskOutputs; }