/** This file must only contain pure code and pure imports */ import { type FlowGraphContext } from "../../flowGraphContext.js"; import { FlowGraphBlock, type IFlowGraphBlockConfiguration } from "../../flowGraphBlock.js"; import { type FlowGraphDataConnection } from "../../flowGraphDataConnection.pure.js"; /** * Block that returns a value based on a condition. */ export declare class FlowGraphConditionalDataBlock extends FlowGraphBlock { /** * Input connection: The condition to check. */ readonly condition: FlowGraphDataConnection; /** * Input connection: The value to return if the condition is true. */ readonly onTrue: FlowGraphDataConnection; /** * Input connection: The value to return if the condition is false. */ readonly onFalse: FlowGraphDataConnection; /** * Output connection: The value that was returned. */ readonly output: FlowGraphDataConnection; /** * Creates a new instance of the block * @param config optional configuration for this block */ constructor(config?: IFlowGraphBlockConfiguration); /** * @internal */ _updateOutputs(context: FlowGraphContext): void; /** * Gets the class name of this block * @returns the class name */ getClassName(): string; } /** * Register side effects for flowGraphConditionalDataBlock. * Safe to call multiple times; only the first call has an effect. */ export declare function RegisterFlowGraphConditionalDataBlock(): void;