import type { Graph, NodeDefinition, NodeInstance } from "../graph/types"; import type { NodeConfig } from "../schema/configSchema"; import type { ExecutionLogEntry, ExecutionLogLevel } from "./logs"; export type NodeInputMap = Record; export type NodeOutputMap = Record; export interface NodeExecutionContext { graph: Graph; node: NodeInstance; definition: NodeDefinition; inputs: NodeInputMap; config: NodeConfig; signal: AbortSignal; emitLog: (level: ExecutionLogLevel, message: string, metadata?: Record) => void; } export interface NodeExecutionResult { outputs: NodeOutputMap; logs?: ExecutionLogEntry[]; metrics?: Record; artifacts?: Record; warnings?: string[]; nextControlPort?: string; } //# sourceMappingURL=context.d.ts.map