import { IActivityHandler, Deferrable } from "../../IActivityHandler";
/** Defines inputs for the Distance Engine activity. This activity relies on the geometry engine. */
export interface DistanceEngineTaskInputs {
    /** The first input geometry. */
    geometry1: __esri.Geometry;
    /** The second input geometry. */
    geometry2: __esri.Geometry;
    /** Measurement unit of the return value. Defaults to the units of the input geometries. Known values: meters | feet | kilometers | miles | nautical-miles | yards. */
    unit?: "meters" | "feet" | "kilometers" | "miles" | "nautical-miles" | "yards" | string | number;
}
/** Defines outputs for the Distance Engine activity. */
export interface DistanceEngineTaskOutputs {
    /** The distance between the two geometries. */
    distance: number;
}
export declare class DistanceEngineTask implements IActivityHandler {
    static action: string;
    static suite: string;
    execute(inputs: DistanceEngineTaskInputs): Deferrable<DistanceEngineTaskOutputs>;
}
