import { IActivityHandler, IActivityContext, Deferrable } from "../../IActivityHandler";
/** Defines inputs for the UpdateFeatures activity. */
export interface UpdateFeaturesInputs {
    /** 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 update in 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 UpdateFeaturesOutputs {
    /** Indicates the results that were returned. */
    results: __esri.ApplyEditResult[];
    success: boolean;
}
export declare class UpdateFeatures implements IActivityHandler {
    static action: string;
    static suite: string;
    execute(inputs: UpdateFeaturesInputs, context: IActivityContext): Deferrable<UpdateFeaturesOutputs>;
    /** Called after the apply edit operation completes. */
    protected onApplyEditsComplete(results: __esri.ApplyEditResults): void;
}
