import type { Graph, ValidationIssue } from "../graph/types"; import type { NodeRegistryLike } from "../registry/nodeRegistry"; import type { ExecutionEventListener, ExecutionFailureCode } from "./events"; import type { ExecutionLogEntry } from "./logs"; import type { NodeOutputMap } from "./context"; export interface GraphEngineOptions { registry: NodeRegistryLike; graphTimeoutMs?: number; nodeTimeoutMs?: number; maxIterations?: number; } export interface GraphExecutionOptions { dryRun?: boolean; signal?: AbortSignal; fromNodeId?: string; toNodeId?: string; } export interface GraphExecutionResult { success: boolean; outputs: Record; inputPreviews: Record>; outputPreviews: Record; logs: ExecutionLogEntry[]; issues: ValidationIssue[]; error?: unknown; code?: ExecutionFailureCode; } export declare class GraphEngine { private readonly registry; private readonly listeners; private readonly graphTimeoutMs; private readonly nodeTimeoutMs; constructor(options: GraphEngineOptions); on(listener: ExecutionEventListener): () => void; private emit; execute(graph: Graph, options?: GraphExecutionOptions): Promise; private collectInputs; } //# sourceMappingURL=engine.d.ts.map