import { F as FlowGraphBlock } from './KHR_interactivity-CAwYyP1O.esm.js';
import { R as RichTypeAny, f as RichTypeNumber } from './declarationMapper-ihERUUs5.esm.js';
import { f as RegisterClass } from './index-BHma8tVs.esm.js';
import './objectModelMapping-CT4YbuJ3.esm.js';

/**
 * A block that outputs elements from the context
 */
class FlowGraphContextBlock extends FlowGraphBlock {
    constructor(config) {
        super(config);
        this.userVariables = this.registerDataOutput("userVariables", RichTypeAny);
        this.executionId = this.registerDataOutput("executionId", RichTypeNumber);
    }
    _updateOutputs(context) {
        this.userVariables.setValue(context.userVariables, context);
        this.executionId.setValue(context.executionId, context);
    }
    serialize(serializationObject) {
        super.serialize(serializationObject);
    }
    getClassName() {
        return "FlowGraphContextBlock" /* FlowGraphBlockNames.Context */;
    }
}
RegisterClass("FlowGraphContextBlock" /* FlowGraphBlockNames.Context */, FlowGraphContextBlock);

export { FlowGraphContextBlock };
//# sourceMappingURL=flowGraphContextBlock-VCU7JX6m.esm.js.map
