import type { IActivityHandler, IActivityContext } from "../../IActivityHandler"; /** Defines inputs to the ForEach activity. */ export interface ForEachInputs { items: any[] | Iterable | Record; exit?: boolean; itemType?: "any" | "string" | "number" | "esri.AddressCandidate" | "esri.Extent" | "esri.FeatureSet" | "esri.Geometry" | "esri.Graphic" | "esri.Layer" | "esri.Multipoint" | "esri.Point" | "esri.Polygon" | "esri.Polyline" | "esri.PortalGroup" | "esri.PortalUser" | "esri.SpatialReference" | "esri.Symbol" | string; } /** Defines outputs to the ForEach activity. */ export interface ForEachOutputs { /** @description The count of the items. */ count?: number; /** @description The current item from the items collection. */ item?: any; /** @description The key of the item currently being processed. */ key?: string; /** @description The pass that the loop is on. */ pass?: number; } export declare class ForEach implements IActivityHandler { static readonly action = "gcx:wf:core:loop:ForEach"; static readonly suite = "gcx:wf:builtin"; /** Carries out the functionality for the ForEach activity. */ execute(inputs: ForEachInputs, context: IActivityContext): ForEachOutputs; }