import { IActivityHandler, IActivityContext, Deferrable } from "../../IActivityHandler";
/** Defines inputs for the DeleteFeatures activity. */
export interface DeleteFeaturesInputs {
    /** The URL of the ArcGIS feature layer or table to edit. Either url or layer is required. */
    url?: string;
    /** The ArcGIS feature layer or table to edit. Either url or layer is required. */
    layer?: __esri.Layer;
    features?: number | number[] | __esri.Graphic | __esri.Graphic[] | string | string[];
    /** Indicates if the features to be deleted should be identified by Global IDs instead of Object IDs. The default value is false. */
    useGlobalIds?: boolean;
    /** Indicates the field which contains the OBJECTID or GlobalID for all features. */
    objectIdField?: string;
    /** The geodatabase version on which the operation will be performed. This argument only applies to layers 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 DeleteFeaturesOutputs {
    /** Indicates the results given after deletion. */
    results: __esri.ApplyEditResult[];
    success: boolean;
}
export declare class DeleteFeatures implements IActivityHandler {
    static action: string;
    static suite: string;
    execute(inputs: DeleteFeaturesInputs, context: IActivityContext): Deferrable<DeleteFeaturesOutputs>;
    /** Called after the apply edit operation completes. */
    protected onApplyEditsComplete(results: __esri.ApplyEditResults): void;
}
