import { F as FlowGraphBlock } from './KHR_interactivity-B-UMiVgm.esm.js';
import { R as RichTypeAny, f as RichTypeNumber } from './declarationMapper-28XjxVJv.esm.js';
import { g as RegisterClass } from './index-BquY1VPT.esm.js';
import './objectModelMapping-CKhwyjWl.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-BX1gSiSP.esm.js.map
