import { type IFlowGraphBlockConfiguration, FlowGraphBlock } from "../../flowGraphBlock.js"; import { type FlowGraphContext } from "../../flowGraphContext.js"; import { type FlowGraphDataConnection } from "../../flowGraphDataConnection.js"; import { type RichType } from "../../flowGraphRichTypes.pure.js"; /** * A block that will cache the result of an operation and deliver it as an output. */ export declare abstract class FlowGraphCachedOperationBlock extends FlowGraphBlock { /** * The output of the operation */ readonly value: FlowGraphDataConnection; /** * Output connection: Whether the value is valid. */ readonly isValid: FlowGraphDataConnection; constructor(outputRichType: RichType, config?: IFlowGraphBlockConfiguration); /** * @internal * Operation to realize * @param context the graph context */ abstract _doOperation(context: FlowGraphContext): OutputT | undefined; _updateOutputs(context: FlowGraphContext): void; }