import { IActivityHandler, IActivityContext, Deferrable } from "../../IActivityHandler";
/** Defines inputs for the ToGeoCoordinateString task. This task requires a geometry service. */
export interface ToGeoCoordinateStringServiceTaskInputs {
    /** The URL of the ArcGIS geometry service. */
    url: string;
    /** The spatial reference (or WKID of the spatial reference) of the XY-coordinates to be converted. */
    spatialReference: string | number | __esri.SpatialReference;
    /** An array of XY-coordinates (in JSON format) to be converted. */
    coordinates: number[][];
    /** The conversion type of the input strings. The default value is mgrs. */
    conversionType: "mgrs" | "usng" | "utm" | "geo-ref" | "gars" | "dms" | "ddm" | "dd" | string;
    /** Conversion options for mgrs and utm conversion types. See http://resources.arcgis.com/en/help/arcgis-rest-api/index.html#//02r30000026w000000 for valid conversion modes and their descriptions. */
    conversionMode?: string;
    /** The number of digits to output for each of the numerical portions of the string. The default value depends on conversionType. */
    numOfDigits?: number;
    /** If true, then numeric portions of the string are rounded to the nearest whole magnitude as specified by numOfDigits. Otherwise, numeric portions of the string are truncated. The rounding parameter applies only to conversion types mgrs, usng, and geo-ref. Defaults to true. */
    rounding?: boolean;
    /** If true, then spaces are added between components of the string. The addSpaces parameter applies only to conversion types mgrs, usng, and utm. The default value for mgrs is false, while the default value for both usng and utm is true. */
    addSpaces?: boolean;
}
/** Defines outputs for the ToGeoCoordinateString task. */
export interface ToGeoCoordinateStringServiceTaskOutputs {
    /** The array of well-known geocoordinate strings. */
    strings: string[];
}
export declare class ToGeoCoordinateStringServiceTask implements IActivityHandler {
    static action: string;
    static suite: string;
    execute(inputs: ToGeoCoordinateStringServiceTaskInputs, context: IActivityContext): Deferrable<ToGeoCoordinateStringServiceTaskOutputs>;
}
