import { IActivityHandler, Deferrable } from "../../IActivityHandler";
/** Defines inputs to the NearestCoordinate activity. This activity relies on the geometry engine and combines the nearestVertex() and nearestCoordinate() tasks. */
export interface NearestCoordinateEngineTaskInputs {
    /** The geometry to consider. */
    geometry: __esri.Geometry;
    /** The point used to search the nearest coordinate (or vertex) in the geometry. */
    point: __esri.Point;
}
/** Defines outputs to the NearestCoordinate activity. */
export interface NearestCoordinateEngineTaskOutputs {
    /** Indicates the point. */
    point: __esri.Point;
    /** Indicates the distance to the point. */
    distance: number;
    /** Indicates if the point is on the left or right of the line-segment. */
    side: "left" | "right" | string;
    /** Indicates the index of the vertex. */
    index: number;
    /** Indicates if the result is empty. */
    empty: boolean;
}
export declare class NearestCoordinateEngineTask implements IActivityHandler {
    static action: string;
    static suite: string;
    execute(inputs: NearestCoordinateEngineTaskInputs): Deferrable<NearestCoordinateEngineTaskOutputs>;
}
