@mastra/playground-ui 7.0.0-beta.9 → 7.0.1-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (175) hide show
  1. package/CHANGELOG.md +223 -376
  2. package/dist/index.cjs.js +4412 -3510
  3. package/dist/index.cjs.js.map +1 -1
  4. package/dist/index.es.js +4390 -3491
  5. package/dist/index.es.js.map +1 -1
  6. package/dist/src/components/assistant-ui/memory-search.d.ts +1 -1
  7. package/dist/src/components/assistant-ui/messages/user-messages.d.ts +1 -0
  8. package/dist/src/components/assistant-ui/thread-list.d.ts +2 -0
  9. package/dist/src/components/assistant-ui/tools/tool-approval.d.ts +8 -0
  10. package/dist/src/components/assistant-ui/tooltip-icon-button.d.ts +1 -6
  11. package/dist/src/components/icons/agent-icon.d.ts +3 -0
  12. package/dist/src/components/icons/automation-icon.d.ts +3 -0
  13. package/dist/src/components/syntax-highlighter.d.ts +1 -2
  14. package/dist/src/components/ui/button.d.ts +3 -8
  15. package/dist/src/components/ui/copyable-content.d.ts +7 -0
  16. package/dist/src/components/ui/dropdown-menu.d.ts +42 -0
  17. package/dist/src/components/ui/elements/buttons/button.d.ts +0 -1
  18. package/dist/src/components/ui/elements/buttons/index.d.ts +0 -1
  19. package/dist/src/components/ui/elements/entry-list/entry-list-toolbar.d.ts +6 -0
  20. package/dist/src/components/ui/elements/form-fields/form-actions.d.ts +12 -0
  21. package/dist/src/components/ui/elements/form-fields/index.d.ts +4 -0
  22. package/dist/src/components/ui/elements/form-fields/radio-group-field.d.ts +21 -0
  23. package/dist/src/components/ui/elements/form-fields/search-field.d.ts +1 -4
  24. package/dist/src/components/ui/elements/form-fields/slider-field.d.ts +15 -0
  25. package/dist/src/components/ui/elements/form-fields/textarea-field.d.ts +11 -0
  26. package/dist/src/components/ui/elements/headers/entity-main-header.d.ts +11 -0
  27. package/dist/src/components/ui/elements/headers/index.d.ts +1 -0
  28. package/dist/src/components/ui/elements/main-sidebar/main-sidebar.d.ts +1 -1
  29. package/dist/src/components/ui/elements/side-dialog/side-dialog-footer.d.ts +10 -0
  30. package/dist/src/components/ui/elements/side-dialog/side-dialog-top.d.ts +2 -1
  31. package/dist/src/components/ui/formatted-date.d.ts +3 -0
  32. package/dist/src/components/ui/input.d.ts +1 -1
  33. package/dist/src/components/ui/resizable.d.ts +23 -0
  34. package/dist/src/components/ui/score-indicator.d.ts +3 -0
  35. package/dist/src/components/ui/syntax-highlighter.d.ts +1 -1
  36. package/dist/src/components/ui/textarea.d.ts +1 -1
  37. package/dist/src/components/ui/toggle.d.ts +12 -0
  38. package/dist/src/domains/agents/components/agent-chat.d.ts +1 -2
  39. package/dist/src/domains/agents/components/agent-entity-header.d.ts +3 -1
  40. package/dist/src/domains/agents/components/agent-evals.d.ts +8 -0
  41. package/dist/src/domains/agents/components/agent-information/agent-information.d.ts +0 -25
  42. package/dist/src/domains/agents/components/agent-information/agent-instructions-enhancer.d.ts +4 -2
  43. package/dist/src/domains/agents/components/agent-information/current-instructions.d.ts +15 -0
  44. package/dist/src/domains/agents/components/agent-information/version-actions.d.ts +8 -0
  45. package/dist/src/domains/agents/components/agent-information/version-history-dialog.d.ts +9 -0
  46. package/dist/src/domains/agents/components/agent-information/version-history.d.ts +10 -0
  47. package/dist/src/domains/agents/components/agent-information/version-item.d.ts +14 -0
  48. package/dist/src/domains/agents/components/agent-metadata/agent-metadata-model-switcher.d.ts +2 -1
  49. package/dist/src/domains/agents/components/agent-metadata/agent-metadata-prompt.d.ts +4 -0
  50. package/dist/src/domains/agents/components/agent-metadata/agent-metadata.d.ts +13 -2
  51. package/dist/src/domains/agents/components/agent-metadata/connection-dot.d.ts +6 -0
  52. package/dist/src/domains/agents/components/agent-metadata/index.d.ts +1 -0
  53. package/dist/src/domains/agents/components/agent-metadata/models.d.ts +5 -0
  54. package/dist/src/domains/agents/components/agent-metadata/provider-status-indicator.d.ts +7 -0
  55. package/dist/src/domains/agents/components/agent-settings.d.ts +4 -2
  56. package/dist/src/domains/agents/components/{request-context.d.ts → runtime-context.d.ts} +2 -2
  57. package/dist/src/domains/agents/context/agent-context.d.ts +1 -2
  58. package/dist/src/domains/agents/context/index.d.ts +1 -1
  59. package/dist/src/domains/agents/context/model-reset-context.d.ts +4 -0
  60. package/dist/src/domains/agents/hooks/use-agent-settings-state.d.ts +1 -2
  61. package/dist/src/domains/agents/hooks/use-execute-agent-tool.d.ts +1 -1
  62. package/dist/src/domains/agents/hooks/use-prompt-enhancer.d.ts +13 -5
  63. package/dist/src/domains/agents/hooks/use-prompt-versions.d.ts +12 -0
  64. package/dist/src/domains/agents/index.d.ts +2 -4
  65. package/dist/src/domains/evals/hooks/index.d.ts +1 -0
  66. package/dist/src/domains/evals/hooks/use-evals-by-agent-id.d.ts +14 -0
  67. package/dist/src/domains/evals/index.d.ts +1 -0
  68. package/dist/src/domains/evals/types.d.ts +23 -0
  69. package/dist/src/domains/mcps/index.d.ts +0 -1
  70. package/dist/src/domains/memory/hooks/use-memory.d.ts +9 -8
  71. package/dist/src/domains/observability/components/helpers.d.ts +6 -4
  72. package/dist/src/domains/observability/components/index.d.ts +1 -1
  73. package/dist/src/domains/observability/components/shared.d.ts +5 -2
  74. package/dist/src/domains/observability/components/span-details.d.ts +2 -2
  75. package/dist/src/domains/observability/components/span-dialog.d.ts +6 -8
  76. package/dist/src/domains/observability/components/span-score-list.d.ts +2 -2
  77. package/dist/src/domains/observability/components/span-scoring.d.ts +1 -4
  78. package/dist/src/domains/observability/components/span-tabs.d.ts +6 -8
  79. package/dist/src/domains/observability/components/trace-dialog.d.ts +4 -7
  80. package/dist/src/domains/observability/components/trace-span-usage.d.ts +2 -2
  81. package/dist/src/domains/observability/components/trace-timeline-legend.d.ts +6 -0
  82. package/dist/src/domains/observability/components/trace-timeline-span.d.ts +1 -6
  83. package/dist/src/domains/observability/components/trace-timeline.d.ts +1 -5
  84. package/dist/src/domains/observability/components/traces-list.d.ts +3 -3
  85. package/dist/src/domains/observability/index.d.ts +0 -1
  86. package/dist/src/domains/observability/types.d.ts +0 -13
  87. package/dist/src/domains/observability/utils/format-hierarchical-spans.d.ts +2 -2
  88. package/dist/src/domains/resizable-panel.d.ts +11 -0
  89. package/dist/src/domains/scores/components/score-dialog.d.ts +1 -1
  90. package/dist/src/domains/scores/components/score-table.d.ts +11 -0
  91. package/dist/src/domains/scores/hooks/use-scorers.d.ts +6 -3
  92. package/dist/src/domains/scores/hooks/use-trace-span-scores.d.ts +1 -1
  93. package/dist/src/domains/scores/index.d.ts +1 -2
  94. package/dist/src/domains/tools/components/ToolExecutor.d.ts +1 -1
  95. package/dist/src/domains/tools/components/index.d.ts +0 -1
  96. package/dist/src/domains/tools/components/tool-table/types.d.ts +2 -0
  97. package/dist/src/domains/tools/hooks/use-all-tools.d.ts +1 -3
  98. package/dist/src/domains/tools/hooks/use-execute-tool.d.ts +1 -1
  99. package/dist/src/domains/traces/components/traces-table.d.ts +8 -0
  100. package/dist/src/domains/traces/components/traces-view.d.ts +12 -0
  101. package/dist/src/domains/traces/context/trace-context.d.ts +20 -0
  102. package/dist/src/domains/traces/hooks/use-open-trace.d.ts +4 -0
  103. package/dist/src/domains/traces/index.d.ts +2 -0
  104. package/dist/src/domains/traces/mock-data.d.ts +1356 -0
  105. package/dist/src/domains/traces/trace-details.d.ts +1 -0
  106. package/dist/src/domains/traces/trace-span-details.d.ts +1 -0
  107. package/dist/src/domains/traces/trace-span-view.d.ts +5 -0
  108. package/dist/src/domains/traces/traces-sidebar.d.ts +6 -0
  109. package/dist/src/domains/traces/types.d.ts +55 -0
  110. package/dist/src/domains/traces/utils/createSpanTree.d.ts +2 -0
  111. package/dist/src/domains/traces/utils/getSpanVariant.d.ts +3 -0
  112. package/dist/src/domains/traces/utils.d.ts +12 -0
  113. package/dist/src/domains/workflows/context/workflow-nested-graph-context.d.ts +7 -1
  114. package/dist/src/domains/workflows/context/workflow-run-context.d.ts +2 -2
  115. package/dist/src/domains/workflows/hooks/use-workflows-actions.d.ts +21 -7
  116. package/dist/src/domains/workflows/index.d.ts +0 -1
  117. package/dist/src/domains/workflows/workflow/workflow-default-node.d.ts +8 -5
  118. package/dist/src/domains/workflows/workflow/workflow-graph-inner.d.ts +7 -1
  119. package/dist/src/domains/workflows/workflow/workflow-graph.d.ts +7 -1
  120. package/dist/src/domains/workflows/workflow/workflow-nested-graph.d.ts +7 -1
  121. package/dist/src/domains/workflows/workflow/workflow-nested-node.d.ts +8 -5
  122. package/dist/src/domains/workflows/workflow/workflow-result.d.ts +5 -0
  123. package/dist/src/domains/workflows/workflow/workflow-run-event-form.d.ts +12 -0
  124. package/dist/src/domains/workflows/workflow/workflow-step-action-bar.d.ts +6 -3
  125. package/dist/src/domains/workflows/workflow/workflow-trigger.d.ts +4 -4
  126. package/dist/src/ds/components/Alert/Alert.d.ts +1 -1
  127. package/dist/src/ds/components/Breadcrumb/Breadcrumb.d.ts +1 -2
  128. package/dist/src/ds/components/Button/Button.d.ts +0 -1
  129. package/dist/src/ds/components/Logo/MastraLogo.d.ts +1 -1
  130. package/dist/src/ds/components/Table/Cells.d.ts +3 -0
  131. package/dist/src/ds/components/TraceTree/Span.d.ts +3 -1
  132. package/dist/src/ds/icons/EvaluatorCoinIcon.d.ts +2 -0
  133. package/dist/src/ds/icons/ScoreIcon.d.ts +2 -0
  134. package/dist/src/ds/icons/index.d.ts +2 -0
  135. package/dist/src/hooks/use-agent-messages.d.ts +3 -4
  136. package/dist/src/hooks/use-resize-column.d.ts +12 -0
  137. package/dist/src/hooks/use-workflow-runs.d.ts +2 -218
  138. package/dist/src/index.d.ts +5 -3
  139. package/dist/src/lib/mastra-client.d.ts +2 -0
  140. package/dist/src/lib/pagination/types.d.ts +11 -0
  141. package/dist/src/lib/polls.d.ts +36 -0
  142. package/dist/src/services/mastra-runtime-provider.d.ts +1 -1
  143. package/dist/src/store/playground-store.d.ts +2 -2
  144. package/dist/src/types/memory.d.ts +7 -0
  145. package/dist/src/types.d.ts +3 -1
  146. package/package.json +25 -30
  147. package/dist/src/components/ui/combobox.d.ts +0 -17
  148. package/dist/src/components/ui/elements/buttons/combined-buttons.d.ts +0 -6
  149. package/dist/src/domains/agents/components/agent-combobox.d.ts +0 -12
  150. package/dist/src/domains/agents/context/agent-prompt-experiment-context.d.ts +0 -15
  151. package/dist/src/domains/agents/hooks/use-agents-model-providers.d.ts +0 -1
  152. package/dist/src/domains/configuration/components/header-list-form.d.ts +0 -10
  153. package/dist/src/domains/configuration/components/playground-config-guard.d.ts +0 -1
  154. package/dist/src/domains/configuration/components/studio-config-form.d.ts +0 -5
  155. package/dist/src/domains/configuration/context/studio-config-context.d.ts +0 -12
  156. package/dist/src/domains/configuration/hooks/use-mastra-instance-status.d.ts +0 -4
  157. package/dist/src/domains/configuration/index.d.ts +0 -4
  158. package/dist/src/domains/configuration/types.d.ts +0 -4
  159. package/dist/src/domains/mcps/components/mcp-server-combobox.d.ts +0 -12
  160. package/dist/src/domains/observability/components/span-type-icon.d.ts +0 -6
  161. package/dist/src/domains/observability/components/timeline-expand-col.d.ts +0 -13
  162. package/dist/src/domains/observability/components/timeline-name-col.d.ts +0 -16
  163. package/dist/src/domains/observability/components/timeline-structure-sign.d.ts +0 -7
  164. package/dist/src/domains/observability/components/timeline-timing-col.d.ts +0 -12
  165. package/dist/src/domains/observability/components/trace-timeline-tools.d.ts +0 -12
  166. package/dist/src/domains/observability/components/tracing-run-options.d.ts +0 -1
  167. package/dist/src/domains/observability/context/tracing-settings-context.d.ts +0 -18
  168. package/dist/src/domains/observability/hooks/use-tracing-settings-state.d.ts +0 -10
  169. package/dist/src/domains/observability/utils/__tests__/span-utils.test.d.ts +0 -1
  170. package/dist/src/domains/observability/utils/get-descendant-ids.d.ts +0 -2
  171. package/dist/src/domains/observability/utils/span-utils.d.ts +0 -9
  172. package/dist/src/domains/scores/components/scorer-combobox.d.ts +0 -12
  173. package/dist/src/domains/tools/components/tool-combobox.d.ts +0 -12
  174. package/dist/src/domains/workflows/components/workflow-combobox.d.ts +0 -12
  175. package/dist/src/domains/workflows/workflow/workflow-node-badges.d.ts +0 -55
@@ -1,7 +0,0 @@
1
- type TimelineStructureSignProps = {
2
- isLastChild?: boolean;
3
- hasChildren?: boolean;
4
- expanded?: boolean;
5
- };
6
- export declare function TimelineStructureSign({ isLastChild, hasChildren, expanded, }: TimelineStructureSignProps): import("react/jsx-runtime").JSX.Element;
7
- export {};
@@ -1,12 +0,0 @@
1
- import { UISpan } from '../types';
2
- type TimelineTimingColProps = {
3
- span: UISpan;
4
- selectedSpanId?: string;
5
- isFaded?: boolean;
6
- overallLatency?: number;
7
- overallStartTime?: string;
8
- overallEndTime?: string;
9
- color?: string;
10
- };
11
- export declare function TimelineTimingCol({ span, selectedSpanId, isFaded, overallLatency, overallStartTime, color, }: TimelineTimingColProps): import("react/jsx-runtime").JSX.Element;
12
- export {};
@@ -1,12 +0,0 @@
1
- import { SpanRecord } from '@mastra/core/storage';
2
- type TraceTimelineLegendProps = {
3
- spans?: SpanRecord[];
4
- fadedTypes?: string[];
5
- onLegendClick?: (val: string) => void;
6
- onLegendReset?: () => void;
7
- searchPhrase?: string;
8
- onSearchPhraseChange?: (val: string) => void;
9
- traceId?: string;
10
- };
11
- export declare function TraceTimelineTools({ spans, fadedTypes, onLegendClick, onLegendReset, onSearchPhraseChange, traceId, }: TraceTimelineLegendProps): import("react/jsx-runtime").JSX.Element;
12
- export {};
@@ -1 +0,0 @@
1
- export declare const TracingRunOptions: () => import("react/jsx-runtime").JSX.Element;
@@ -1,18 +0,0 @@
1
- import { TracingOptions } from '@mastra/core/observability';
2
- import { ReactNode } from '../../../../node_modules/@types/react';
3
- export type TracingSettings = {
4
- tracingOptions?: TracingOptions;
5
- };
6
- export type TracingSettingsContextType = {
7
- setSettings: (settings: TracingSettings) => void;
8
- resetAll: () => void;
9
- settings?: TracingSettings;
10
- };
11
- export declare const TracingSettingsContext: import('../../../../node_modules/@types/react').Context<TracingSettingsContextType>;
12
- export interface TracingSettingsProviderProps {
13
- children: ReactNode;
14
- entityId: string;
15
- entityType: 'workflow' | 'agent';
16
- }
17
- export declare const TracingSettingsProvider: ({ children, entityId, entityType }: TracingSettingsProviderProps) => import("react/jsx-runtime").JSX.Element;
18
- export declare const useTracingSettings: () => TracingSettingsContextType;
@@ -1,10 +0,0 @@
1
- import { TracingSettings } from '../context/tracing-settings-context';
2
- export interface TracingSettingsStateProps {
3
- entityId: string;
4
- entityType: 'workflow' | 'agent';
5
- }
6
- export declare function useTracingSettingsState({ entityId, entityType }: TracingSettingsStateProps): {
7
- settings: TracingSettings | undefined;
8
- setSettings: (settingsValue: TracingSettings) => void;
9
- resetAll: () => void;
10
- };
@@ -1,2 +0,0 @@
1
- import { UISpan } from '../types';
2
- export declare function getSpanDescendantIds(span: UISpan): string[];
@@ -1,9 +0,0 @@
1
- import { SpanRecord } from '@mastra/core/storage';
2
- /**
3
- * Check if a span indicates that the token limit was exceeded
4
- */
5
- export declare function isTokenLimitExceeded(span?: SpanRecord): boolean;
6
- /**
7
- * Get a human-readable message for token limit exceeded
8
- */
9
- export declare function getTokenLimitMessage(span?: SpanRecord): string;
@@ -1,12 +0,0 @@
1
- export interface ScorerComboboxProps {
2
- value?: string;
3
- onValueChange?: (value: string) => void;
4
- placeholder?: string;
5
- searchPlaceholder?: string;
6
- emptyText?: string;
7
- className?: string;
8
- disabled?: boolean;
9
- buttonClassName?: string;
10
- contentClassName?: string;
11
- }
12
- export declare function ScorerCombobox({ value, onValueChange, placeholder, searchPlaceholder, emptyText, className, disabled, buttonClassName, contentClassName, }: ScorerComboboxProps): import("react/jsx-runtime").JSX.Element;
@@ -1,12 +0,0 @@
1
- export interface ToolComboboxProps {
2
- value?: string;
3
- onValueChange?: (value: string) => void;
4
- placeholder?: string;
5
- searchPlaceholder?: string;
6
- emptyText?: string;
7
- className?: string;
8
- disabled?: boolean;
9
- buttonClassName?: string;
10
- contentClassName?: string;
11
- }
12
- export declare function ToolCombobox({ value, onValueChange, placeholder, searchPlaceholder, emptyText, className, disabled, buttonClassName, contentClassName, }: ToolComboboxProps): import("react/jsx-runtime").JSX.Element;
@@ -1,12 +0,0 @@
1
- export interface WorkflowComboboxProps {
2
- value?: string;
3
- onValueChange?: (value: string) => void;
4
- placeholder?: string;
5
- searchPlaceholder?: string;
6
- emptyText?: string;
7
- className?: string;
8
- disabled?: boolean;
9
- buttonClassName?: string;
10
- contentClassName?: string;
11
- }
12
- export declare function WorkflowCombobox({ value, onValueChange, placeholder, searchPlaceholder, emptyText, className, disabled, buttonClassName, contentClassName, }: WorkflowComboboxProps): import("react/jsx-runtime").JSX.Element;
@@ -1,55 +0,0 @@
1
- import { LucideIcon } from 'lucide-react';
2
- export declare const BADGE_COLORS: {
3
- readonly sleep: "#A855F7";
4
- readonly forEach: "#F97316";
5
- readonly map: "#F97316";
6
- readonly parallel: "#3B82F6";
7
- readonly suspend: "#EC4899";
8
- readonly after: "#14B8A6";
9
- readonly workflow: "#8B5CF6";
10
- readonly when: "#ECB047";
11
- readonly dountil: "#8B5CF6";
12
- readonly dowhile: "#06B6D4";
13
- readonly until: "#F59E0B";
14
- readonly while: "#10B981";
15
- readonly if: "#3B82F6";
16
- readonly else: "#6B7280";
17
- };
18
- export declare const BADGE_ICONS: {
19
- readonly sleep: import('../../../../node_modules/@types/react').ForwardRefExoticComponent<Omit<import('lucide-react').LucideProps, "ref"> & import('../../../../node_modules/@types/react').RefAttributes<SVGSVGElement>>;
20
- readonly sleepUntil: import('../../../../node_modules/@types/react').ForwardRefExoticComponent<Omit<import('lucide-react').LucideProps, "ref"> & import('../../../../node_modules/@types/react').RefAttributes<SVGSVGElement>>;
21
- readonly forEach: import('../../../../node_modules/@types/react').ForwardRefExoticComponent<Omit<import('lucide-react').LucideProps, "ref"> & import('../../../../node_modules/@types/react').RefAttributes<SVGSVGElement>>;
22
- readonly map: import('../../../../node_modules/@types/react').ForwardRefExoticComponent<Omit<import('lucide-react').LucideProps, "ref"> & import('../../../../node_modules/@types/react').RefAttributes<SVGSVGElement>>;
23
- readonly parallel: import('../../../../node_modules/@types/react').ForwardRefExoticComponent<Omit<import('lucide-react').LucideProps, "ref"> & import('../../../../node_modules/@types/react').RefAttributes<SVGSVGElement>>;
24
- readonly suspend: import('../../../../node_modules/@types/react').ForwardRefExoticComponent<Omit<import('lucide-react').LucideProps, "ref"> & import('../../../../node_modules/@types/react').RefAttributes<SVGSVGElement>>;
25
- readonly after: import('../../../../node_modules/@types/react').ForwardRefExoticComponent<Omit<import('lucide-react').LucideProps, "ref"> & import('../../../../node_modules/@types/react').RefAttributes<SVGSVGElement>>;
26
- readonly workflow: import('../../../../node_modules/@types/react').ForwardRefExoticComponent<Omit<import('lucide-react').LucideProps, "ref"> & import('../../../../node_modules/@types/react').RefAttributes<SVGSVGElement>>;
27
- readonly when: import('../../../../node_modules/@types/react').ForwardRefExoticComponent<Omit<import('lucide-react').LucideProps, "ref"> & import('../../../../node_modules/@types/react').RefAttributes<SVGSVGElement>>;
28
- readonly dountil: import('../../../../node_modules/@types/react').ForwardRefExoticComponent<Omit<import('lucide-react').LucideProps, "ref"> & import('../../../../node_modules/@types/react').RefAttributes<SVGSVGElement>>;
29
- readonly dowhile: import('../../../../node_modules/@types/react').ForwardRefExoticComponent<Omit<import('lucide-react').LucideProps, "ref"> & import('../../../../node_modules/@types/react').RefAttributes<SVGSVGElement>>;
30
- readonly until: import('../../../../node_modules/@types/react').ForwardRefExoticComponent<Omit<import('lucide-react').LucideProps, "ref"> & import('../../../../node_modules/@types/react').RefAttributes<SVGSVGElement>>;
31
- readonly while: import('../../../../node_modules/@types/react').ForwardRefExoticComponent<Omit<import('lucide-react').LucideProps, "ref"> & import('../../../../node_modules/@types/react').RefAttributes<SVGSVGElement>>;
32
- readonly if: import('../../../../node_modules/@types/react').ForwardRefExoticComponent<Omit<import('lucide-react').LucideProps, "ref"> & import('../../../../node_modules/@types/react').RefAttributes<SVGSVGElement>>;
33
- readonly else: import('../../../../node_modules/@types/react').ForwardRefExoticComponent<Omit<import('lucide-react').LucideProps, "ref"> & import('../../../../node_modules/@types/react').RefAttributes<SVGSVGElement>>;
34
- };
35
- export interface ConditionIconConfig {
36
- icon: LucideIcon | undefined;
37
- color: string | undefined;
38
- }
39
- export declare const getConditionIconAndColor: (type: string) => ConditionIconConfig;
40
- export interface NodeBadgeInfo {
41
- isSleepNode: boolean;
42
- isForEachNode: boolean;
43
- isMapNode: boolean;
44
- isNestedWorkflow: boolean;
45
- hasSpecialBadge: boolean;
46
- }
47
- export declare const getNodeBadgeInfo: (data: {
48
- duration?: number;
49
- date?: Date;
50
- isForEach?: boolean;
51
- mapConfig?: string;
52
- canSuspend?: boolean;
53
- isParallel?: boolean;
54
- stepGraph?: any;
55
- }) => NodeBadgeInfo;