import { HttpStep, IHttpStep } from '../../HttpStep.js';
export declare const SetVariableStepKind = "HttpAction#SetVariable";
/**
 * A step that accepts an input from the previous step and sets a variable in the current environment
 * with this value. If the value is `void`, `null`, or `undefined` then the variable is removed from the
 * environment.
 *
 * All variables are strings.
 */
export interface ISetVariableStep extends IHttpStep {
    kind: typeof SetVariableStepKind;
    /**
     * The name of the variable to set
     */
    name: string;
}
export declare class SetVariableStep extends HttpStep {
    kind: string;
    /**
     * The name of the variable to set
     */
    name: string;
    /**
     * Creates the step from values.
     * @param name The name of the variable to set
     */
    constructor(name: string);
    /**
     * Creates the step from serialized schema.
     * @param init The serialized step values.
     */
    constructor(init: ISetVariableStep);
    /**
     * Creates an empty step.
     */
    constructor();
    new(init: ISetVariableStep): void;
    checkValidity(): boolean;
    toJSON(): ISetVariableStep;
}
//# sourceMappingURL=SetVariableStep.d.ts.map