import type React from "react"; import type { SmithersCtx } from "./SmithersCtx"; import type { SmithersWorkflowOptions } from "./SmithersWorkflowOptions"; import type { SchemaRegistryEntry } from "./SchemaRegistryEntry"; export type SmithersWorkflow = { db: unknown; build: (ctx: SmithersCtx) => React.ReactElement; opts: SmithersWorkflowOptions; schemaRegistry?: Map; /** Reverse lookup: ZodObject reference → schema key name */ zodToKeyName?: Map, string>; };