import type { StructNode } from "../../shared/schema-utils/index.js"; import type { WorkflowOutcomeDataFriendlyNode, WorkflowOutcomeIdentifier } from "../../shared/workflow/index.js"; /** * A React component that asserts a possible outcome that a block executor can return. * * Outcomes should always be an object with fields. */ export type Outcome = React.ComponentType<{ label?: string; schema: { [key: string]: WorkflowOutcomeDataFriendlyNode; } | StructNode<{ [key: string]: WorkflowOutcomeDataFriendlyNode; }> | null; } & WorkflowOutcomeIdentifier>; //# sourceMappingURL=outcome.d.ts.map