import { IActivityHandler, IActivityContext, Deferrable } from "../../IActivityHandler";
export interface AddAttachmentInputs {
    /** The URL of the ArcGIS feature layer or table. Either url or layer is required. */
    url?: string;
    /** The ArcGIS feature layer or table. Either url or layer is required. */
    layer?: __esri.Layer;
    objectId: number;
    attachment: File;
    /** The time span in milliseconds to wait for the request's results. */
    timeout?: number;
}
export interface AddAttachmentOutputs {
    result: any;
}
/** Add an attachment to the feature specified by the object id. */
export declare class AddAttachment implements IActivityHandler {
    static action: string;
    static suite: string;
    execute(inputs: AddAttachmentInputs, context: IActivityContext): Deferrable<AddAttachmentOutputs>;
}
