import { IActivityHandler, IActivityContext, Deferrable } from "../../IActivityHandler";
/** Defines inputs for the AddFeatures activity. */
export interface AddFeaturesInputs {
    /** The URL of the ArcGIS feature layer or table to edit. Either url or layer input is required. */
    url?: string;
    /** The ArcGIS feature layer or table to edit. Either url or layer input is required.  */
    layer?: __esri.Layer;
    /** The features to add to the layer or table. When adding to a layer, the features' geometries must have the same spatial reference as the layer. */
    features: __esri.Graphic | __esri.Graphic[];
    /** The geodatabase version on which the operation will be performed. This argument only applies to layers or tables that support versioned data. Requires ArcGIS Server v.10.1+. */
    gdbVersion?: string;
    /** The time span in milliseconds to wait for the request's results. */
    timeout?: number;
}
export interface AddFeaturesOutputs {
    /** Indicates the results that were returned. */
    results: __esri.ApplyEditResult[];
    success: boolean;
}
export declare class AddFeatures implements IActivityHandler {
    static action: string;
    static suite: string;
    execute(inputs: AddFeaturesInputs, context: IActivityContext): Deferrable<AddFeaturesOutputs>;
    /** Called after the apply edit operation completes. */
    protected onApplyEditsComplete(results: __esri.ApplyEditResults): void;
}
