import type { GraphEngine } from "../../core/execution/engine"; import type { Graph } from "../../core/graph/types"; import { type EditorEventSink } from "../../core/observability/editorEvents"; import { type EditorExecutionState } from "../state/executionState"; export declare function useEditorExecution({ graph, engine, onExecute, onError, eventSink }: { graph: Graph; engine?: GraphEngine; onExecute?: (graph: Graph) => void | Promise; onError?: (error: unknown) => void; eventSink: EditorEventSink; }): { state: EditorExecutionState; nodeStatuses: Record; run: () => Promise; cancel: () => void; retry: () => Promise; }; //# sourceMappingURL=useEditorExecution.d.ts.map