import { HttpStep, IHttpStep } from '../../HttpStep.js';
export declare const SetDataStepKind = "HttpAction#SetData";
/**
 * Sets a manually defined value that can be passed to the next step.
 */
export interface ISetDataStep extends IHttpStep {
    kind: typeof SetDataStepKind;
    /**
     * The value to return to the next step.
     * This is always a string. Use the `dataType` to determine the correct data type.
     */
    value: string;
    /**
     * The data type of the value. This is a value prefixed with
     * `http://www.w3.org/2001/XMLSchema#` or `http://a.ml/vocabularies/shapes#`.
     *
     * Examples:
     *
     * - `http://www.w3.org/2001/XMLSchema#boolean`
     * - `http://www.w3.org/2001/XMLSchema#string`
     * - `http://www.w3.org/2001/XMLSchema#number`
     * - `http://www.w3.org/2001/XMLSchema#integer`
     * - `http://www.w3.org/2001/XMLSchema#long`
     * - `http://a.ml/vocabularies/shapes#number`
     * - `http://a.ml/vocabularies/shapes#integer`
     * - `http://a.ml/vocabularies/shapes#double`
     * - ...
     *
     * @default `http://www.w3.org/2001/XMLSchema#string`
     */
    dataType?: string;
}
export declare class SetDataStep extends HttpStep {
    kind: string;
    /**
     * The value to return to the next step.
     * This is always a string. Use the `dataType` to determine the correct data type.
     */
    value: string;
    /**
     * The data type of the value. This is a value prefixed with
     * `http://www.w3.org/2001/XMLSchema#` or `http://a.ml/vocabularies/shapes#`.
     *
     * Examples:
     *
     * - `http://www.w3.org/2001/XMLSchema#boolean`
     * - `http://www.w3.org/2001/XMLSchema#string`
     * - `http://www.w3.org/2001/XMLSchema#number`
     * - `http://www.w3.org/2001/XMLSchema#integer`
     * - `http://www.w3.org/2001/XMLSchema#long`
     * - `http://a.ml/vocabularies/shapes#number`
     * - `http://a.ml/vocabularies/shapes#integer`
     * - `http://a.ml/vocabularies/shapes#double`
     * - ...
     *
     * @default `http://www.w3.org/2001/XMLSchema#string`
     */
    dataType?: string;
    /**
     * Creates the step from values.
     * @param value The value this step sets.
     * @param dataType The data type to use to read the value.
     */
    constructor(value: string, dataType?: string);
    /**
     * Creates the step from serialized schema.
     * @param init The serialized step values.
     */
    constructor(init: ISetDataStep);
    /**
     * Creates an empty step.
     */
    constructor();
    new(init: ISetDataStep): void;
    checkValidity(): boolean;
    toJSON(): ISetDataStep;
}
//# sourceMappingURL=SetDataStep.d.ts.map