import { IActivityHandler, IActivityContext, Deferrable } from "../../IActivityHandler";
import { MapProvider } from "./MapProvider";
/** Defines inputs for the SetLayerDefinitionExpression activity. */
export interface SetLayerDefinitionExpressionInputs {
    /** The ID of the layer whose definition is of interest. */
    layerId: string | number;
    /** The optional index of the sublayer whose definition is of interest. Sublayers are associated with MapImageLayers. */
    sublayerId?: string | number;
    /** The layer definition expression. */
    expression: string;
}
/** Defines outputs for the SetLayerDefinitionExpression activity. */
export interface SetLayerDefinitionExpressionOutputs {
    oldExpression: string;
    newExpression: string;
}
export declare class SetLayerDefinitionExpression implements IActivityHandler {
    static action: string;
    static suite: string;
    execute(inputs: SetLayerDefinitionExpressionInputs, context: IActivityContext, type: typeof MapProvider): Deferrable<SetLayerDefinitionExpressionOutputs>;
}
