import type { AdapterResult, NodeAttempt, NodeAttemptId, WorkflowDefinition, WorkflowDiagnostic, WorkflowErrorSummary, WorkflowEventEmitter, WorkflowRegistry, WorkflowRun, WorkflowRuntimeEvent, WorkflowValue } from "../types/index.js"; import type { WorkflowRunStore } from "../store/index.js"; export type WorkflowAdapterNodeDispatchOptions = { registry: Pick; now?: () => Date | string; createNodeAttemptId?: () => NodeAttemptId; store?: WorkflowRunStore; emitEvent?: WorkflowEventEmitter; }; export type WorkflowAdapterNodeDispatchSuccess = { ok: true; run: WorkflowRun; nodeAttempt: NodeAttempt; events: WorkflowRuntimeEvent[]; output: WorkflowValue; result: AdapterResult; }; export type WorkflowAdapterNodeDispatchFailure = { ok: false; run: WorkflowRun; nodeAttempt?: NodeAttempt; events: WorkflowRuntimeEvent[]; diagnostics: WorkflowDiagnostic[]; error: WorkflowErrorSummary; }; export type WorkflowAdapterNodeDispatchResult = WorkflowAdapterNodeDispatchSuccess | WorkflowAdapterNodeDispatchFailure; export declare function dispatchWorkflowAdapterNode(definition: WorkflowDefinition, run: WorkflowRun, nodeId: string, input: WorkflowValue, options: WorkflowAdapterNodeDispatchOptions): Promise; //# sourceMappingURL=adapter-node.d.ts.map