import { NodeRunResult, WorkflowNode, WorkflowNodeRetryPolicy, WorkflowNodeRun } from "./types.js"; //#region src/node.d.ts /** * Construct a {@link WorkflowNode}. The wrapper exists to give the * engine a stable shape and to keep `createWorkflow({...})` callers * from instantiating nodes by hand. Carries the optional per-node * execution policy: `timeoutMs` + `retry`. * * @stable */ declare function createNode>(opts: { readonly name: string; readonly run: WorkflowNodeRun; readonly timeoutMs?: number; readonly retry?: WorkflowNodeRetryPolicy; }): WorkflowNode; //#endregion export { type NodeRunResult, type WorkflowNode, type WorkflowNodeRun, createNode }; //# sourceMappingURL=node.d.ts.map