import { MapProvider } from "./MapProvider"; import type { IActivityHandler, IActivityContext } from "../../IActivityHandler"; /** Defines inputs to the Asynchronous Geoprocessor task. This task is suitable for geoprocessing services with an asynchronous execution type. */ export interface GeoprocessingAsyncInputs { url: string; arguments: Record; outSpatialReference?: number | string | __esri.SpatialReference; processSpatialReference?: number | string | __esri.SpatialReference; } /** Defines outputs to the Asynchronous Geoprocessor task. */ export interface GeoprocessingAsyncOutputs { /** @description The ID of the geoprocessing job. */ id?: string; /** @description The messages from the geoprocessing job. */ messages?: __esri.GPMessage[]; /** @description The results of the geoprocessing job. */ results?: Record; /** @description The status of the geoprocessing job. */ status?: string; } export declare class GeoprocessingAsync implements IActivityHandler { static readonly action = "gcx:wf:arcgis::GeoprocessingAsync"; static readonly suite = "gcx:wf:builtin"; execute(inputs: GeoprocessingAsyncInputs, context: IActivityContext, MapProviderType: typeof MapProvider): Promise; /** * Looks up the names of the results related to the job from the Services Directory. * @param taskUrl The url for the task. * @param jobInfo Details of the current geoprocessing job. * @param requestOptions Options to be included in the request, such as an `AbortSignal`. */ getResultNames(jobInfo: __esri.JobInfo, requestOptions?: any): Promise; }