@altimateai/ui-components 0.0.1-beta.4 → 0.0.1-beta.6

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 (40) hide show
  1. package/dist/CoachForm.js +20 -8
  2. package/dist/assets/icons/index.d.ts +96 -0
  3. package/dist/chatbot/index.d.ts +43 -0
  4. package/dist/chatbotV2/index.d.ts +184 -0
  5. package/dist/index.d.ts +215 -0
  6. package/dist/lineage/index.d.ts +189 -0
  7. package/dist/shadcn/index.d.ts +516 -0
  8. package/dist/storybook/Accordion.stories.tsx +52 -0
  9. package/dist/storybook/Alert.stories.tsx +61 -0
  10. package/dist/storybook/AlertDialog.stories.tsx +161 -0
  11. package/dist/storybook/Avatar.stories.tsx +58 -0
  12. package/dist/storybook/Badge.stories.tsx +36 -0
  13. package/dist/storybook/Button.stories.tsx +109 -0
  14. package/dist/storybook/Card.stories.tsx +69 -0
  15. package/dist/storybook/Checkbox.stories.tsx +65 -0
  16. package/dist/storybook/Command.stories.tsx +35 -0
  17. package/dist/storybook/DropdownMenu.stories.tsx +36 -0
  18. package/dist/storybook/Form.stories.tsx +114 -0
  19. package/dist/storybook/HoverCard.stories.tsx +99 -0
  20. package/dist/storybook/Input.stories.tsx +53 -0
  21. package/dist/storybook/Label.stories.tsx +42 -0
  22. package/dist/storybook/Menubar.stories.tsx +159 -0
  23. package/dist/storybook/Pagination.stories.tsx +152 -0
  24. package/dist/storybook/Popover.stories.tsx +23 -0
  25. package/dist/storybook/Progress.stories.tsx +89 -0
  26. package/dist/storybook/RadioGroup.stories.tsx +58 -0
  27. package/dist/storybook/Resizable.stories.tsx +119 -0
  28. package/dist/storybook/ScrollArea.stories.tsx +101 -0
  29. package/dist/storybook/Select.stories.tsx +95 -0
  30. package/dist/storybook/Sheet.stories.tsx +69 -0
  31. package/dist/storybook/Sidebar.stories.tsx +97 -0
  32. package/dist/storybook/Slider.stories.tsx +79 -0
  33. package/dist/storybook/Switch.stories.tsx +90 -0
  34. package/dist/storybook/Textarea.stories.tsx +50 -0
  35. package/dist/storybook/Toast.stories.tsx +107 -0
  36. package/dist/storybook/Tooltip.stories.tsx +28 -0
  37. package/dist/storybook/Typography.stories.tsx +178 -0
  38. package/dist/types-FVWfXDNw.d.ts +104 -0
  39. package/package.json +2 -2
  40. package/readme.md +11 -11
package/dist/CoachForm.js CHANGED
@@ -33638,16 +33638,28 @@ ${n}
33638
33638
  const t = async (e) => {
33639
33639
  console.log(e);
33640
33640
  };
33641
- return /* @__PURE__ */ z.jsx("div", { className: "al-w-full al-flex-shrink-0", children: /* @__PURE__ */ z.jsx("div", { className: "al-h-full al-w-full", children: /* @__PURE__ */ z.jsx(C5, { initialValidation: t, taskLabel: mi.AlertManager, children: /* @__PURE__ */ z.jsx("div", { children: /* @__PURE__ */ z.jsx(
33642
- A5,
33641
+ return /* @__PURE__ */ z.jsx("div", { className: "al-w-full al-flex-shrink-0", children: /* @__PURE__ */ z.jsx("div", { className: "al-h-full al-w-full", children: /* @__PURE__ */ z.jsx(
33642
+ C5,
33643
33643
  {
33644
- helloMessage: /* @__PURE__ */ z.jsx("div", { children: "Hello" }),
33645
- fileUploadProps: {
33646
- allowedFiles: ".sql",
33647
- contextFieldKey: "query"
33648
- }
33644
+ initialValidation: t,
33645
+ taskLabel: mi.AlertManager,
33646
+ urls: {
33647
+ origin: localStorage.getItem("agent_origin") || "",
33648
+ askPath: localStorage.getItem("agent_ask") || "",
33649
+ proceedPath: localStorage.getItem("agent_proceed") || ""
33650
+ },
33651
+ children: /* @__PURE__ */ z.jsx("div", { children: /* @__PURE__ */ z.jsx(
33652
+ A5,
33653
+ {
33654
+ helloMessage: /* @__PURE__ */ z.jsx("div", { children: "Hello" }),
33655
+ fileUploadProps: {
33656
+ allowedFiles: ".sql",
33657
+ contextFieldKey: "query"
33658
+ }
33659
+ }
33660
+ ) })
33649
33661
  }
33650
- ) }) }) }) });
33662
+ ) }) });
33651
33663
  }, NU = [
33652
33664
  {
33653
33665
  name: "Documentation Writer",
@@ -0,0 +1,96 @@
1
+ import { FC, SVGProps } from 'react';
2
+ declare const AddIcon: FC<SVGProps<SVGSVGElement>>;
3
+ declare const ArrowLeftIcon: FC<SVGProps<SVGSVGElement>>;
4
+ declare const ArrowRightIcon: FC<SVGProps<SVGSVGElement>>;
5
+ declare const AskIcon: FC<SVGProps<SVGSVGElement>>;
6
+ declare const BoltIcon: FC<SVGProps<SVGSVGElement>>;
7
+ declare const BracketsIcon: FC<SVGProps<SVGSVGElement>>;
8
+ declare const CaseSensitiveIcon: FC<SVGProps<SVGSVGElement>>;
9
+ declare const CheckNoOutlineIcon: FC<SVGProps<SVGSVGElement>>;
10
+ declare const CheckedIcon: FC<SVGProps<SVGSVGElement>>;
11
+ declare const ChevronDownIcon: FC<SVGProps<SVGSVGElement>>;
12
+ declare const ChevronLeftIcon: FC<SVGProps<SVGSVGElement>>;
13
+ declare const ChevronRightIcon: FC<SVGProps<SVGSVGElement>>;
14
+ declare const ChevronUpIcon: FC<SVGProps<SVGSVGElement>>;
15
+ declare const CircleIcon: FC<SVGProps<SVGSVGElement>>;
16
+ declare const CloseIcon: FC<SVGProps<SVGSVGElement>>;
17
+ declare const CodeIcon: FC<SVGProps<SVGSVGElement>>;
18
+ declare const CommentAddIcon: FC<SVGProps<SVGSVGElement>>;
19
+ declare const CommentDiscussionIcon: FC<SVGProps<SVGSVGElement>>;
20
+ declare const CommentUnresolvedIcon: FC<SVGProps<SVGSVGElement>>;
21
+ declare const CopyIcon: FC<SVGProps<SVGSVGElement>>;
22
+ declare const DatabaseIcon: FC<SVGProps<SVGSVGElement>>;
23
+ declare const DeleteIcon: FC<SVGProps<SVGSVGElement>>;
24
+ declare const DownloadIcon: FC<SVGProps<SVGSVGElement>>;
25
+ declare const EditIcon: FC<SVGProps<SVGSVGElement>>;
26
+ declare const FileUploadIcon: FC<SVGProps<SVGSVGElement>>;
27
+ declare const FilesIcon: FC<SVGProps<SVGSVGElement>>;
28
+ declare const GitMergeIcon: FC<SVGProps<SVGSVGElement>>;
29
+ declare const GithubIcon: FC<SVGProps<SVGSVGElement>>;
30
+ declare const GlobeIcon: FC<SVGProps<SVGSVGElement>>;
31
+ declare const GripVerticalIcon: FC<SVGProps<SVGSVGElement>>;
32
+ declare const HalfCircleIcon: FC<SVGProps<SVGSVGElement>>;
33
+ declare const InfoCircleIcon: FC<SVGProps<SVGSVGElement>>;
34
+ declare const LoaderIcon: FC<SVGProps<SVGSVGElement>>;
35
+ declare const MoreIcon: FC<SVGProps<SVGSVGElement>>;
36
+ declare const PanelLeftIcon: FC<SVGProps<SVGSVGElement>>;
37
+ declare const RefreshIcon: FC<SVGProps<SVGSVGElement>>;
38
+ declare const RemoveIcon: FC<SVGProps<SVGSVGElement>>;
39
+ declare const RobotIcon: FC<SVGProps<SVGSVGElement>>;
40
+ declare const SearchIcon: FC<SVGProps<SVGSVGElement>>;
41
+ declare const SettingsIcon: FC<SVGProps<SVGSVGElement>>;
42
+ declare const ShareIcon: FC<SVGProps<SVGSVGElement>>;
43
+ declare const SplitHorizontalIcon: FC<SVGProps<SVGSVGElement>>;
44
+ declare const ThinkingIcon: FC<SVGProps<SVGSVGElement>>;
45
+ declare const ThumbsDownIcon: FC<SVGProps<SVGSVGElement>>;
46
+ declare const ThumbsUpIcon: FC<SVGProps<SVGSVGElement>>;
47
+ declare const UserIcon: FC<SVGProps<SVGSVGElement>>;
48
+
49
+ export {
50
+ AddIcon,
51
+ ArrowLeftIcon,
52
+ ArrowRightIcon,
53
+ AskIcon,
54
+ BoltIcon,
55
+ BracketsIcon,
56
+ CaseSensitiveIcon,
57
+ CheckNoOutlineIcon,
58
+ CheckedIcon,
59
+ ChevronDownIcon,
60
+ ChevronLeftIcon,
61
+ ChevronRightIcon,
62
+ ChevronUpIcon,
63
+ CircleIcon,
64
+ CloseIcon,
65
+ CodeIcon,
66
+ CommentAddIcon,
67
+ CommentDiscussionIcon,
68
+ CommentUnresolvedIcon,
69
+ CopyIcon,
70
+ DatabaseIcon,
71
+ DeleteIcon,
72
+ DownloadIcon,
73
+ EditIcon,
74
+ FileUploadIcon,
75
+ FilesIcon,
76
+ GitMergeIcon,
77
+ GithubIcon,
78
+ GlobeIcon,
79
+ GripVerticalIcon,
80
+ HalfCircleIcon,
81
+ InfoCircleIcon,
82
+ LoaderIcon,
83
+ MoreIcon,
84
+ PanelLeftIcon,
85
+ RefreshIcon,
86
+ RemoveIcon,
87
+ RobotIcon,
88
+ SearchIcon,
89
+ SettingsIcon,
90
+ ShareIcon,
91
+ SplitHorizontalIcon,
92
+ ThinkingIcon,
93
+ ThumbsDownIcon,
94
+ ThumbsUpIcon,
95
+ UserIcon
96
+ };
@@ -0,0 +1,43 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
+ import { ChatMessage } from '@ant-design/pro-chat';
3
+ import { ProChatProps } from '@ant-design/pro-chat/es/ProChat/container';
4
+ import { T as TaskLabels } from '../types-FVWfXDNw.js';
5
+ import 'react';
6
+ import '@reduxjs/toolkit';
7
+ import 'zod';
8
+
9
+ interface Citation {
10
+ id: string;
11
+ content: string;
12
+ taskLabel: TaskLabels;
13
+ }
14
+ interface StatusInfoMessage {
15
+ type: "info" | "agent_outcome" | "citations";
16
+ message: string;
17
+ citations?: Citation[];
18
+ id?: string;
19
+ }
20
+
21
+ type ChatExtra = {
22
+ statusUpdates?: StatusInfoMessage[];
23
+ citations?: Citation[];
24
+ };
25
+ interface Props extends ProChatProps<ChatExtra> {
26
+ loading?: boolean;
27
+ onRequest: (messages: ChatMessage[], sessionId: string, onStatusUpdate: (info: StatusInfoMessage) => void) => Promise<Response | string>;
28
+ sessionId?: string;
29
+ onFollowupRequest?: (sessionId: string) => Promise<string[] | undefined>;
30
+ frontendUrl: string;
31
+ }
32
+ declare const Chatbot: ({ loading, onRequest, sessionId: sessionIdProp, onFollowupRequest, frontendUrl, ...props }: Props) => react_jsx_runtime.JSX.Element;
33
+
34
+ declare const ChatTriggerLink: ({ text }: {
35
+ text: string;
36
+ }) => react_jsx_runtime.JSX.Element;
37
+
38
+ declare const Citations: ({ citations, frontendUrl, }: {
39
+ citations?: Citation[];
40
+ frontendUrl: string;
41
+ }) => JSX.Element | null;
42
+
43
+ export { ChatTriggerLink, Chatbot, type Citation, Citations, type StatusInfoMessage };
@@ -0,0 +1,184 @@
1
+ import React__default, { FC } from 'react';
2
+ import { T as TaskLabels } from '../types-FVWfXDNw.js';
3
+ import * as react_jsx_runtime from 'react/jsx-runtime';
4
+ import '@reduxjs/toolkit';
5
+ import 'zod';
6
+
7
+ interface AgentAction {
8
+ id?: string;
9
+ type: "info" | "analysis";
10
+ content: string;
11
+ timestamp: number;
12
+ artifacts?: Artifact[];
13
+ }
14
+ declare enum LoadingState {
15
+ LOADING = "LOADING",
16
+ LOADED = "LOADED",
17
+ ERROR = "ERROR",
18
+ UNINITIALIZED = "UNINITIALIZED"
19
+ }
20
+ interface AssistantMeta {
21
+ avatar: string;
22
+ name: string;
23
+ }
24
+ interface Feedback {
25
+ rating?: "up" | "down";
26
+ comment?: string;
27
+ }
28
+ interface ChatSession {
29
+ id: string;
30
+ messages: ChatMessage[];
31
+ context?: {
32
+ files?: File[];
33
+ selectedOptions?: string[];
34
+ [x: string]: unknown;
35
+ };
36
+ }
37
+ interface FileUploadProps {
38
+ allowedFiles: string;
39
+ contextFieldKey: string;
40
+ }
41
+ interface ChatbotUrls {
42
+ origin?: string;
43
+ askPath?: string;
44
+ proceedPath?: string;
45
+ }
46
+ interface ChatbotProps {
47
+ helloMessage?: React.ReactNode;
48
+ assistantMeta?: AssistantMeta;
49
+ context?: Record<string, unknown>;
50
+ fileUploadProps?: FileUploadProps;
51
+ }
52
+ type InteractionType = "text" | "select" | "multiSelect" | "confirm";
53
+ interface InteractionChoice {
54
+ id: string;
55
+ label: string;
56
+ value: string;
57
+ }
58
+ interface InteractionRequest {
59
+ type: InteractionType;
60
+ id: string;
61
+ prompt: string;
62
+ required?: boolean;
63
+ choices?: InteractionChoice[];
64
+ validation?: {
65
+ pattern?: string;
66
+ message?: string;
67
+ };
68
+ }
69
+ interface ChatMessage {
70
+ id: string;
71
+ content: string;
72
+ role: "user" | "assistant";
73
+ timestamp: number;
74
+ followUpQuestions?: string[];
75
+ actions?: AgentAction[];
76
+ interaction?: InteractionRequest;
77
+ artifacts?: Artifact[];
78
+ heading: string;
79
+ }
80
+ interface Artifact {
81
+ content: string;
82
+ entity: string;
83
+ name: string;
84
+ type: string;
85
+ }
86
+ interface ChatResponse {
87
+ content: string;
88
+ followUpQuestions?: string[];
89
+ actions?: AgentAction[];
90
+ interaction?: InteractionRequest;
91
+ role: "assistant" | "user";
92
+ timestamp: number;
93
+ artifacts?: Artifact[];
94
+ heading: string;
95
+ }
96
+ interface ChatState {
97
+ sessions: Record<string, ChatSession>;
98
+ currentSessionId: string | null;
99
+ loadingState: LoadingState;
100
+ error: string | null;
101
+ abortController: AbortController | null;
102
+ currentActions: AgentAction[];
103
+ taskLabel?: keyof typeof TaskLabels;
104
+ initialValidation?: (data: {
105
+ context: ChatSession["context"];
106
+ }) => Promise<void>;
107
+ urls?: ChatbotUrls;
108
+ }
109
+
110
+ declare const Chatbot: FC<ChatbotProps>;
111
+
112
+ declare const ChatProvider: React__default.FC<{
113
+ children: React__default.ReactNode;
114
+ taskLabel?: keyof typeof TaskLabels;
115
+ initialValidation?: ChatState["initialValidation"];
116
+ onError?: (error: unknown) => void;
117
+ urls?: ChatbotUrls;
118
+ }>;
119
+
120
+ interface ArtifactsProps {
121
+ artifacts: Artifact[];
122
+ }
123
+ declare const Artifacts: FC<ArtifactsProps>;
124
+
125
+ declare const CancelGenerationButton: React__default.FC;
126
+
127
+ declare const CoachAI: () => react_jsx_runtime.JSX.Element | null;
128
+
129
+ interface ContextPanelProps {
130
+ fileUploadProps?: {
131
+ allowedFiles: string;
132
+ contextFieldKey: string;
133
+ };
134
+ }
135
+ declare const ContextPanel: React.FC<ContextPanelProps>;
136
+
137
+ interface FeedbackButtonsProps {
138
+ messageId: string;
139
+ }
140
+ declare const FeedbackButtons: FC<FeedbackButtonsProps>;
141
+
142
+ interface InteractionPromptProps {
143
+ interaction: InteractionRequest;
144
+ }
145
+ declare const InteractionPrompt: React__default.FC<InteractionPromptProps>;
146
+
147
+ declare const LoadingIndicator: FC;
148
+
149
+ interface MessageItemProps {
150
+ message: ChatMessage;
151
+ isLastMessage?: boolean;
152
+ }
153
+ declare const MessageItem: FC<MessageItemProps>;
154
+
155
+ interface MessageListProps {
156
+ messages: ChatMessage[];
157
+ }
158
+ declare const MessageList: FC<MessageListProps>;
159
+
160
+ interface MessageMenuProps {
161
+ messageId: string;
162
+ content: string;
163
+ }
164
+ declare const MessageMenu: FC<MessageMenuProps>;
165
+
166
+ interface QuestionFormProps {
167
+ onSubmit: (message: string) => Promise<void>;
168
+ isLoading: boolean;
169
+ }
170
+ declare const QuestionForm: React.FC<QuestionFormProps>;
171
+
172
+ interface RegenerateButtonProps {
173
+ messageId: string;
174
+ }
175
+ declare const RegenerateButton: FC<RegenerateButtonProps>;
176
+
177
+ interface StatusUpdatesProps {
178
+ actions: AgentAction[];
179
+ isComplete?: boolean;
180
+ heading: string;
181
+ }
182
+ declare const StatusUpdates: FC<StatusUpdatesProps>;
183
+
184
+ export { type AgentAction, type Artifact, Artifacts, type AssistantMeta, CancelGenerationButton, type ChatMessage, ChatProvider, type ChatResponse, type ChatSession, type ChatState, type ChatbotProps, type ChatbotUrls, Chatbot as ChatbotV2, CoachAI, ContextPanel, type Feedback, FeedbackButtons, type InteractionChoice, InteractionPrompt, type InteractionRequest, type InteractionType, LoadingIndicator, LoadingState, MessageItem, MessageList, MessageMenu, QuestionForm, RegenerateButton, StatusUpdates };
@@ -0,0 +1,215 @@
1
+ import { ButtonHTMLAttributes, ReactNode } from 'react';
2
+ import { ButtonProps, BadgeProps } from 'reactstrap';
3
+ import * as react_jsx_runtime from 'react/jsx-runtime';
4
+ import { T as TaskLabels, a as TeamMateContextProps, b as TeamMateState, c as TeamMateConfig, d as TeamMateActionType, e as TeamMateAvailability } from './types-FVWfXDNw.js';
5
+ export { f as CoachAiConfirmationResponse, C as CoachAiResponse, g as ContentCategory, L as Learning, P as PersonalizationScope, h as TeamMateComponentProps, l as learningSchema } from './types-FVWfXDNw.js';
6
+ import * as _reduxjs_toolkit from '@reduxjs/toolkit';
7
+ import { PayloadAction } from '@reduxjs/toolkit';
8
+ import * as immer from 'immer';
9
+ import { z } from 'zod';
10
+
11
+ interface Props$9 extends ButtonHTMLAttributes<HTMLButtonElement> {
12
+ color?: string;
13
+ }
14
+ declare const IconButton: (props: Props$9) => JSX.Element;
15
+
16
+ interface Props$8 {
17
+ children: ReactNode;
18
+ title?: string | ReactNode;
19
+ id?: string;
20
+ className?: string;
21
+ }
22
+ declare const Tooltip: (props: Props$8) => JSX.Element;
23
+
24
+ interface Props$7 extends ButtonProps {
25
+ loading: boolean;
26
+ }
27
+ declare const LoadingButton: ({ loading, ...rest }: Props$7) => JSX.Element;
28
+
29
+ interface Props$6 {
30
+ code: string;
31
+ language: "sql" | "yaml" | "markdown" | "json" | "javascript";
32
+ fileName?: string;
33
+ showLineNumbers?: boolean;
34
+ editorTheme?: "vs" | "vsc-dark-plus" | "solarizedLight" | "tomorrow";
35
+ theme: "light" | "dark";
36
+ className?: string;
37
+ titleActions?: ReactNode;
38
+ }
39
+ declare const CodeBlockComponent: ({ code, language, fileName, editorTheme, theme, showLineNumbers, className, titleActions, }: Props$6) => JSX.Element;
40
+
41
+ interface Props$5 extends BadgeProps {
42
+ tooltip: Parameters<typeof Tooltip>[0]["title"];
43
+ }
44
+ declare const Badge: ({ tooltip, ...props }: Props$5) => react_jsx_runtime.JSX.Element;
45
+
46
+ declare const ApiHelper: {
47
+ get: <T>(_url: string, _data?: Record<string, unknown>, _request?: RequestInit) => Promise<T>;
48
+ post: <T>(_url: string, _data: Record<string, unknown>, _request?: RequestInit) => Promise<T>;
49
+ };
50
+
51
+ interface User {
52
+ display_name: string;
53
+ first_name: string;
54
+ last_name: string;
55
+ id: number;
56
+ }
57
+
58
+ interface DbtDocsShareDetails {
59
+ catalog_presigned_url?: string;
60
+ manifest_presigned_url?: string;
61
+ share_id: number;
62
+ }
63
+
64
+ interface Conversation {
65
+ timestamp: string;
66
+ user_id: number;
67
+ message: string;
68
+ conversation_id: number;
69
+ }
70
+ interface ConversationGroup {
71
+ owner: number;
72
+ conversation_group_id: number;
73
+ conversations: Conversation[];
74
+ status: "Pending" | "Expired";
75
+ meta: {
76
+ field?: "description";
77
+ column?: string;
78
+ filePath: string;
79
+ highlight: string;
80
+ uniqueId?: string;
81
+ resource_type?: string;
82
+ range: {
83
+ end: {
84
+ line: number;
85
+ character: number;
86
+ };
87
+ start: {
88
+ line: number;
89
+ character: number;
90
+ };
91
+ };
92
+ };
93
+ }
94
+ declare enum ConversationSources {
95
+ DBT_DOCS = "dbt-docs",
96
+ DOCUMENTATION_EDITOR = "documentation-editor",
97
+ SAAS = "saas"
98
+ }
99
+
100
+ interface Props$4 {
101
+ shareId: number;
102
+ userId?: number;
103
+ conversationGroupId?: number;
104
+ source: ConversationSources;
105
+ }
106
+ declare const DbtDocs: ({ shareId, userId, conversationGroupId, source }: Props$4) => react_jsx_runtime.JSX.Element;
107
+
108
+ interface Props$3 {
109
+ comment: string;
110
+ setComment: (comment: string) => void;
111
+ loading: boolean;
112
+ users: User[];
113
+ currentUser: User | null;
114
+ placeholder?: string;
115
+ onEnterKeypress?: () => void;
116
+ }
117
+ declare const ConversationInputForm: ({ comment, setComment, loading, users, currentUser, placeholder, onEnterKeypress, }: Props$3) => react_jsx_runtime.JSX.Element;
118
+
119
+ interface Props$2 {
120
+ currentUser?: User;
121
+ conversationGroup?: ConversationGroup;
122
+ shareId?: DbtDocsShareDetails["share_id"];
123
+ isSelected: boolean;
124
+ users: Record<User["id"], User>;
125
+ onSelect: () => void;
126
+ onResolve: () => void;
127
+ onReplyAdd: () => void;
128
+ source: ConversationSources;
129
+ }
130
+ declare const ConversationGroupProvider: ({ currentUser, conversationGroup, shareId, onSelect, isSelected, users, onResolve, onReplyAdd, source, }: Props$2) => JSX.Element | null;
131
+
132
+ declare const TeamMateProvider: ({ children }: {
133
+ children: ReactNode;
134
+ }) => JSX.Element;
135
+
136
+ interface CoachFormProps {
137
+ taskLabel: keyof typeof TaskLabels;
138
+ context?: Record<string, unknown>;
139
+ extra?: Record<string, unknown>;
140
+ onClose: (data?: unknown) => void;
141
+ }
142
+ declare const CoachForm: (props: CoachFormProps) => react_jsx_runtime.JSX.Element;
143
+
144
+ declare const CoachFormButton: () => react_jsx_runtime.JSX.Element;
145
+
146
+ declare const useTeamMateContext: () => TeamMateContextProps;
147
+
148
+ declare const TeammateActions: _reduxjs_toolkit.CaseReducerActions<{
149
+ setShowCoachingForm: (state: immer.WritableDraft<TeamMateState>, action: PayloadAction<TeamMateState["showCoachingForm"]>) => void;
150
+ }, "teamMate">;
151
+
152
+ interface Props$1 {
153
+ filters?: {
154
+ taskLabel?: keyof typeof TaskLabels;
155
+ };
156
+ learning?: string | null;
157
+ }
158
+ declare const LearningsPage: ({ filters, learning }: Props$1) => react_jsx_runtime.JSX.Element;
159
+
160
+ declare enum ProjectGovernorCheckTypes {
161
+ DOCUMENTATION = "documentation",
162
+ TESTS = "tests",
163
+ MODEL = "model",
164
+ FILE_STRUCTURE = "file_structure"
165
+ }
166
+ declare enum ProjectGovernorAllowedFiles {
167
+ Manifest = "Manifest",
168
+ Catalog = "Catalog"
169
+ }
170
+ interface ProjectGovernorCheckFormValues {
171
+ description: string;
172
+ type: ProjectGovernorCheckTypes;
173
+ }
174
+ interface ProjectGovernorCheckValidateResponse {
175
+ name: string;
176
+ description: string;
177
+ }
178
+ interface ProjectGovernorCheckConfirmationResponse {
179
+ ok: boolean;
180
+ }
181
+ declare const ProjectGovernorCheckSchema: z.ZodObject<{
182
+ name: z.ZodString;
183
+ alias: z.ZodString;
184
+ type: z.ZodEnum<[string, ...string[]]>;
185
+ description: z.ZodString;
186
+ files_required: z.ZodArray<z.ZodEnum<[string, ...string[]]>, "many">;
187
+ config: z.ZodRecord<z.ZodString, z.ZodUnknown>;
188
+ }, "strip", z.ZodTypeAny, {
189
+ type: string;
190
+ name: string;
191
+ description: string;
192
+ alias: string;
193
+ files_required: string[];
194
+ config: Record<string, unknown>;
195
+ }, {
196
+ type: string;
197
+ name: string;
198
+ description: string;
199
+ alias: string;
200
+ files_required: string[];
201
+ config: Record<string, unknown>;
202
+ }>;
203
+ interface ProjectGovernorCheck extends z.infer<typeof ProjectGovernorCheckSchema> {
204
+ id: string;
205
+ }
206
+
207
+ declare const TeamMatesConfig: TeamMateConfig<ProjectGovernorCheckConfirmationResponse>[];
208
+
209
+ interface Props {
210
+ onSelect: (selected: (typeof TeamMatesConfig)[0], action: TeamMateActionType) => Promise<boolean | undefined>;
211
+ client: keyof typeof TeamMateAvailability;
212
+ }
213
+ declare const TeamMates: ({ onSelect, client }: Props) => react_jsx_runtime.JSX.Element;
214
+
215
+ export { ApiHelper, Badge, CoachForm, CoachFormButton, CodeBlockComponent as CodeBlock, type Conversation, type ConversationGroup, ConversationGroupProvider, ConversationInputForm, ConversationSources, DbtDocs, type DbtDocsShareDetails, IconButton, LearningsPage as Learnings, LoadingButton, ProjectGovernorAllowedFiles, type ProjectGovernorCheck, type ProjectGovernorCheckConfirmationResponse, type ProjectGovernorCheckFormValues, ProjectGovernorCheckSchema, ProjectGovernorCheckTypes, type ProjectGovernorCheckValidateResponse, TaskLabels, TeamMateActionType, TeamMateAvailability, TeamMateConfig, TeamMateContextProps, TeamMateProvider, TeamMateState, TeamMates, TeamMatesConfig, TeammateActions, Tooltip, useTeamMateContext };