Defines a workflow type:
export const checkout = workflow("checkout", async (ctx, order: Order) => { ... });
export const nightly = workflow("nightly", { version: 2, timeout: "1h" }, async (ctx) => { ... });
A definition that only names a type (another process runs its code).
Defines a workflow type: