import { IActivityHandler, Deferrable } from "../../IActivityHandler";
/** Defines inputs for the Length activity. This activity relies on the geometry engine. */
export interface LengthEngineTaskInputs {
    /** The input geometry whose length is to be calculated. */
    geometry: __esri.Geometry;
    /** Determines whether the length to be calculated is geodesic. If not, the planar length is returned. Defaults to false. Note: geodesic only works with WGS84 (wkid: 4326) and Web Mercator spatial references. */
    geodesic?: boolean;
    /** Measurement unit of the return value. Defaults to the units of the input geometry. Known values: meters | feet | kilometers | miles | nautical-miles | yards. */
    unit?: "meters" | "feet" | "kilometers" | "miles" | "nautical-miles" | "yards" | string | number;
}
/** Defines outputs for the Length activity. */
export interface LengthEngineTaskOutputs {
    length: number;
}
export declare class LengthEngineTask implements IActivityHandler {
    static action: string;
    static suite: string;
    private executeUsing;
    execute(inputs: LengthEngineTaskInputs): Deferrable<LengthEngineTaskOutputs>;
}
