/** This file must only contain pure code and pure imports */ import { type FlowGraphExecutionBlock } from "./flowGraphExecutionBlock.js"; import { FlowGraphConnection } from "./flowGraphConnection.js"; import { type FlowGraphContext } from "./flowGraphContext.js"; /** * Represents a connection point for a signal. * When an output point is activated, it will activate the connected input point. * When an input point is activated, it will execute the block it belongs to. */ export declare class FlowGraphSignalConnection extends FlowGraphConnection { /** * Optional payload. Can be used, for example, when an error is thrown to pass additional information. */ payload: any; /** * The priority of the signal. Signals with higher priority will be executed first. * Set priority before adding the connection as sorting happens only when the connection is added. */ priority: number; _isSingularConnection(): boolean; connectTo(point: FlowGraphSignalConnection): void; /** * Timestamp of the last activation (set on output signals when they fire). * @internal */ _lastActivationTime: number; /** * @internal */ _activateSignal(context: FlowGraphContext): void; } /** * Register side effects for flowGraphSignalConnection. * Safe to call multiple times; only the first call has an effect. */ export declare function RegisterFlowGraphSignalConnection(): void;