import { FlowGraphBlock, type IFlowGraphBlockConfiguration } from "@babylonjs/core/FlowGraph/flowGraphBlock.js"; import { type FlowGraphContext } from "@babylonjs/core/FlowGraph/flowGraphContext.js"; import { type FlowGraphDataConnection } from "@babylonjs/core/FlowGraph/flowGraphDataConnection.pure.js"; import { FlowGraphInteger } from "@babylonjs/core/FlowGraph/CustomTypes/flowGraphInteger.pure.js"; /** * Configuration for adapting runtime delay indices to opaque references. */ export interface IFlowGraphDelayReferenceBlockConfiguration extends IFlowGraphBlockConfiguration { /** Whether to decode a reference into an index rather than encode an index. */ decode?: boolean; } /** * Loader-local conversion between FlowGraph delay indices and KHR_interactivity references. */ export declare class FlowGraphDelayReferenceBlock extends FlowGraphBlock { config: IFlowGraphDelayReferenceBlockConfiguration; /** Delay index or reference to convert. */ readonly input: FlowGraphDataConnection; /** Converted reference or delay index; invalid references decode to -1. */ readonly value: FlowGraphDataConnection; constructor(config: IFlowGraphDelayReferenceBlockConfiguration); /** @internal */ _updateOutputs(context: FlowGraphContext): void; /** @returns the serialized class name */ getClassName(): string; }