@aigentyc/chat-sdk 0.1.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.
- package/LICENSE +21 -0
- package/README.md +156 -0
- package/dist/JsonRenderResult-Ftw4AKwb.d.cts +18 -0
- package/dist/JsonRenderResult-Ftw4AKwb.d.ts +18 -0
- package/dist/JsonRenderResult-GQOYPLVH.cjs +15 -0
- package/dist/JsonRenderResult-GQOYPLVH.cjs.map +1 -0
- package/dist/JsonRenderResult-ZFJ6VWMS.js +6 -0
- package/dist/JsonRenderResult-ZFJ6VWMS.js.map +1 -0
- package/dist/SlotsContext-CBtt36al.d.ts +148 -0
- package/dist/SlotsContext-CHvISDJT.d.cts +148 -0
- package/dist/VisualizationRenderer-FNFYNN66.js +5 -0
- package/dist/VisualizationRenderer-FNFYNN66.js.map +1 -0
- package/dist/VisualizationRenderer-VKMZXRUX.cjs +20 -0
- package/dist/VisualizationRenderer-VKMZXRUX.cjs.map +1 -0
- package/dist/ai-elements.cjs +4608 -0
- package/dist/ai-elements.cjs.map +1 -0
- package/dist/ai-elements.d.cts +897 -0
- package/dist/ai-elements.d.ts +897 -0
- package/dist/ai-elements.js +4363 -0
- package/dist/ai-elements.js.map +1 -0
- package/dist/chunk-3MP2EGEJ.cjs +270 -0
- package/dist/chunk-3MP2EGEJ.cjs.map +1 -0
- package/dist/chunk-3RW7O444.js +26 -0
- package/dist/chunk-3RW7O444.js.map +1 -0
- package/dist/chunk-42ARGQXE.js +51 -0
- package/dist/chunk-42ARGQXE.js.map +1 -0
- package/dist/chunk-4FBVV64J.js +257 -0
- package/dist/chunk-4FBVV64J.js.map +1 -0
- package/dist/chunk-4QT25AXI.js +21 -0
- package/dist/chunk-4QT25AXI.js.map +1 -0
- package/dist/chunk-525KS5HM.cjs +30 -0
- package/dist/chunk-525KS5HM.cjs.map +1 -0
- package/dist/chunk-5F3O3ZJH.js +299 -0
- package/dist/chunk-5F3O3ZJH.js.map +1 -0
- package/dist/chunk-5QSXB6UL.cjs +259 -0
- package/dist/chunk-5QSXB6UL.cjs.map +1 -0
- package/dist/chunk-5T4FJ2SR.js +664 -0
- package/dist/chunk-5T4FJ2SR.js.map +1 -0
- package/dist/chunk-7BNYTOTE.cjs +67 -0
- package/dist/chunk-7BNYTOTE.cjs.map +1 -0
- package/dist/chunk-AWAJOSFP.cjs +96 -0
- package/dist/chunk-AWAJOSFP.cjs.map +1 -0
- package/dist/chunk-BKDV2H6Z.js +224 -0
- package/dist/chunk-BKDV2H6Z.js.map +1 -0
- package/dist/chunk-FQN6OBGN.cjs +171 -0
- package/dist/chunk-FQN6OBGN.cjs.map +1 -0
- package/dist/chunk-FYPJSHCL.js +190 -0
- package/dist/chunk-FYPJSHCL.js.map +1 -0
- package/dist/chunk-J2H6MLQF.cjs +680 -0
- package/dist/chunk-J2H6MLQF.cjs.map +1 -0
- package/dist/chunk-J2K7EJYP.cjs +198 -0
- package/dist/chunk-J2K7EJYP.cjs.map +1 -0
- package/dist/chunk-JI5KCSOI.cjs +23 -0
- package/dist/chunk-JI5KCSOI.cjs.map +1 -0
- package/dist/chunk-JOO6C3XT.cjs +44 -0
- package/dist/chunk-JOO6C3XT.cjs.map +1 -0
- package/dist/chunk-KBGPBUTI.cjs +78 -0
- package/dist/chunk-KBGPBUTI.cjs.map +1 -0
- package/dist/chunk-MT2AMINB.js +75 -0
- package/dist/chunk-MT2AMINB.js.map +1 -0
- package/dist/chunk-MZQKGNWF.js +4 -0
- package/dist/chunk-MZQKGNWF.js.map +1 -0
- package/dist/chunk-NG7OTWXQ.cjs +226 -0
- package/dist/chunk-NG7OTWXQ.cjs.map +1 -0
- package/dist/chunk-NPJKLYLV.js +68 -0
- package/dist/chunk-NPJKLYLV.js.map +1 -0
- package/dist/chunk-NW2ESHRV.js +685 -0
- package/dist/chunk-NW2ESHRV.js.map +1 -0
- package/dist/chunk-NWF735F5.js +1631 -0
- package/dist/chunk-NWF735F5.js.map +1 -0
- package/dist/chunk-NYQSM3EB.cjs +305 -0
- package/dist/chunk-NYQSM3EB.cjs.map +1 -0
- package/dist/chunk-OU7OROOE.cjs +1643 -0
- package/dist/chunk-OU7OROOE.cjs.map +1 -0
- package/dist/chunk-PS3U7T37.js +42 -0
- package/dist/chunk-PS3U7T37.js.map +1 -0
- package/dist/chunk-Q7T3VAJV.cjs +687 -0
- package/dist/chunk-Q7T3VAJV.cjs.map +1 -0
- package/dist/chunk-QYCEHFAB.js +265 -0
- package/dist/chunk-QYCEHFAB.js.map +1 -0
- package/dist/chunk-RPDJXB3U.js +676 -0
- package/dist/chunk-RPDJXB3U.js.map +1 -0
- package/dist/chunk-UKEL7FWS.js +64 -0
- package/dist/chunk-UKEL7FWS.js.map +1 -0
- package/dist/chunk-VS3NZ7FX.js +164 -0
- package/dist/chunk-VS3NZ7FX.js.map +1 -0
- package/dist/chunk-WZLWAVSS.cjs +73 -0
- package/dist/chunk-WZLWAVSS.cjs.map +1 -0
- package/dist/chunk-X5YEOOPK.cjs +758 -0
- package/dist/chunk-X5YEOOPK.cjs.map +1 -0
- package/dist/chunk-X7R334SB.cjs +5 -0
- package/dist/chunk-X7R334SB.cjs.map +1 -0
- package/dist/chunk-XXNDL5SJ.cjs +432 -0
- package/dist/chunk-XXNDL5SJ.cjs.map +1 -0
- package/dist/chunk-YQELMJW5.js +429 -0
- package/dist/chunk-YQELMJW5.js.map +1 -0
- package/dist/components.cjs +551 -0
- package/dist/components.cjs.map +1 -0
- package/dist/components.d.cts +181 -0
- package/dist/components.d.ts +181 -0
- package/dist/components.js +483 -0
- package/dist/components.js.map +1 -0
- package/dist/core.cjs +283 -0
- package/dist/core.cjs.map +1 -0
- package/dist/core.d.cts +455 -0
- package/dist/core.d.ts +455 -0
- package/dist/core.js +241 -0
- package/dist/core.js.map +1 -0
- package/dist/hooks.cjs +324 -0
- package/dist/hooks.cjs.map +1 -0
- package/dist/hooks.d.cts +163 -0
- package/dist/hooks.d.ts +163 -0
- package/dist/hooks.js +277 -0
- package/dist/hooks.js.map +1 -0
- package/dist/i18n.cjs +26 -0
- package/dist/i18n.cjs.map +1 -0
- package/dist/i18n.d.cts +50 -0
- package/dist/i18n.d.ts +50 -0
- package/dist/i18n.js +5 -0
- package/dist/i18n.js.map +1 -0
- package/dist/index.cjs +466 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +80 -0
- package/dist/index.d.ts +80 -0
- package/dist/index.js +438 -0
- package/dist/index.js.map +1 -0
- package/dist/interaction-tracker-D9P1Oq4j.d.cts +83 -0
- package/dist/interaction-tracker-D9P1Oq4j.d.ts +83 -0
- package/dist/json-render.cjs +23 -0
- package/dist/json-render.cjs.map +1 -0
- package/dist/json-render.d.cts +857 -0
- package/dist/json-render.d.ts +857 -0
- package/dist/json-render.js +6 -0
- package/dist/json-render.js.map +1 -0
- package/dist/live-chat-transport-4XLOIPOE.js +4 -0
- package/dist/live-chat-transport-4XLOIPOE.js.map +1 -0
- package/dist/live-chat-transport-ALVRGWX7.cjs +13 -0
- package/dist/live-chat-transport-ALVRGWX7.cjs.map +1 -0
- package/dist/select-B4l9yoyn.d.cts +99 -0
- package/dist/select-B4l9yoyn.d.ts +99 -0
- package/dist/styles.css +2 -0
- package/dist/theme.cjs +18 -0
- package/dist/theme.cjs.map +1 -0
- package/dist/theme.d.cts +55 -0
- package/dist/theme.d.ts +55 -0
- package/dist/theme.js +5 -0
- package/dist/theme.js.map +1 -0
- package/dist/tools.cjs +32 -0
- package/dist/tools.cjs.map +1 -0
- package/dist/tools.d.cts +117 -0
- package/dist/tools.d.ts +117 -0
- package/dist/tools.js +11 -0
- package/dist/tools.js.map +1 -0
- package/dist/types-DKJ_-nbG.d.cts +349 -0
- package/dist/types-DKJ_-nbG.d.ts +349 -0
- package/dist/ui.cjs +667 -0
- package/dist/ui.cjs.map +1 -0
- package/dist/ui.d.cts +95 -0
- package/dist/ui.d.ts +95 -0
- package/dist/ui.js +414 -0
- package/dist/ui.js.map +1 -0
- package/package.json +255 -0
|
@@ -0,0 +1,897 @@
|
|
|
1
|
+
import * as React$1 from 'react';
|
|
2
|
+
import { HTMLAttributes, ComponentProps, ReactNode, RefObject, FormEvent, PropsWithChildren, ElementType } from 'react';
|
|
3
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
4
|
+
import { c as Button, I as Input, o as CollapsibleContent, p as CollapsibleTrigger, B as Badge, i as Carousel, n as Collapsible, S as ScrollArea, A as Alert, a as AlertDescription, D as Dialog, r as DialogContent, w as DialogTrigger, x as DropdownMenu, z as DropdownMenuItem, y as DropdownMenuContent, M as DropdownMenuLabel, N as DropdownMenuSeparator, E as DropdownMenuTrigger, O as CardAction, d as CardContent, e as CardDescription, g as CardHeader, h as CardTitle, G as Select, H as SelectContent, J as SelectItem, K as SelectTrigger, L as SelectValue, C as Card, f as CardFooter } from './select-B4l9yoyn.cjs';
|
|
5
|
+
import { UIMessage, FileUIPart, LanguageModelUsage, ToolUIPart, ChatStatus, Experimental_GeneratedImage } from 'ai';
|
|
6
|
+
import { Streamdown } from 'streamdown';
|
|
7
|
+
import { StickToBottom } from 'use-stick-to-bottom';
|
|
8
|
+
import { T as TrackInteractionParams } from './interaction-tracker-D9P1Oq4j.cjs';
|
|
9
|
+
import { LucideIcon, LucideProps } from 'lucide-react';
|
|
10
|
+
import { BundledLanguage } from 'shiki';
|
|
11
|
+
import * as HoverCardPrimitive from '@radix-ui/react-hover-card';
|
|
12
|
+
import { Controls as Controls$1, Panel as Panel$1, NodeToolbar, ReactFlowProps, ConnectionLineComponent, EdgeProps } from '@xyflow/react';
|
|
13
|
+
import { DialogProps } from '@radix-ui/react-dialog';
|
|
14
|
+
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
15
|
+
import { VariantProps } from 'class-variance-authority';
|
|
16
|
+
import '@radix-ui/react-collapsible';
|
|
17
|
+
import 'embla-carousel-react';
|
|
18
|
+
import '@radix-ui/react-scroll-area';
|
|
19
|
+
import '@radix-ui/react-dropdown-menu';
|
|
20
|
+
import '@radix-ui/react-select';
|
|
21
|
+
|
|
22
|
+
type MessageProps = HTMLAttributes<HTMLDivElement> & {
|
|
23
|
+
from: UIMessage["role"];
|
|
24
|
+
fullWidth?: boolean;
|
|
25
|
+
};
|
|
26
|
+
declare const Message: ({ className, from, fullWidth, ...props }: MessageProps) => react_jsx_runtime.JSX.Element;
|
|
27
|
+
type MessageContentProps = HTMLAttributes<HTMLDivElement> & {
|
|
28
|
+
fullWidth?: boolean;
|
|
29
|
+
};
|
|
30
|
+
declare const MessageContent: ({ children, className, fullWidth, ...props }: MessageContentProps) => react_jsx_runtime.JSX.Element;
|
|
31
|
+
type MessageActionsProps = ComponentProps<"div">;
|
|
32
|
+
declare const MessageActions: ({ className, children, ...props }: MessageActionsProps) => react_jsx_runtime.JSX.Element;
|
|
33
|
+
type MessageActionProps = ComponentProps<typeof Button> & {
|
|
34
|
+
tooltip?: string;
|
|
35
|
+
label?: string;
|
|
36
|
+
};
|
|
37
|
+
declare const MessageAction: ({ tooltip, children, label, variant, size, ...props }: MessageActionProps) => react_jsx_runtime.JSX.Element;
|
|
38
|
+
type MessageBranchProps = HTMLAttributes<HTMLDivElement> & {
|
|
39
|
+
defaultBranch?: number;
|
|
40
|
+
onBranchChange?: (branchIndex: number) => void;
|
|
41
|
+
};
|
|
42
|
+
declare const MessageBranch: ({ defaultBranch, onBranchChange, className, ...props }: MessageBranchProps) => react_jsx_runtime.JSX.Element;
|
|
43
|
+
type MessageBranchContentProps = HTMLAttributes<HTMLDivElement>;
|
|
44
|
+
declare const MessageBranchContent: ({ children, ...props }: MessageBranchContentProps) => react_jsx_runtime.JSX.Element[];
|
|
45
|
+
type MessageBranchSelectorProps = HTMLAttributes<HTMLDivElement> & {
|
|
46
|
+
from: UIMessage["role"];
|
|
47
|
+
};
|
|
48
|
+
declare const MessageBranchSelector: ({ className, from, ...props }: MessageBranchSelectorProps) => react_jsx_runtime.JSX.Element | null;
|
|
49
|
+
type MessageBranchPreviousProps = ComponentProps<typeof Button>;
|
|
50
|
+
declare const MessageBranchPrevious: ({ children, ...props }: MessageBranchPreviousProps) => react_jsx_runtime.JSX.Element;
|
|
51
|
+
type MessageBranchNextProps = ComponentProps<typeof Button>;
|
|
52
|
+
declare const MessageBranchNext: ({ children, className, ...props }: MessageBranchNextProps) => react_jsx_runtime.JSX.Element;
|
|
53
|
+
type MessageBranchPageProps = HTMLAttributes<HTMLSpanElement>;
|
|
54
|
+
declare const MessageBranchPage: ({ className, ...props }: MessageBranchPageProps) => react_jsx_runtime.JSX.Element;
|
|
55
|
+
type MessageResponseProps = ComponentProps<typeof Streamdown>;
|
|
56
|
+
declare const MessageResponse: React$1.MemoExoticComponent<({ className, ...props }: MessageResponseProps) => react_jsx_runtime.JSX.Element>;
|
|
57
|
+
type MessageAttachmentProps = HTMLAttributes<HTMLDivElement> & {
|
|
58
|
+
data: FileUIPart;
|
|
59
|
+
className?: string;
|
|
60
|
+
onRemove?: () => void;
|
|
61
|
+
};
|
|
62
|
+
declare function MessageAttachment({ data, className, onRemove, ...props }: MessageAttachmentProps): react_jsx_runtime.JSX.Element;
|
|
63
|
+
type MessageAttachmentsProps = ComponentProps<"div">;
|
|
64
|
+
declare function MessageAttachments({ children, className, ...props }: MessageAttachmentsProps): react_jsx_runtime.JSX.Element | null;
|
|
65
|
+
type MessageToolbarProps = ComponentProps<"div">;
|
|
66
|
+
declare const MessageToolbar: ({ className, children, ...props }: MessageToolbarProps) => react_jsx_runtime.JSX.Element;
|
|
67
|
+
|
|
68
|
+
type ConversationProps = ComponentProps<typeof StickToBottom>;
|
|
69
|
+
declare const Conversation: ({ className, ...props }: ConversationProps) => react_jsx_runtime.JSX.Element;
|
|
70
|
+
type ConversationContentProps = ComponentProps<typeof StickToBottom.Content>;
|
|
71
|
+
declare const ConversationContent: ({ className, ...props }: ConversationContentProps) => react_jsx_runtime.JSX.Element;
|
|
72
|
+
type ConversationEmptyStateProps = ComponentProps<"div"> & {
|
|
73
|
+
title?: string;
|
|
74
|
+
description?: string;
|
|
75
|
+
icon?: React.ReactNode;
|
|
76
|
+
};
|
|
77
|
+
declare const ConversationEmptyState: ({ className, title, description, icon, children, ...props }: ConversationEmptyStateProps) => react_jsx_runtime.JSX.Element;
|
|
78
|
+
type ConversationScrollButtonProps = ComponentProps<typeof Button>;
|
|
79
|
+
declare const ConversationScrollButton: ({ className, ...props }: ConversationScrollButtonProps) => false | react_jsx_runtime.JSX.Element;
|
|
80
|
+
|
|
81
|
+
type LoaderProps = HTMLAttributes<HTMLDivElement> & {
|
|
82
|
+
text?: string;
|
|
83
|
+
};
|
|
84
|
+
declare const Loader: ({ className, text, ...props }: LoaderProps) => react_jsx_runtime.JSX.Element;
|
|
85
|
+
type SpinnerLoaderProps = HTMLAttributes<HTMLDivElement> & {
|
|
86
|
+
size?: number;
|
|
87
|
+
};
|
|
88
|
+
declare const SpinnerLoader: ({ className, size, ...props }: SpinnerLoaderProps) => react_jsx_runtime.JSX.Element;
|
|
89
|
+
|
|
90
|
+
declare const REVIEW_TYPES: readonly [{
|
|
91
|
+
readonly value: "wrong_answer";
|
|
92
|
+
readonly labelKey: "wrongAnswer";
|
|
93
|
+
}, {
|
|
94
|
+
readonly value: "partial_answer";
|
|
95
|
+
readonly labelKey: "partialAnswer";
|
|
96
|
+
}, {
|
|
97
|
+
readonly value: "hallucination";
|
|
98
|
+
readonly labelKey: "hallucination";
|
|
99
|
+
}, {
|
|
100
|
+
readonly value: "inappropriate_tone";
|
|
101
|
+
readonly labelKey: "inappropriateTone";
|
|
102
|
+
}];
|
|
103
|
+
type ReviewType = (typeof REVIEW_TYPES)[number]["value"];
|
|
104
|
+
interface FeedbackData {
|
|
105
|
+
isPositive: boolean;
|
|
106
|
+
reviewType?: ReviewType;
|
|
107
|
+
reviewText?: string;
|
|
108
|
+
}
|
|
109
|
+
interface MessageFeedbackProps {
|
|
110
|
+
messageId: string;
|
|
111
|
+
projectId: string;
|
|
112
|
+
sessionId?: string;
|
|
113
|
+
apiKey?: string;
|
|
114
|
+
apiEndpoint?: string;
|
|
115
|
+
textContent: string;
|
|
116
|
+
trackInteraction?: (params: TrackInteractionParams) => void;
|
|
117
|
+
}
|
|
118
|
+
declare function MessageFeedback({ messageId, projectId, sessionId, apiKey, apiEndpoint, textContent, trackInteraction, }: MessageFeedbackProps): react_jsx_runtime.JSX.Element;
|
|
119
|
+
|
|
120
|
+
interface ComponentRendererProps {
|
|
121
|
+
htmlCode: string;
|
|
122
|
+
cssCode: string;
|
|
123
|
+
data: any;
|
|
124
|
+
mobileGridCols?: number;
|
|
125
|
+
desktopGridCols?: number;
|
|
126
|
+
onInteraction?: (params: TrackInteractionParams) => void;
|
|
127
|
+
messageId?: string;
|
|
128
|
+
eventId?: string;
|
|
129
|
+
/** Max items per page on mobile (default: 4) */
|
|
130
|
+
mobilePageSize?: number;
|
|
131
|
+
/** Max items per page on desktop (default: 4) */
|
|
132
|
+
desktopPageSize?: number;
|
|
133
|
+
}
|
|
134
|
+
declare function ComponentRenderer({ htmlCode, cssCode, data, mobileGridCols, desktopGridCols, onInteraction, messageId, eventId, mobilePageSize, desktopPageSize, }: ComponentRendererProps): react_jsx_runtime.JSX.Element;
|
|
135
|
+
|
|
136
|
+
type ArtifactProps = HTMLAttributes<HTMLDivElement>;
|
|
137
|
+
declare const Artifact: ({ className, ...props }: ArtifactProps) => react_jsx_runtime.JSX.Element;
|
|
138
|
+
type ArtifactHeaderProps = HTMLAttributes<HTMLDivElement>;
|
|
139
|
+
declare const ArtifactHeader: ({ className, ...props }: ArtifactHeaderProps) => react_jsx_runtime.JSX.Element;
|
|
140
|
+
type ArtifactCloseProps = ComponentProps<typeof Button>;
|
|
141
|
+
declare const ArtifactClose: ({ className, children, size, variant, ...props }: ArtifactCloseProps) => react_jsx_runtime.JSX.Element;
|
|
142
|
+
type ArtifactTitleProps = HTMLAttributes<HTMLParagraphElement>;
|
|
143
|
+
declare const ArtifactTitle: ({ className, ...props }: ArtifactTitleProps) => react_jsx_runtime.JSX.Element;
|
|
144
|
+
type ArtifactDescriptionProps = HTMLAttributes<HTMLParagraphElement>;
|
|
145
|
+
declare const ArtifactDescription: ({ className, ...props }: ArtifactDescriptionProps) => react_jsx_runtime.JSX.Element;
|
|
146
|
+
type ArtifactActionsProps = HTMLAttributes<HTMLDivElement>;
|
|
147
|
+
declare const ArtifactActions: ({ className, ...props }: ArtifactActionsProps) => react_jsx_runtime.JSX.Element;
|
|
148
|
+
type ArtifactActionProps = ComponentProps<typeof Button> & {
|
|
149
|
+
tooltip?: string;
|
|
150
|
+
label?: string;
|
|
151
|
+
icon?: LucideIcon;
|
|
152
|
+
};
|
|
153
|
+
declare const ArtifactAction: ({ tooltip, label, icon: Icon, children, className, size, variant, ...props }: ArtifactActionProps) => react_jsx_runtime.JSX.Element;
|
|
154
|
+
type ArtifactContentProps = HTMLAttributes<HTMLDivElement>;
|
|
155
|
+
declare const ArtifactContent: ({ className, ...props }: ArtifactContentProps) => react_jsx_runtime.JSX.Element;
|
|
156
|
+
|
|
157
|
+
type CodeBlockProps = HTMLAttributes<HTMLDivElement> & {
|
|
158
|
+
code: string;
|
|
159
|
+
language: BundledLanguage;
|
|
160
|
+
showLineNumbers?: boolean;
|
|
161
|
+
};
|
|
162
|
+
declare function highlightCode(code: string, language: BundledLanguage, showLineNumbers?: boolean): Promise<[string, string]>;
|
|
163
|
+
declare const CodeBlock: ({ code, language, showLineNumbers, className, children, ...props }: CodeBlockProps) => react_jsx_runtime.JSX.Element;
|
|
164
|
+
type CodeBlockCopyButtonProps = ComponentProps<typeof Button> & {
|
|
165
|
+
onCopy?: () => void;
|
|
166
|
+
onError?: (error: Error) => void;
|
|
167
|
+
timeout?: number;
|
|
168
|
+
};
|
|
169
|
+
declare const CodeBlockCopyButton: ({ onCopy, onError, timeout, children, className, ...props }: CodeBlockCopyButtonProps) => react_jsx_runtime.JSX.Element;
|
|
170
|
+
|
|
171
|
+
type WebPreviewContextValue = {
|
|
172
|
+
url: string;
|
|
173
|
+
setUrl: (url: string) => void;
|
|
174
|
+
consoleOpen: boolean;
|
|
175
|
+
setConsoleOpen: (open: boolean) => void;
|
|
176
|
+
};
|
|
177
|
+
type WebPreviewProps = ComponentProps<"div"> & {
|
|
178
|
+
defaultUrl?: string;
|
|
179
|
+
onUrlChange?: (url: string) => void;
|
|
180
|
+
};
|
|
181
|
+
declare const WebPreview: ({ className, children, defaultUrl, onUrlChange, ...props }: WebPreviewProps) => react_jsx_runtime.JSX.Element;
|
|
182
|
+
type WebPreviewNavigationProps = ComponentProps<"div">;
|
|
183
|
+
declare const WebPreviewNavigation: ({ className, children, ...props }: WebPreviewNavigationProps) => react_jsx_runtime.JSX.Element;
|
|
184
|
+
type WebPreviewNavigationButtonProps = ComponentProps<typeof Button> & {
|
|
185
|
+
tooltip?: string;
|
|
186
|
+
};
|
|
187
|
+
declare const WebPreviewNavigationButton: ({ onClick, disabled, tooltip, children, ...props }: WebPreviewNavigationButtonProps) => react_jsx_runtime.JSX.Element;
|
|
188
|
+
type WebPreviewUrlProps = ComponentProps<typeof Input>;
|
|
189
|
+
declare const WebPreviewUrl: ({ value, onChange, onKeyDown, ...props }: WebPreviewUrlProps) => react_jsx_runtime.JSX.Element;
|
|
190
|
+
type WebPreviewBodyProps = ComponentProps<"iframe"> & {
|
|
191
|
+
loading?: ReactNode;
|
|
192
|
+
};
|
|
193
|
+
declare const WebPreviewBody: ({ className, loading, src, ...props }: WebPreviewBodyProps) => react_jsx_runtime.JSX.Element;
|
|
194
|
+
type WebPreviewConsoleProps = ComponentProps<"div"> & {
|
|
195
|
+
logs?: Array<{
|
|
196
|
+
level: "log" | "warn" | "error";
|
|
197
|
+
message: string;
|
|
198
|
+
timestamp: Date;
|
|
199
|
+
}>;
|
|
200
|
+
};
|
|
201
|
+
declare const WebPreviewConsole: ({ className, logs, children, ...props }: WebPreviewConsoleProps) => react_jsx_runtime.JSX.Element;
|
|
202
|
+
|
|
203
|
+
type SourcesProps = ComponentProps<"div">;
|
|
204
|
+
declare const Sources: ({ className, ...props }: SourcesProps) => react_jsx_runtime.JSX.Element;
|
|
205
|
+
type SourcesTriggerProps = ComponentProps<typeof CollapsibleTrigger> & {
|
|
206
|
+
count: number;
|
|
207
|
+
};
|
|
208
|
+
declare const SourcesTrigger: ({ className, count, children, ...props }: SourcesTriggerProps) => react_jsx_runtime.JSX.Element;
|
|
209
|
+
type SourcesContentProps = ComponentProps<typeof CollapsibleContent>;
|
|
210
|
+
declare const SourcesContent: ({ className, ...props }: SourcesContentProps) => react_jsx_runtime.JSX.Element;
|
|
211
|
+
type SourceProps = ComponentProps<"a">;
|
|
212
|
+
declare const Source: ({ href, title, children, ...props }: SourceProps) => react_jsx_runtime.JSX.Element;
|
|
213
|
+
|
|
214
|
+
declare const HoverCard: React$1.FC<HoverCardPrimitive.HoverCardProps>;
|
|
215
|
+
declare const HoverCardTrigger: React$1.ForwardRefExoticComponent<HoverCardPrimitive.HoverCardTriggerProps & React$1.RefAttributes<HTMLAnchorElement>>;
|
|
216
|
+
declare const HoverCardContent: React$1.ForwardRefExoticComponent<Omit<HoverCardPrimitive.HoverCardContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
217
|
+
|
|
218
|
+
type InlineCitationProps = ComponentProps<"span">;
|
|
219
|
+
declare const InlineCitation: ({ className, ...props }: InlineCitationProps) => react_jsx_runtime.JSX.Element;
|
|
220
|
+
type InlineCitationTextProps = ComponentProps<"span">;
|
|
221
|
+
declare const InlineCitationText: ({ className, ...props }: InlineCitationTextProps) => react_jsx_runtime.JSX.Element;
|
|
222
|
+
type InlineCitationCardProps = ComponentProps<typeof HoverCard>;
|
|
223
|
+
declare const InlineCitationCard: (props: InlineCitationCardProps) => react_jsx_runtime.JSX.Element;
|
|
224
|
+
type InlineCitationCardTriggerProps = ComponentProps<typeof Badge> & {
|
|
225
|
+
sources: string[];
|
|
226
|
+
};
|
|
227
|
+
declare const InlineCitationCardTrigger: ({ sources, className, ...props }: InlineCitationCardTriggerProps) => react_jsx_runtime.JSX.Element;
|
|
228
|
+
type InlineCitationCardBodyProps = ComponentProps<"div">;
|
|
229
|
+
declare const InlineCitationCardBody: ({ className, ...props }: InlineCitationCardBodyProps) => react_jsx_runtime.JSX.Element;
|
|
230
|
+
type InlineCitationCarouselProps = ComponentProps<typeof Carousel>;
|
|
231
|
+
declare const InlineCitationCarousel: ({ className, children, ...props }: InlineCitationCarouselProps) => react_jsx_runtime.JSX.Element;
|
|
232
|
+
type InlineCitationCarouselContentProps = ComponentProps<"div">;
|
|
233
|
+
declare const InlineCitationCarouselContent: (props: InlineCitationCarouselContentProps) => react_jsx_runtime.JSX.Element;
|
|
234
|
+
type InlineCitationCarouselItemProps = ComponentProps<"div">;
|
|
235
|
+
declare const InlineCitationCarouselItem: ({ className, ...props }: InlineCitationCarouselItemProps) => react_jsx_runtime.JSX.Element;
|
|
236
|
+
type InlineCitationCarouselHeaderProps = ComponentProps<"div">;
|
|
237
|
+
declare const InlineCitationCarouselHeader: ({ className, ...props }: InlineCitationCarouselHeaderProps) => react_jsx_runtime.JSX.Element;
|
|
238
|
+
type InlineCitationCarouselIndexProps = ComponentProps<"div">;
|
|
239
|
+
declare const InlineCitationCarouselIndex: ({ children, className, ...props }: InlineCitationCarouselIndexProps) => react_jsx_runtime.JSX.Element;
|
|
240
|
+
type InlineCitationCarouselPrevProps = ComponentProps<"button">;
|
|
241
|
+
declare const InlineCitationCarouselPrev: ({ className, ...props }: InlineCitationCarouselPrevProps) => react_jsx_runtime.JSX.Element;
|
|
242
|
+
type InlineCitationCarouselNextProps = ComponentProps<"button">;
|
|
243
|
+
declare const InlineCitationCarouselNext: ({ className, ...props }: InlineCitationCarouselNextProps) => react_jsx_runtime.JSX.Element;
|
|
244
|
+
type InlineCitationSourceProps = ComponentProps<"div"> & {
|
|
245
|
+
title?: string;
|
|
246
|
+
url?: string;
|
|
247
|
+
description?: string;
|
|
248
|
+
};
|
|
249
|
+
declare const InlineCitationSource: ({ title, url, description, className, children, ...props }: InlineCitationSourceProps) => react_jsx_runtime.JSX.Element;
|
|
250
|
+
type InlineCitationQuoteProps = ComponentProps<"blockquote">;
|
|
251
|
+
declare const InlineCitationQuote: ({ children, className, ...props }: InlineCitationQuoteProps) => react_jsx_runtime.JSX.Element;
|
|
252
|
+
|
|
253
|
+
type ReasoningContextValue = {
|
|
254
|
+
isStreaming: boolean;
|
|
255
|
+
isOpen: boolean;
|
|
256
|
+
setIsOpen: (open: boolean) => void;
|
|
257
|
+
duration: number | undefined;
|
|
258
|
+
};
|
|
259
|
+
declare const useReasoning: () => ReasoningContextValue;
|
|
260
|
+
type ReasoningProps = ComponentProps<typeof Collapsible> & {
|
|
261
|
+
isStreaming?: boolean;
|
|
262
|
+
open?: boolean;
|
|
263
|
+
defaultOpen?: boolean;
|
|
264
|
+
onOpenChange?: (open: boolean) => void;
|
|
265
|
+
duration?: number;
|
|
266
|
+
};
|
|
267
|
+
declare const Reasoning: React$1.MemoExoticComponent<({ className, isStreaming, open, defaultOpen, onOpenChange, duration: durationProp, children, ...props }: ReasoningProps) => react_jsx_runtime.JSX.Element>;
|
|
268
|
+
type ReasoningTriggerProps = ComponentProps<typeof CollapsibleTrigger> & {
|
|
269
|
+
getThinkingMessage?: (isStreaming: boolean, duration?: number) => ReactNode;
|
|
270
|
+
};
|
|
271
|
+
declare const ReasoningTrigger: React$1.MemoExoticComponent<({ className, children, getThinkingMessage, ...props }: ReasoningTriggerProps) => react_jsx_runtime.JSX.Element>;
|
|
272
|
+
type ReasoningContentProps = ComponentProps<typeof CollapsibleContent> & {
|
|
273
|
+
children: string;
|
|
274
|
+
};
|
|
275
|
+
declare const ReasoningContent: React$1.MemoExoticComponent<({ className, children, ...props }: ReasoningContentProps) => react_jsx_runtime.JSX.Element>;
|
|
276
|
+
|
|
277
|
+
interface ThinkingSpinnerProps {
|
|
278
|
+
/** Text to display next to spinner */
|
|
279
|
+
text?: string;
|
|
280
|
+
/** Additional classes */
|
|
281
|
+
className?: string;
|
|
282
|
+
}
|
|
283
|
+
declare function ThinkingSpinner({ text, className, }: ThinkingSpinnerProps): react_jsx_runtime.JSX.Element;
|
|
284
|
+
|
|
285
|
+
interface FollowupButtonsProps {
|
|
286
|
+
suggestions: string[];
|
|
287
|
+
onSelect: (suggestion: string) => void;
|
|
288
|
+
className?: string;
|
|
289
|
+
disabled?: boolean;
|
|
290
|
+
}
|
|
291
|
+
declare function FollowupButtons({ suggestions, onSelect, className, disabled, }: FollowupButtonsProps): react_jsx_runtime.JSX.Element | null;
|
|
292
|
+
|
|
293
|
+
type SuggestionsProps = ComponentProps<typeof ScrollArea>;
|
|
294
|
+
declare const Suggestions: ({ className, children, ...props }: SuggestionsProps) => react_jsx_runtime.JSX.Element;
|
|
295
|
+
type SuggestionProps = Omit<ComponentProps<typeof Button>, "onClick"> & {
|
|
296
|
+
suggestion: string;
|
|
297
|
+
onClick?: (suggestion: string) => void;
|
|
298
|
+
};
|
|
299
|
+
declare const Suggestion: ({ suggestion, onClick, className, variant, size, children, ...props }: SuggestionProps) => react_jsx_runtime.JSX.Element;
|
|
300
|
+
|
|
301
|
+
type ModelId = string;
|
|
302
|
+
type ContextSchema = {
|
|
303
|
+
usedTokens: number;
|
|
304
|
+
maxTokens: number;
|
|
305
|
+
usage?: LanguageModelUsage;
|
|
306
|
+
modelId?: ModelId;
|
|
307
|
+
};
|
|
308
|
+
type ContextProps = ComponentProps<typeof HoverCard> & ContextSchema;
|
|
309
|
+
declare const Context: ({ usedTokens, maxTokens, usage, modelId, ...props }: ContextProps) => react_jsx_runtime.JSX.Element;
|
|
310
|
+
type ContextTriggerProps = ComponentProps<typeof Button>;
|
|
311
|
+
declare const ContextTrigger: ({ children, ...props }: ContextTriggerProps) => react_jsx_runtime.JSX.Element;
|
|
312
|
+
type ContextContentProps = ComponentProps<typeof HoverCardContent>;
|
|
313
|
+
declare const ContextContent: ({ className, ...props }: ContextContentProps) => react_jsx_runtime.JSX.Element;
|
|
314
|
+
type ContextContentHeaderProps = ComponentProps<"div">;
|
|
315
|
+
declare const ContextContentHeader: ({ children, className, ...props }: ContextContentHeaderProps) => react_jsx_runtime.JSX.Element;
|
|
316
|
+
type ContextContentBodyProps = ComponentProps<"div">;
|
|
317
|
+
declare const ContextContentBody: ({ children, className, ...props }: ContextContentBodyProps) => react_jsx_runtime.JSX.Element;
|
|
318
|
+
type ContextContentFooterProps = ComponentProps<"div">;
|
|
319
|
+
declare const ContextContentFooter: ({ children, className, ...props }: ContextContentFooterProps) => react_jsx_runtime.JSX.Element;
|
|
320
|
+
type ContextInputUsageProps = ComponentProps<"div">;
|
|
321
|
+
declare const ContextInputUsage: ({ className, children, ...props }: ContextInputUsageProps) => string | number | bigint | true | Iterable<React$1.ReactNode> | Promise<string | number | bigint | boolean | React$1.ReactPortal | React$1.ReactElement<unknown, string | React$1.JSXElementConstructor<any>> | Iterable<React$1.ReactNode> | null | undefined> | react_jsx_runtime.JSX.Element | null;
|
|
322
|
+
type ContextOutputUsageProps = ComponentProps<"div">;
|
|
323
|
+
declare const ContextOutputUsage: ({ className, children, ...props }: ContextOutputUsageProps) => string | number | bigint | true | Iterable<React$1.ReactNode> | Promise<string | number | bigint | boolean | React$1.ReactPortal | React$1.ReactElement<unknown, string | React$1.JSXElementConstructor<any>> | Iterable<React$1.ReactNode> | null | undefined> | react_jsx_runtime.JSX.Element | null;
|
|
324
|
+
type ContextReasoningUsageProps = ComponentProps<"div">;
|
|
325
|
+
declare const ContextReasoningUsage: ({ className, children, ...props }: ContextReasoningUsageProps) => string | number | bigint | true | Iterable<React$1.ReactNode> | Promise<string | number | bigint | boolean | React$1.ReactPortal | React$1.ReactElement<unknown, string | React$1.JSXElementConstructor<any>> | Iterable<React$1.ReactNode> | null | undefined> | react_jsx_runtime.JSX.Element | null;
|
|
326
|
+
type ContextCacheUsageProps = ComponentProps<"div">;
|
|
327
|
+
declare const ContextCacheUsage: ({ className, children, ...props }: ContextCacheUsageProps) => string | number | bigint | true | Iterable<React$1.ReactNode> | Promise<string | number | bigint | boolean | React$1.ReactPortal | React$1.ReactElement<unknown, string | React$1.JSXElementConstructor<any>> | Iterable<React$1.ReactNode> | null | undefined> | react_jsx_runtime.JSX.Element | null;
|
|
328
|
+
|
|
329
|
+
type ChainOfThoughtProps = ComponentProps<"div"> & {
|
|
330
|
+
open?: boolean;
|
|
331
|
+
defaultOpen?: boolean;
|
|
332
|
+
onOpenChange?: (open: boolean) => void;
|
|
333
|
+
};
|
|
334
|
+
declare const ChainOfThought: React$1.MemoExoticComponent<({ className, open, defaultOpen, onOpenChange, children, ...props }: ChainOfThoughtProps) => react_jsx_runtime.JSX.Element>;
|
|
335
|
+
type ChainOfThoughtHeaderProps = ComponentProps<typeof CollapsibleTrigger>;
|
|
336
|
+
declare const ChainOfThoughtHeader: React$1.MemoExoticComponent<({ className, children, ...props }: ChainOfThoughtHeaderProps) => react_jsx_runtime.JSX.Element>;
|
|
337
|
+
type ChainOfThoughtStepProps = ComponentProps<"div"> & {
|
|
338
|
+
icon?: LucideIcon;
|
|
339
|
+
label: ReactNode;
|
|
340
|
+
description?: ReactNode;
|
|
341
|
+
status?: "complete" | "active" | "pending";
|
|
342
|
+
};
|
|
343
|
+
declare const ChainOfThoughtStep: React$1.MemoExoticComponent<({ className, icon: Icon, label, description, status, children, ...props }: ChainOfThoughtStepProps) => react_jsx_runtime.JSX.Element>;
|
|
344
|
+
type ChainOfThoughtSearchResultsProps = ComponentProps<"div">;
|
|
345
|
+
declare const ChainOfThoughtSearchResults: React$1.MemoExoticComponent<({ className, ...props }: ChainOfThoughtSearchResultsProps) => react_jsx_runtime.JSX.Element>;
|
|
346
|
+
type ChainOfThoughtSearchResultProps = ComponentProps<typeof Badge>;
|
|
347
|
+
declare const ChainOfThoughtSearchResult: React$1.MemoExoticComponent<({ className, children, ...props }: ChainOfThoughtSearchResultProps) => react_jsx_runtime.JSX.Element>;
|
|
348
|
+
type ChainOfThoughtContentProps = ComponentProps<typeof CollapsibleContent>;
|
|
349
|
+
declare const ChainOfThoughtContent: React$1.MemoExoticComponent<({ className, children, ...props }: ChainOfThoughtContentProps) => react_jsx_runtime.JSX.Element>;
|
|
350
|
+
type ChainOfThoughtImageProps = ComponentProps<"div"> & {
|
|
351
|
+
caption?: string;
|
|
352
|
+
};
|
|
353
|
+
declare const ChainOfThoughtImage: React$1.MemoExoticComponent<({ className, children, caption, ...props }: ChainOfThoughtImageProps) => react_jsx_runtime.JSX.Element>;
|
|
354
|
+
|
|
355
|
+
type ToolUIPartApproval = {
|
|
356
|
+
id: string;
|
|
357
|
+
approved?: never;
|
|
358
|
+
reason?: never;
|
|
359
|
+
} | {
|
|
360
|
+
id: string;
|
|
361
|
+
approved: boolean;
|
|
362
|
+
reason?: string;
|
|
363
|
+
} | {
|
|
364
|
+
id: string;
|
|
365
|
+
approved: true;
|
|
366
|
+
reason?: string;
|
|
367
|
+
} | {
|
|
368
|
+
id: string;
|
|
369
|
+
approved: true;
|
|
370
|
+
reason?: string;
|
|
371
|
+
} | {
|
|
372
|
+
id: string;
|
|
373
|
+
approved: false;
|
|
374
|
+
reason?: string;
|
|
375
|
+
} | undefined;
|
|
376
|
+
type ConfirmationProps = ComponentProps<typeof Alert> & {
|
|
377
|
+
approval?: ToolUIPartApproval;
|
|
378
|
+
state: ToolUIPart["state"];
|
|
379
|
+
};
|
|
380
|
+
declare const Confirmation: ({ className, approval, state, ...props }: ConfirmationProps) => react_jsx_runtime.JSX.Element | null;
|
|
381
|
+
type ConfirmationTitleProps = ComponentProps<typeof AlertDescription>;
|
|
382
|
+
declare const ConfirmationTitle: ({ className, ...props }: ConfirmationTitleProps) => react_jsx_runtime.JSX.Element;
|
|
383
|
+
type ConfirmationRequestProps = {
|
|
384
|
+
children?: ReactNode;
|
|
385
|
+
};
|
|
386
|
+
declare const ConfirmationRequest: ({ children }: ConfirmationRequestProps) => ReactNode;
|
|
387
|
+
type ConfirmationAcceptedProps = {
|
|
388
|
+
children?: ReactNode;
|
|
389
|
+
};
|
|
390
|
+
declare const ConfirmationAccepted: ({ children, }: ConfirmationAcceptedProps) => ReactNode;
|
|
391
|
+
type ConfirmationRejectedProps = {
|
|
392
|
+
children?: ReactNode;
|
|
393
|
+
};
|
|
394
|
+
declare const ConfirmationRejected: ({ children, }: ConfirmationRejectedProps) => ReactNode;
|
|
395
|
+
type ConfirmationActionsProps = ComponentProps<"div">;
|
|
396
|
+
declare const ConfirmationActions: ({ className, ...props }: ConfirmationActionsProps) => react_jsx_runtime.JSX.Element | null;
|
|
397
|
+
type ConfirmationActionProps = ComponentProps<typeof Button>;
|
|
398
|
+
declare const ConfirmationAction: (props: ConfirmationActionProps) => react_jsx_runtime.JSX.Element;
|
|
399
|
+
|
|
400
|
+
type ControlsProps = ComponentProps<typeof Controls$1>;
|
|
401
|
+
declare const Controls: ({ className, ...props }: ControlsProps) => react_jsx_runtime.JSX.Element;
|
|
402
|
+
|
|
403
|
+
declare const Command: React$1.ForwardRefExoticComponent<Omit<{
|
|
404
|
+
children?: React$1.ReactNode;
|
|
405
|
+
} & Pick<Pick<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React$1.HTMLAttributes<HTMLDivElement>> & {
|
|
406
|
+
ref?: React$1.Ref<HTMLDivElement>;
|
|
407
|
+
} & {
|
|
408
|
+
asChild?: boolean;
|
|
409
|
+
}, "key" | keyof React$1.HTMLAttributes<HTMLDivElement> | "asChild"> & {
|
|
410
|
+
label?: string;
|
|
411
|
+
shouldFilter?: boolean;
|
|
412
|
+
filter?: (value: string, search: string, keywords?: string[]) => number;
|
|
413
|
+
defaultValue?: string;
|
|
414
|
+
value?: string;
|
|
415
|
+
onValueChange?: (value: string) => void;
|
|
416
|
+
loop?: boolean;
|
|
417
|
+
disablePointerSelection?: boolean;
|
|
418
|
+
vimBindings?: boolean;
|
|
419
|
+
} & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
420
|
+
declare const CommandDialog: ({ children, ...props }: DialogProps) => react_jsx_runtime.JSX.Element;
|
|
421
|
+
declare const CommandInput: React$1.ForwardRefExoticComponent<Omit<Omit<Pick<Pick<React$1.DetailedHTMLProps<React$1.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "key" | keyof React$1.InputHTMLAttributes<HTMLInputElement>> & {
|
|
422
|
+
ref?: React$1.Ref<HTMLInputElement>;
|
|
423
|
+
} & {
|
|
424
|
+
asChild?: boolean;
|
|
425
|
+
}, "key" | "asChild" | keyof React$1.InputHTMLAttributes<HTMLInputElement>>, "value" | "type" | "onChange"> & {
|
|
426
|
+
value?: string;
|
|
427
|
+
onValueChange?: (search: string) => void;
|
|
428
|
+
} & React$1.RefAttributes<HTMLInputElement>, "ref"> & React$1.RefAttributes<HTMLInputElement>>;
|
|
429
|
+
declare const CommandList: React$1.ForwardRefExoticComponent<Omit<{
|
|
430
|
+
children?: React$1.ReactNode;
|
|
431
|
+
} & Pick<Pick<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React$1.HTMLAttributes<HTMLDivElement>> & {
|
|
432
|
+
ref?: React$1.Ref<HTMLDivElement>;
|
|
433
|
+
} & {
|
|
434
|
+
asChild?: boolean;
|
|
435
|
+
}, "key" | keyof React$1.HTMLAttributes<HTMLDivElement> | "asChild"> & {
|
|
436
|
+
label?: string;
|
|
437
|
+
} & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
438
|
+
declare const CommandEmpty: React$1.ForwardRefExoticComponent<Omit<{
|
|
439
|
+
children?: React$1.ReactNode;
|
|
440
|
+
} & Pick<Pick<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React$1.HTMLAttributes<HTMLDivElement>> & {
|
|
441
|
+
ref?: React$1.Ref<HTMLDivElement>;
|
|
442
|
+
} & {
|
|
443
|
+
asChild?: boolean;
|
|
444
|
+
}, "key" | keyof React$1.HTMLAttributes<HTMLDivElement> | "asChild"> & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
445
|
+
declare const CommandGroup: React$1.ForwardRefExoticComponent<Omit<{
|
|
446
|
+
children?: React$1.ReactNode;
|
|
447
|
+
} & Omit<Pick<Pick<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React$1.HTMLAttributes<HTMLDivElement>> & {
|
|
448
|
+
ref?: React$1.Ref<HTMLDivElement>;
|
|
449
|
+
} & {
|
|
450
|
+
asChild?: boolean;
|
|
451
|
+
}, "key" | keyof React$1.HTMLAttributes<HTMLDivElement> | "asChild">, "value" | "heading"> & {
|
|
452
|
+
heading?: React$1.ReactNode;
|
|
453
|
+
value?: string;
|
|
454
|
+
forceMount?: boolean;
|
|
455
|
+
} & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
456
|
+
declare const CommandSeparator: React$1.ForwardRefExoticComponent<Omit<Pick<Pick<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React$1.HTMLAttributes<HTMLDivElement>> & {
|
|
457
|
+
ref?: React$1.Ref<HTMLDivElement>;
|
|
458
|
+
} & {
|
|
459
|
+
asChild?: boolean;
|
|
460
|
+
}, "key" | keyof React$1.HTMLAttributes<HTMLDivElement> | "asChild"> & {
|
|
461
|
+
alwaysRender?: boolean;
|
|
462
|
+
} & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
463
|
+
declare const CommandItem: React$1.ForwardRefExoticComponent<Omit<{
|
|
464
|
+
children?: React$1.ReactNode;
|
|
465
|
+
} & Omit<Pick<Pick<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React$1.HTMLAttributes<HTMLDivElement>> & {
|
|
466
|
+
ref?: React$1.Ref<HTMLDivElement>;
|
|
467
|
+
} & {
|
|
468
|
+
asChild?: boolean;
|
|
469
|
+
}, "key" | keyof React$1.HTMLAttributes<HTMLDivElement> | "asChild">, "value" | "onSelect" | "disabled"> & {
|
|
470
|
+
disabled?: boolean;
|
|
471
|
+
onSelect?: (value: string) => void;
|
|
472
|
+
value?: string;
|
|
473
|
+
keywords?: string[];
|
|
474
|
+
forceMount?: boolean;
|
|
475
|
+
} & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
476
|
+
declare const CommandShortcut: {
|
|
477
|
+
({ className, ...props }: React$1.HTMLAttributes<HTMLSpanElement>): react_jsx_runtime.JSX.Element;
|
|
478
|
+
displayName: string;
|
|
479
|
+
};
|
|
480
|
+
|
|
481
|
+
type ModelSelectorProps = ComponentProps<typeof Dialog>;
|
|
482
|
+
declare const ModelSelector: (props: ModelSelectorProps) => react_jsx_runtime.JSX.Element;
|
|
483
|
+
type ModelSelectorTriggerProps = ComponentProps<typeof DialogTrigger>;
|
|
484
|
+
declare const ModelSelectorTrigger: (props: ModelSelectorTriggerProps) => react_jsx_runtime.JSX.Element;
|
|
485
|
+
type ModelSelectorContentProps = ComponentProps<typeof DialogContent> & {
|
|
486
|
+
title?: ReactNode;
|
|
487
|
+
};
|
|
488
|
+
declare const ModelSelectorContent: ({ className, children, title, ...props }: ModelSelectorContentProps) => react_jsx_runtime.JSX.Element;
|
|
489
|
+
type ModelSelectorDialogProps = ComponentProps<typeof CommandDialog>;
|
|
490
|
+
declare const ModelSelectorDialog: (props: ModelSelectorDialogProps) => react_jsx_runtime.JSX.Element;
|
|
491
|
+
type ModelSelectorInputProps = ComponentProps<typeof CommandInput>;
|
|
492
|
+
declare const ModelSelectorInput: ({ className, ...props }: ModelSelectorInputProps) => react_jsx_runtime.JSX.Element;
|
|
493
|
+
type ModelSelectorListProps = ComponentProps<typeof CommandList>;
|
|
494
|
+
declare const ModelSelectorList: (props: ModelSelectorListProps) => react_jsx_runtime.JSX.Element;
|
|
495
|
+
type ModelSelectorEmptyProps = ComponentProps<typeof CommandEmpty>;
|
|
496
|
+
declare const ModelSelectorEmpty: (props: ModelSelectorEmptyProps) => react_jsx_runtime.JSX.Element;
|
|
497
|
+
type ModelSelectorGroupProps = ComponentProps<typeof CommandGroup>;
|
|
498
|
+
declare const ModelSelectorGroup: (props: ModelSelectorGroupProps) => react_jsx_runtime.JSX.Element;
|
|
499
|
+
type ModelSelectorItemProps = ComponentProps<typeof CommandItem>;
|
|
500
|
+
declare const ModelSelectorItem: (props: ModelSelectorItemProps) => react_jsx_runtime.JSX.Element;
|
|
501
|
+
type ModelSelectorShortcutProps = ComponentProps<typeof CommandShortcut>;
|
|
502
|
+
declare const ModelSelectorShortcut: (props: ModelSelectorShortcutProps) => react_jsx_runtime.JSX.Element;
|
|
503
|
+
type ModelSelectorSeparatorProps = ComponentProps<typeof CommandSeparator>;
|
|
504
|
+
declare const ModelSelectorSeparator: (props: ModelSelectorSeparatorProps) => react_jsx_runtime.JSX.Element;
|
|
505
|
+
type ModelSelectorLogoProps = Omit<ComponentProps<"img">, "src" | "alt"> & {
|
|
506
|
+
provider: string;
|
|
507
|
+
};
|
|
508
|
+
declare const ModelSelectorLogo: ({ provider, className, ...props }: ModelSelectorLogoProps) => react_jsx_runtime.JSX.Element;
|
|
509
|
+
type ModelSelectorLogoGroupProps = ComponentProps<"div">;
|
|
510
|
+
declare const ModelSelectorLogoGroup: ({ className, ...props }: ModelSelectorLogoGroupProps) => react_jsx_runtime.JSX.Element;
|
|
511
|
+
type ModelSelectorNameProps = ComponentProps<"span">;
|
|
512
|
+
declare const ModelSelectorName: ({ className, ...props }: ModelSelectorNameProps) => react_jsx_runtime.JSX.Element;
|
|
513
|
+
|
|
514
|
+
type OpenInProps = ComponentProps<typeof DropdownMenu> & {
|
|
515
|
+
query: string;
|
|
516
|
+
};
|
|
517
|
+
declare const OpenIn: ({ query, ...props }: OpenInProps) => react_jsx_runtime.JSX.Element;
|
|
518
|
+
type OpenInContentProps = ComponentProps<typeof DropdownMenuContent>;
|
|
519
|
+
declare const OpenInContent: ({ className, ...props }: OpenInContentProps) => react_jsx_runtime.JSX.Element;
|
|
520
|
+
type OpenInItemProps = ComponentProps<typeof DropdownMenuItem>;
|
|
521
|
+
declare const OpenInItem: (props: OpenInItemProps) => react_jsx_runtime.JSX.Element;
|
|
522
|
+
type OpenInLabelProps = ComponentProps<typeof DropdownMenuLabel>;
|
|
523
|
+
declare const OpenInLabel: (props: OpenInLabelProps) => react_jsx_runtime.JSX.Element;
|
|
524
|
+
type OpenInSeparatorProps = ComponentProps<typeof DropdownMenuSeparator>;
|
|
525
|
+
declare const OpenInSeparator: (props: OpenInSeparatorProps) => react_jsx_runtime.JSX.Element;
|
|
526
|
+
type OpenInTriggerProps = ComponentProps<typeof DropdownMenuTrigger>;
|
|
527
|
+
declare const OpenInTrigger: ({ children, ...props }: OpenInTriggerProps) => react_jsx_runtime.JSX.Element;
|
|
528
|
+
declare const OpenInChatGPT: (props: ComponentProps<typeof DropdownMenuItem>) => react_jsx_runtime.JSX.Element;
|
|
529
|
+
declare const OpenInClaude: (props: ComponentProps<typeof DropdownMenuItem>) => react_jsx_runtime.JSX.Element;
|
|
530
|
+
declare const OpenInT3: (props: ComponentProps<typeof DropdownMenuItem>) => react_jsx_runtime.JSX.Element;
|
|
531
|
+
declare const OpenInScira: (props: ComponentProps<typeof DropdownMenuItem>) => react_jsx_runtime.JSX.Element;
|
|
532
|
+
declare const OpenInv0: (props: ComponentProps<typeof DropdownMenuItem>) => react_jsx_runtime.JSX.Element;
|
|
533
|
+
declare const OpenInCursor: (props: ComponentProps<typeof DropdownMenuItem>) => react_jsx_runtime.JSX.Element;
|
|
534
|
+
|
|
535
|
+
type PanelProps = ComponentProps<typeof Panel$1>;
|
|
536
|
+
declare const Panel: ({ className, ...props }: PanelProps) => react_jsx_runtime.JSX.Element;
|
|
537
|
+
|
|
538
|
+
type PlanProps = ComponentProps<typeof Collapsible> & {
|
|
539
|
+
isStreaming?: boolean;
|
|
540
|
+
};
|
|
541
|
+
declare const Plan: ({ className, isStreaming, children, ...props }: PlanProps) => react_jsx_runtime.JSX.Element;
|
|
542
|
+
type PlanHeaderProps = ComponentProps<typeof CardHeader>;
|
|
543
|
+
declare const PlanHeader: ({ className, ...props }: PlanHeaderProps) => react_jsx_runtime.JSX.Element;
|
|
544
|
+
type PlanTitleProps = Omit<ComponentProps<typeof CardTitle>, "children"> & {
|
|
545
|
+
children: string;
|
|
546
|
+
};
|
|
547
|
+
declare const PlanTitle: ({ children, ...props }: PlanTitleProps) => react_jsx_runtime.JSX.Element;
|
|
548
|
+
type PlanDescriptionProps = Omit<ComponentProps<typeof CardDescription>, "children"> & {
|
|
549
|
+
children: string;
|
|
550
|
+
};
|
|
551
|
+
declare const PlanDescription: ({ className, children, ...props }: PlanDescriptionProps) => react_jsx_runtime.JSX.Element;
|
|
552
|
+
type PlanActionProps = ComponentProps<typeof CardAction>;
|
|
553
|
+
declare const PlanAction: (props: PlanActionProps) => react_jsx_runtime.JSX.Element;
|
|
554
|
+
type PlanContentProps = ComponentProps<typeof CardContent>;
|
|
555
|
+
declare const PlanContent: (props: PlanContentProps) => react_jsx_runtime.JSX.Element;
|
|
556
|
+
type PlanFooterProps = ComponentProps<"div">;
|
|
557
|
+
declare const PlanFooter: (props: PlanFooterProps) => react_jsx_runtime.JSX.Element;
|
|
558
|
+
type PlanTriggerProps = ComponentProps<typeof CollapsibleTrigger>;
|
|
559
|
+
declare const PlanTrigger: ({ className, ...props }: PlanTriggerProps) => react_jsx_runtime.JSX.Element;
|
|
560
|
+
|
|
561
|
+
declare const inputGroupAddonVariants: (props?: ({
|
|
562
|
+
align?: "inline-end" | "inline-start" | "block-end" | "block-start" | null | undefined;
|
|
563
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
564
|
+
declare function InputGroupAddon({ className, align, ...props }: React$1.ComponentProps<"div"> & VariantProps<typeof inputGroupAddonVariants>): react_jsx_runtime.JSX.Element;
|
|
565
|
+
declare const inputGroupButtonVariants: (props?: ({
|
|
566
|
+
size?: "sm" | "icon-sm" | "xs" | "icon-xs" | null | undefined;
|
|
567
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
568
|
+
declare function InputGroupButton({ className, type, variant, size, ...props }: Omit<React$1.ComponentProps<typeof Button>, "size"> & VariantProps<typeof inputGroupButtonVariants>): react_jsx_runtime.JSX.Element;
|
|
569
|
+
declare function InputGroupTextarea({ className, ...props }: React$1.ComponentProps<"textarea">): react_jsx_runtime.JSX.Element;
|
|
570
|
+
|
|
571
|
+
type AttachmentsContext = {
|
|
572
|
+
files: (FileUIPart & {
|
|
573
|
+
id: string;
|
|
574
|
+
})[];
|
|
575
|
+
add: (files: File[] | FileList) => void;
|
|
576
|
+
remove: (id: string) => void;
|
|
577
|
+
clear: () => void;
|
|
578
|
+
openFileDialog: () => void;
|
|
579
|
+
fileInputRef: RefObject<HTMLInputElement | null>;
|
|
580
|
+
};
|
|
581
|
+
type TextInputContext = {
|
|
582
|
+
value: string;
|
|
583
|
+
setInput: (v: string) => void;
|
|
584
|
+
clear: () => void;
|
|
585
|
+
};
|
|
586
|
+
type PromptInputControllerProps = {
|
|
587
|
+
textInput: TextInputContext;
|
|
588
|
+
attachments: AttachmentsContext;
|
|
589
|
+
__registerFileInput: (ref: RefObject<HTMLInputElement | null>, open: () => void) => void;
|
|
590
|
+
};
|
|
591
|
+
declare const usePromptInputController: () => PromptInputControllerProps;
|
|
592
|
+
declare const useProviderAttachments: () => AttachmentsContext;
|
|
593
|
+
type PromptInputProviderProps = PropsWithChildren<{
|
|
594
|
+
initialInput?: string;
|
|
595
|
+
}>;
|
|
596
|
+
declare function PromptInputProvider({ initialInput: initialTextInput, children, }: PromptInputProviderProps): react_jsx_runtime.JSX.Element;
|
|
597
|
+
declare const usePromptInputAttachments: () => AttachmentsContext;
|
|
598
|
+
type PromptInputAttachmentProps = HTMLAttributes<HTMLDivElement> & {
|
|
599
|
+
data: FileUIPart & {
|
|
600
|
+
id: string;
|
|
601
|
+
};
|
|
602
|
+
className?: string;
|
|
603
|
+
};
|
|
604
|
+
declare function PromptInputAttachment({ data, className, ...props }: PromptInputAttachmentProps): react_jsx_runtime.JSX.Element;
|
|
605
|
+
type PromptInputAttachmentsProps = Omit<HTMLAttributes<HTMLDivElement>, "children"> & {
|
|
606
|
+
children: (attachment: FileUIPart & {
|
|
607
|
+
id: string;
|
|
608
|
+
}) => ReactNode;
|
|
609
|
+
};
|
|
610
|
+
declare function PromptInputAttachments({ children, className, ...props }: PromptInputAttachmentsProps): react_jsx_runtime.JSX.Element | null;
|
|
611
|
+
type PromptInputActionAddAttachmentsProps = ComponentProps<typeof DropdownMenuItem> & {
|
|
612
|
+
label?: string;
|
|
613
|
+
};
|
|
614
|
+
declare const PromptInputActionAddAttachments: ({ label, ...props }: PromptInputActionAddAttachmentsProps) => react_jsx_runtime.JSX.Element;
|
|
615
|
+
type PromptInputMessage = {
|
|
616
|
+
text: string;
|
|
617
|
+
files: FileUIPart[];
|
|
618
|
+
};
|
|
619
|
+
type PromptInputProps = Omit<HTMLAttributes<HTMLFormElement>, "onSubmit" | "onError"> & {
|
|
620
|
+
accept?: string;
|
|
621
|
+
multiple?: boolean;
|
|
622
|
+
globalDrop?: boolean;
|
|
623
|
+
syncHiddenInput?: boolean;
|
|
624
|
+
maxFiles?: number;
|
|
625
|
+
maxFileSize?: number;
|
|
626
|
+
onError?: (err: {
|
|
627
|
+
code: "max_files" | "max_file_size" | "accept";
|
|
628
|
+
message: string;
|
|
629
|
+
}) => void;
|
|
630
|
+
onSubmit: (message: PromptInputMessage, event: FormEvent<HTMLFormElement>) => void | Promise<void>;
|
|
631
|
+
};
|
|
632
|
+
declare const PromptInput: ({ className, accept, multiple, globalDrop, syncHiddenInput, maxFiles, maxFileSize, onError, onSubmit, children, ...props }: PromptInputProps) => react_jsx_runtime.JSX.Element;
|
|
633
|
+
type PromptInputBodyProps = HTMLAttributes<HTMLDivElement>;
|
|
634
|
+
declare const PromptInputBody: ({ className, ...props }: PromptInputBodyProps) => react_jsx_runtime.JSX.Element;
|
|
635
|
+
type PromptInputTextareaProps = ComponentProps<typeof InputGroupTextarea>;
|
|
636
|
+
declare const PromptInputTextarea: ({ onChange, className, placeholder, ...props }: PromptInputTextareaProps) => react_jsx_runtime.JSX.Element;
|
|
637
|
+
type PromptInputHeaderProps = Omit<ComponentProps<typeof InputGroupAddon>, "align">;
|
|
638
|
+
declare const PromptInputHeader: ({ className, ...props }: PromptInputHeaderProps) => react_jsx_runtime.JSX.Element;
|
|
639
|
+
type PromptInputFooterProps = Omit<ComponentProps<typeof InputGroupAddon>, "align">;
|
|
640
|
+
declare const PromptInputFooter: ({ className, ...props }: PromptInputFooterProps) => react_jsx_runtime.JSX.Element;
|
|
641
|
+
type PromptInputToolsProps = HTMLAttributes<HTMLDivElement>;
|
|
642
|
+
declare const PromptInputTools: ({ className, ...props }: PromptInputToolsProps) => react_jsx_runtime.JSX.Element;
|
|
643
|
+
type PromptInputButtonProps = ComponentProps<typeof InputGroupButton>;
|
|
644
|
+
declare const PromptInputButton: ({ variant, className, size, ...props }: PromptInputButtonProps) => react_jsx_runtime.JSX.Element;
|
|
645
|
+
type PromptInputActionMenuProps = ComponentProps<typeof DropdownMenu>;
|
|
646
|
+
declare const PromptInputActionMenu: (props: PromptInputActionMenuProps) => react_jsx_runtime.JSX.Element;
|
|
647
|
+
type PromptInputActionMenuTriggerProps = PromptInputButtonProps;
|
|
648
|
+
declare const PromptInputActionMenuTrigger: ({ className, children, ...props }: PromptInputActionMenuTriggerProps) => react_jsx_runtime.JSX.Element;
|
|
649
|
+
type PromptInputActionMenuContentProps = ComponentProps<typeof DropdownMenuContent>;
|
|
650
|
+
declare const PromptInputActionMenuContent: ({ className, ...props }: PromptInputActionMenuContentProps) => react_jsx_runtime.JSX.Element;
|
|
651
|
+
type PromptInputActionMenuItemProps = ComponentProps<typeof DropdownMenuItem>;
|
|
652
|
+
declare const PromptInputActionMenuItem: ({ className, ...props }: PromptInputActionMenuItemProps) => react_jsx_runtime.JSX.Element;
|
|
653
|
+
type PromptInputSubmitProps = ComponentProps<typeof InputGroupButton> & {
|
|
654
|
+
status?: ChatStatus;
|
|
655
|
+
};
|
|
656
|
+
declare const PromptInputSubmit: ({ className, variant, size, status, children, ...props }: PromptInputSubmitProps) => react_jsx_runtime.JSX.Element;
|
|
657
|
+
interface SpeechRecognition extends EventTarget {
|
|
658
|
+
continuous: boolean;
|
|
659
|
+
interimResults: boolean;
|
|
660
|
+
lang: string;
|
|
661
|
+
start(): void;
|
|
662
|
+
stop(): void;
|
|
663
|
+
onstart: ((this: SpeechRecognition, ev: Event) => any) | null;
|
|
664
|
+
onend: ((this: SpeechRecognition, ev: Event) => any) | null;
|
|
665
|
+
onresult: ((this: SpeechRecognition, ev: SpeechRecognitionEvent) => any) | null;
|
|
666
|
+
onerror: ((this: SpeechRecognition, ev: SpeechRecognitionErrorEvent) => any) | null;
|
|
667
|
+
}
|
|
668
|
+
interface SpeechRecognitionEvent extends Event {
|
|
669
|
+
results: SpeechRecognitionResultList;
|
|
670
|
+
resultIndex: number;
|
|
671
|
+
}
|
|
672
|
+
type SpeechRecognitionResultList = {
|
|
673
|
+
readonly length: number;
|
|
674
|
+
item(index: number): SpeechRecognitionResult;
|
|
675
|
+
[index: number]: SpeechRecognitionResult;
|
|
676
|
+
};
|
|
677
|
+
type SpeechRecognitionResult = {
|
|
678
|
+
readonly length: number;
|
|
679
|
+
item(index: number): SpeechRecognitionAlternative;
|
|
680
|
+
[index: number]: SpeechRecognitionAlternative;
|
|
681
|
+
isFinal: boolean;
|
|
682
|
+
};
|
|
683
|
+
type SpeechRecognitionAlternative = {
|
|
684
|
+
transcript: string;
|
|
685
|
+
confidence: number;
|
|
686
|
+
};
|
|
687
|
+
interface SpeechRecognitionErrorEvent extends Event {
|
|
688
|
+
error: string;
|
|
689
|
+
}
|
|
690
|
+
declare global {
|
|
691
|
+
interface Window {
|
|
692
|
+
SpeechRecognition: {
|
|
693
|
+
new (): SpeechRecognition;
|
|
694
|
+
};
|
|
695
|
+
webkitSpeechRecognition: {
|
|
696
|
+
new (): SpeechRecognition;
|
|
697
|
+
};
|
|
698
|
+
}
|
|
699
|
+
}
|
|
700
|
+
type PromptInputSpeechButtonProps = ComponentProps<typeof PromptInputButton> & {
|
|
701
|
+
textareaRef?: RefObject<HTMLTextAreaElement | null>;
|
|
702
|
+
onTranscriptionChange?: (text: string) => void;
|
|
703
|
+
};
|
|
704
|
+
declare const PromptInputSpeechButton: ({ className, textareaRef, onTranscriptionChange, ...props }: PromptInputSpeechButtonProps) => react_jsx_runtime.JSX.Element;
|
|
705
|
+
type PromptInputSelectProps = ComponentProps<typeof Select>;
|
|
706
|
+
declare const PromptInputSelect: (props: PromptInputSelectProps) => react_jsx_runtime.JSX.Element;
|
|
707
|
+
type PromptInputSelectTriggerProps = ComponentProps<typeof SelectTrigger>;
|
|
708
|
+
declare const PromptInputSelectTrigger: ({ className, ...props }: PromptInputSelectTriggerProps) => react_jsx_runtime.JSX.Element;
|
|
709
|
+
type PromptInputSelectContentProps = ComponentProps<typeof SelectContent>;
|
|
710
|
+
declare const PromptInputSelectContent: ({ className, ...props }: PromptInputSelectContentProps) => react_jsx_runtime.JSX.Element;
|
|
711
|
+
type PromptInputSelectItemProps = ComponentProps<typeof SelectItem>;
|
|
712
|
+
declare const PromptInputSelectItem: ({ className, ...props }: PromptInputSelectItemProps) => react_jsx_runtime.JSX.Element;
|
|
713
|
+
type PromptInputSelectValueProps = ComponentProps<typeof SelectValue>;
|
|
714
|
+
declare const PromptInputSelectValue: ({ className, ...props }: PromptInputSelectValueProps) => react_jsx_runtime.JSX.Element;
|
|
715
|
+
type PromptInputHoverCardProps = ComponentProps<typeof HoverCard>;
|
|
716
|
+
declare const PromptInputHoverCard: ({ openDelay, closeDelay, ...props }: PromptInputHoverCardProps) => react_jsx_runtime.JSX.Element;
|
|
717
|
+
type PromptInputHoverCardTriggerProps = ComponentProps<typeof HoverCardTrigger>;
|
|
718
|
+
declare const PromptInputHoverCardTrigger: (props: PromptInputHoverCardTriggerProps) => react_jsx_runtime.JSX.Element;
|
|
719
|
+
type PromptInputHoverCardContentProps = ComponentProps<typeof HoverCardContent>;
|
|
720
|
+
declare const PromptInputHoverCardContent: ({ align, ...props }: PromptInputHoverCardContentProps) => react_jsx_runtime.JSX.Element;
|
|
721
|
+
type PromptInputTabsListProps = HTMLAttributes<HTMLDivElement>;
|
|
722
|
+
declare const PromptInputTabsList: ({ className, ...props }: PromptInputTabsListProps) => react_jsx_runtime.JSX.Element;
|
|
723
|
+
type PromptInputTabProps = HTMLAttributes<HTMLDivElement>;
|
|
724
|
+
declare const PromptInputTab: ({ className, ...props }: PromptInputTabProps) => react_jsx_runtime.JSX.Element;
|
|
725
|
+
type PromptInputTabLabelProps = HTMLAttributes<HTMLHeadingElement>;
|
|
726
|
+
declare const PromptInputTabLabel: ({ className, ...props }: PromptInputTabLabelProps) => react_jsx_runtime.JSX.Element;
|
|
727
|
+
type PromptInputTabBodyProps = HTMLAttributes<HTMLDivElement>;
|
|
728
|
+
declare const PromptInputTabBody: ({ className, ...props }: PromptInputTabBodyProps) => react_jsx_runtime.JSX.Element;
|
|
729
|
+
type PromptInputTabItemProps = HTMLAttributes<HTMLDivElement>;
|
|
730
|
+
declare const PromptInputTabItem: ({ className, ...props }: PromptInputTabItemProps) => react_jsx_runtime.JSX.Element;
|
|
731
|
+
type PromptInputCommandProps = ComponentProps<typeof Command>;
|
|
732
|
+
declare const PromptInputCommand: ({ className, ...props }: PromptInputCommandProps) => react_jsx_runtime.JSX.Element;
|
|
733
|
+
type PromptInputCommandInputProps = ComponentProps<typeof CommandInput>;
|
|
734
|
+
declare const PromptInputCommandInput: ({ className, ...props }: PromptInputCommandInputProps) => react_jsx_runtime.JSX.Element;
|
|
735
|
+
type PromptInputCommandListProps = ComponentProps<typeof CommandList>;
|
|
736
|
+
declare const PromptInputCommandList: ({ className, ...props }: PromptInputCommandListProps) => react_jsx_runtime.JSX.Element;
|
|
737
|
+
type PromptInputCommandEmptyProps = ComponentProps<typeof CommandEmpty>;
|
|
738
|
+
declare const PromptInputCommandEmpty: ({ className, ...props }: PromptInputCommandEmptyProps) => react_jsx_runtime.JSX.Element;
|
|
739
|
+
type PromptInputCommandGroupProps = ComponentProps<typeof CommandGroup>;
|
|
740
|
+
declare const PromptInputCommandGroup: ({ className, ...props }: PromptInputCommandGroupProps) => react_jsx_runtime.JSX.Element;
|
|
741
|
+
type PromptInputCommandItemProps = ComponentProps<typeof CommandItem>;
|
|
742
|
+
declare const PromptInputCommandItem: ({ className, ...props }: PromptInputCommandItemProps) => react_jsx_runtime.JSX.Element;
|
|
743
|
+
type PromptInputCommandSeparatorProps = ComponentProps<typeof CommandSeparator>;
|
|
744
|
+
declare const PromptInputCommandSeparator: ({ className, ...props }: PromptInputCommandSeparatorProps) => react_jsx_runtime.JSX.Element;
|
|
745
|
+
|
|
746
|
+
type QueueMessagePart = {
|
|
747
|
+
type: string;
|
|
748
|
+
text?: string;
|
|
749
|
+
url?: string;
|
|
750
|
+
filename?: string;
|
|
751
|
+
mediaType?: string;
|
|
752
|
+
};
|
|
753
|
+
type QueueMessage = {
|
|
754
|
+
id: string;
|
|
755
|
+
parts: QueueMessagePart[];
|
|
756
|
+
};
|
|
757
|
+
type QueueTodo = {
|
|
758
|
+
id: string;
|
|
759
|
+
title: string;
|
|
760
|
+
description?: string;
|
|
761
|
+
status?: "pending" | "completed";
|
|
762
|
+
};
|
|
763
|
+
type QueueItemProps = ComponentProps<"li">;
|
|
764
|
+
declare const QueueItem: ({ className, ...props }: QueueItemProps) => react_jsx_runtime.JSX.Element;
|
|
765
|
+
type QueueItemIndicatorProps = ComponentProps<"span"> & {
|
|
766
|
+
completed?: boolean;
|
|
767
|
+
};
|
|
768
|
+
declare const QueueItemIndicator: ({ completed, className, ...props }: QueueItemIndicatorProps) => react_jsx_runtime.JSX.Element;
|
|
769
|
+
type QueueItemContentProps = ComponentProps<"span"> & {
|
|
770
|
+
completed?: boolean;
|
|
771
|
+
};
|
|
772
|
+
declare const QueueItemContent: ({ completed, className, ...props }: QueueItemContentProps) => react_jsx_runtime.JSX.Element;
|
|
773
|
+
type QueueItemDescriptionProps = ComponentProps<"div"> & {
|
|
774
|
+
completed?: boolean;
|
|
775
|
+
};
|
|
776
|
+
declare const QueueItemDescription: ({ completed, className, ...props }: QueueItemDescriptionProps) => react_jsx_runtime.JSX.Element;
|
|
777
|
+
type QueueItemActionsProps = ComponentProps<"div">;
|
|
778
|
+
declare const QueueItemActions: ({ className, ...props }: QueueItemActionsProps) => react_jsx_runtime.JSX.Element;
|
|
779
|
+
type QueueItemActionProps = Omit<ComponentProps<typeof Button>, "variant" | "size">;
|
|
780
|
+
declare const QueueItemAction: ({ className, ...props }: QueueItemActionProps) => react_jsx_runtime.JSX.Element;
|
|
781
|
+
type QueueItemAttachmentProps = ComponentProps<"div">;
|
|
782
|
+
declare const QueueItemAttachment: ({ className, ...props }: QueueItemAttachmentProps) => react_jsx_runtime.JSX.Element;
|
|
783
|
+
type QueueItemImageProps = ComponentProps<"img">;
|
|
784
|
+
declare const QueueItemImage: ({ className, ...props }: QueueItemImageProps) => react_jsx_runtime.JSX.Element;
|
|
785
|
+
type QueueItemFileProps = ComponentProps<"span">;
|
|
786
|
+
declare const QueueItemFile: ({ children, className, ...props }: QueueItemFileProps) => react_jsx_runtime.JSX.Element;
|
|
787
|
+
type QueueListProps = ComponentProps<typeof ScrollArea>;
|
|
788
|
+
declare const QueueList: ({ children, className, ...props }: QueueListProps) => react_jsx_runtime.JSX.Element;
|
|
789
|
+
type QueueSectionProps = ComponentProps<typeof Collapsible>;
|
|
790
|
+
declare const QueueSection: ({ className, defaultOpen, ...props }: QueueSectionProps) => react_jsx_runtime.JSX.Element;
|
|
791
|
+
type QueueSectionTriggerProps = ComponentProps<"button">;
|
|
792
|
+
declare const QueueSectionTrigger: ({ children, className, ...props }: QueueSectionTriggerProps) => react_jsx_runtime.JSX.Element;
|
|
793
|
+
type QueueSectionLabelProps = ComponentProps<"span"> & {
|
|
794
|
+
count?: number;
|
|
795
|
+
label: string;
|
|
796
|
+
icon?: React.ReactNode;
|
|
797
|
+
};
|
|
798
|
+
declare const QueueSectionLabel: ({ count, label, icon, className, ...props }: QueueSectionLabelProps) => react_jsx_runtime.JSX.Element;
|
|
799
|
+
type QueueSectionContentProps = ComponentProps<typeof CollapsibleContent>;
|
|
800
|
+
declare const QueueSectionContent: ({ className, ...props }: QueueSectionContentProps) => react_jsx_runtime.JSX.Element;
|
|
801
|
+
type QueueProps = ComponentProps<"div">;
|
|
802
|
+
declare const Queue: ({ className, ...props }: QueueProps) => react_jsx_runtime.JSX.Element;
|
|
803
|
+
|
|
804
|
+
type TextShimmerProps = {
|
|
805
|
+
children: string;
|
|
806
|
+
as?: ElementType;
|
|
807
|
+
className?: string;
|
|
808
|
+
duration?: number;
|
|
809
|
+
spread?: number;
|
|
810
|
+
};
|
|
811
|
+
declare const Shimmer: React$1.MemoExoticComponent<({ children, as: Component, className, duration, spread, }: TextShimmerProps) => react_jsx_runtime.JSX.Element>;
|
|
812
|
+
|
|
813
|
+
type TaskItemFileProps = ComponentProps<"div">;
|
|
814
|
+
declare const TaskItemFile: ({ children, className, ...props }: TaskItemFileProps) => react_jsx_runtime.JSX.Element;
|
|
815
|
+
type TaskItemProps = ComponentProps<"div">;
|
|
816
|
+
declare const TaskItem: ({ children, className, ...props }: TaskItemProps) => react_jsx_runtime.JSX.Element;
|
|
817
|
+
type TaskProps = ComponentProps<typeof Collapsible>;
|
|
818
|
+
declare const Task: ({ defaultOpen, className, ...props }: TaskProps) => react_jsx_runtime.JSX.Element;
|
|
819
|
+
type TaskTriggerProps = ComponentProps<typeof CollapsibleTrigger> & {
|
|
820
|
+
title: string;
|
|
821
|
+
};
|
|
822
|
+
declare const TaskTrigger: ({ children, className, title, ...props }: TaskTriggerProps) => react_jsx_runtime.JSX.Element;
|
|
823
|
+
type TaskContentProps = ComponentProps<typeof CollapsibleContent>;
|
|
824
|
+
declare const TaskContent: ({ children, className, ...props }: TaskContentProps) => react_jsx_runtime.JSX.Element;
|
|
825
|
+
|
|
826
|
+
type ToolProps = ComponentProps<typeof Collapsible>;
|
|
827
|
+
declare const Tool: ({ className, ...props }: ToolProps) => react_jsx_runtime.JSX.Element;
|
|
828
|
+
type ToolHeaderProps = {
|
|
829
|
+
title?: string;
|
|
830
|
+
type: ToolUIPart["type"];
|
|
831
|
+
state: ToolUIPart["state"];
|
|
832
|
+
className?: string;
|
|
833
|
+
};
|
|
834
|
+
declare const ToolHeader: ({ className, title, type, state, ...props }: ToolHeaderProps) => react_jsx_runtime.JSX.Element;
|
|
835
|
+
type ToolContentProps = ComponentProps<typeof CollapsibleContent>;
|
|
836
|
+
declare const ToolContent: ({ className, ...props }: ToolContentProps) => react_jsx_runtime.JSX.Element;
|
|
837
|
+
type ToolInputProps = ComponentProps<"div"> & {
|
|
838
|
+
input: ToolUIPart["input"];
|
|
839
|
+
};
|
|
840
|
+
declare const ToolInput: ({ className, input, ...props }: ToolInputProps) => react_jsx_runtime.JSX.Element;
|
|
841
|
+
type ToolOutputProps = ComponentProps<"div"> & {
|
|
842
|
+
output: ToolUIPart["output"];
|
|
843
|
+
errorText: ToolUIPart["errorText"];
|
|
844
|
+
};
|
|
845
|
+
declare const ToolOutput: ({ className, output, errorText, ...props }: ToolOutputProps) => react_jsx_runtime.JSX.Element | null;
|
|
846
|
+
|
|
847
|
+
type ToolbarProps = ComponentProps<typeof NodeToolbar>;
|
|
848
|
+
declare const Toolbar: ({ className, ...props }: ToolbarProps) => react_jsx_runtime.JSX.Element;
|
|
849
|
+
|
|
850
|
+
type CanvasProps = ReactFlowProps & {
|
|
851
|
+
children?: ReactNode;
|
|
852
|
+
};
|
|
853
|
+
declare const Canvas: ({ children, ...props }: CanvasProps) => react_jsx_runtime.JSX.Element;
|
|
854
|
+
|
|
855
|
+
type CheckpointProps = HTMLAttributes<HTMLDivElement>;
|
|
856
|
+
declare const Checkpoint: ({ className, children, ...props }: CheckpointProps) => react_jsx_runtime.JSX.Element;
|
|
857
|
+
type CheckpointIconProps = LucideProps;
|
|
858
|
+
declare const CheckpointIcon: ({ className, children, ...props }: CheckpointIconProps) => string | number | bigint | boolean | Iterable<React$1.ReactNode> | Promise<string | number | bigint | boolean | React$1.ReactPortal | React$1.ReactElement<unknown, string | React$1.JSXElementConstructor<any>> | Iterable<React$1.ReactNode> | null | undefined> | react_jsx_runtime.JSX.Element;
|
|
859
|
+
type CheckpointTriggerProps = ComponentProps<typeof Button> & {
|
|
860
|
+
tooltip?: string;
|
|
861
|
+
};
|
|
862
|
+
declare const CheckpointTrigger: ({ children, className, variant, size, tooltip, ...props }: CheckpointTriggerProps) => react_jsx_runtime.JSX.Element;
|
|
863
|
+
|
|
864
|
+
declare const Connection: ConnectionLineComponent;
|
|
865
|
+
|
|
866
|
+
declare const Edge: {
|
|
867
|
+
Temporary: ({ id, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, }: EdgeProps) => react_jsx_runtime.JSX.Element;
|
|
868
|
+
Animated: ({ id, source, target, markerEnd, style }: EdgeProps) => react_jsx_runtime.JSX.Element | null;
|
|
869
|
+
};
|
|
870
|
+
|
|
871
|
+
type NodeProps = ComponentProps<typeof Card> & {
|
|
872
|
+
handles: {
|
|
873
|
+
target: boolean;
|
|
874
|
+
source: boolean;
|
|
875
|
+
};
|
|
876
|
+
};
|
|
877
|
+
declare const Node: ({ handles, className, ...props }: NodeProps) => react_jsx_runtime.JSX.Element;
|
|
878
|
+
type NodeHeaderProps = ComponentProps<typeof CardHeader>;
|
|
879
|
+
declare const NodeHeader: ({ className, ...props }: NodeHeaderProps) => react_jsx_runtime.JSX.Element;
|
|
880
|
+
type NodeTitleProps = ComponentProps<typeof CardTitle>;
|
|
881
|
+
declare const NodeTitle: (props: NodeTitleProps) => react_jsx_runtime.JSX.Element;
|
|
882
|
+
type NodeDescriptionProps = ComponentProps<typeof CardDescription>;
|
|
883
|
+
declare const NodeDescription: (props: NodeDescriptionProps) => react_jsx_runtime.JSX.Element;
|
|
884
|
+
type NodeActionProps = ComponentProps<typeof CardAction>;
|
|
885
|
+
declare const NodeAction: (props: NodeActionProps) => react_jsx_runtime.JSX.Element;
|
|
886
|
+
type NodeContentProps = ComponentProps<typeof CardContent>;
|
|
887
|
+
declare const NodeContent: ({ className, ...props }: NodeContentProps) => react_jsx_runtime.JSX.Element;
|
|
888
|
+
type NodeFooterProps = ComponentProps<typeof CardFooter>;
|
|
889
|
+
declare const NodeFooter: ({ className, ...props }: NodeFooterProps) => react_jsx_runtime.JSX.Element;
|
|
890
|
+
|
|
891
|
+
type ImageProps = Experimental_GeneratedImage & {
|
|
892
|
+
className?: string;
|
|
893
|
+
alt?: string;
|
|
894
|
+
};
|
|
895
|
+
declare const Image: ({ base64, uint8Array, mediaType, ...props }: ImageProps) => react_jsx_runtime.JSX.Element;
|
|
896
|
+
|
|
897
|
+
export { Image as AIImage, Artifact, ArtifactAction, type ArtifactActionProps, ArtifactActions, type ArtifactActionsProps, ArtifactClose, type ArtifactCloseProps, ArtifactContent, type ArtifactContentProps, ArtifactDescription, type ArtifactDescriptionProps, ArtifactHeader, type ArtifactHeaderProps, type ArtifactProps, ArtifactTitle, type ArtifactTitleProps, type AttachmentsContext, Canvas, ChainOfThought, ChainOfThoughtContent, type ChainOfThoughtContentProps, ChainOfThoughtHeader, type ChainOfThoughtHeaderProps, ChainOfThoughtImage, type ChainOfThoughtImageProps, type ChainOfThoughtProps, ChainOfThoughtSearchResult, type ChainOfThoughtSearchResultProps, ChainOfThoughtSearchResults, type ChainOfThoughtSearchResultsProps, ChainOfThoughtStep, type ChainOfThoughtStepProps, Checkpoint, CheckpointIcon, type CheckpointIconProps, type CheckpointProps, CheckpointTrigger, type CheckpointTriggerProps, CodeBlock, CodeBlockCopyButton, type CodeBlockCopyButtonProps, ComponentRenderer, type ComponentRendererProps, Confirmation, ConfirmationAccepted, type ConfirmationAcceptedProps, ConfirmationAction, type ConfirmationActionProps, ConfirmationActions, type ConfirmationActionsProps, type ConfirmationProps, ConfirmationRejected, type ConfirmationRejectedProps, ConfirmationRequest, type ConfirmationRequestProps, ConfirmationTitle, type ConfirmationTitleProps, Connection, Context, ContextCacheUsage, type ContextCacheUsageProps, ContextContent, ContextContentBody, type ContextContentBodyProps, ContextContentFooter, type ContextContentFooterProps, ContextContentHeader, type ContextContentHeaderProps, type ContextContentProps, ContextInputUsage, type ContextInputUsageProps, ContextOutputUsage, type ContextOutputUsageProps, type ContextProps, ContextReasoningUsage, type ContextReasoningUsageProps, ContextTrigger, type ContextTriggerProps, Controls, type ControlsProps, Conversation, ConversationContent, type ConversationContentProps, ConversationEmptyState, type ConversationEmptyStateProps, type ConversationProps, ConversationScrollButton, type ConversationScrollButtonProps, Edge, type FeedbackData, FollowupButtons, InlineCitation, InlineCitationCard, InlineCitationCardBody, type InlineCitationCardBodyProps, type InlineCitationCardProps, InlineCitationCardTrigger, type InlineCitationCardTriggerProps, InlineCitationCarousel, InlineCitationCarouselContent, type InlineCitationCarouselContentProps, InlineCitationCarouselHeader, type InlineCitationCarouselHeaderProps, InlineCitationCarouselIndex, type InlineCitationCarouselIndexProps, InlineCitationCarouselItem, type InlineCitationCarouselItemProps, InlineCitationCarouselNext, type InlineCitationCarouselNextProps, InlineCitationCarouselPrev, type InlineCitationCarouselPrevProps, type InlineCitationCarouselProps, type InlineCitationProps, InlineCitationQuote, type InlineCitationQuoteProps, InlineCitationSource, type InlineCitationSourceProps, InlineCitationText, type InlineCitationTextProps, Loader, type LoaderProps, Message, MessageAction, type MessageActionProps, MessageActions, type MessageActionsProps, MessageAttachment, type MessageAttachmentProps, MessageAttachments, type MessageAttachmentsProps, MessageBranch, MessageBranchContent, type MessageBranchContentProps, MessageBranchNext, type MessageBranchNextProps, MessageBranchPage, type MessageBranchPageProps, MessageBranchPrevious, type MessageBranchPreviousProps, type MessageBranchProps, MessageBranchSelector, type MessageBranchSelectorProps, MessageContent, type MessageContentProps, MessageFeedback, type MessageProps, MessageResponse, type MessageResponseProps, MessageToolbar, type MessageToolbarProps, ModelSelector, ModelSelectorContent, type ModelSelectorContentProps, ModelSelectorDialog, type ModelSelectorDialogProps, ModelSelectorEmpty, type ModelSelectorEmptyProps, ModelSelectorGroup, type ModelSelectorGroupProps, ModelSelectorInput, type ModelSelectorInputProps, ModelSelectorItem, type ModelSelectorItemProps, ModelSelectorList, type ModelSelectorListProps, ModelSelectorLogo, ModelSelectorLogoGroup, type ModelSelectorLogoGroupProps, type ModelSelectorLogoProps, ModelSelectorName, type ModelSelectorNameProps, type ModelSelectorProps, ModelSelectorSeparator, type ModelSelectorSeparatorProps, ModelSelectorShortcut, type ModelSelectorShortcutProps, ModelSelectorTrigger, type ModelSelectorTriggerProps, Node, NodeAction, type NodeActionProps, NodeContent, type NodeContentProps, NodeDescription, type NodeDescriptionProps, NodeFooter, type NodeFooterProps, NodeHeader, type NodeHeaderProps, type NodeProps, NodeTitle, type NodeTitleProps, OpenIn, OpenInChatGPT, OpenInClaude, OpenInContent, type OpenInContentProps, OpenInCursor, OpenInItem, type OpenInItemProps, OpenInLabel, type OpenInLabelProps, type OpenInProps, OpenInScira, OpenInSeparator, type OpenInSeparatorProps, OpenInT3, OpenInTrigger, type OpenInTriggerProps, OpenInv0, Panel, Plan, PlanAction, type PlanActionProps, PlanContent, type PlanContentProps, PlanDescription, type PlanDescriptionProps, PlanFooter, type PlanFooterProps, PlanHeader, type PlanHeaderProps, type PlanProps, PlanTitle, type PlanTitleProps, PlanTrigger, type PlanTriggerProps, PromptInput, PromptInputActionAddAttachments, type PromptInputActionAddAttachmentsProps, PromptInputActionMenu, PromptInputActionMenuContent, type PromptInputActionMenuContentProps, PromptInputActionMenuItem, type PromptInputActionMenuItemProps, type PromptInputActionMenuProps, PromptInputActionMenuTrigger, type PromptInputActionMenuTriggerProps, PromptInputAttachment, type PromptInputAttachmentProps, PromptInputAttachments, type PromptInputAttachmentsProps, PromptInputBody, type PromptInputBodyProps, PromptInputButton, type PromptInputButtonProps, PromptInputCommand, PromptInputCommandEmpty, type PromptInputCommandEmptyProps, PromptInputCommandGroup, type PromptInputCommandGroupProps, PromptInputCommandInput, type PromptInputCommandInputProps, PromptInputCommandItem, type PromptInputCommandItemProps, PromptInputCommandList, type PromptInputCommandListProps, type PromptInputCommandProps, PromptInputCommandSeparator, type PromptInputCommandSeparatorProps, type PromptInputControllerProps, PromptInputFooter, type PromptInputFooterProps, PromptInputHeader, type PromptInputHeaderProps, PromptInputHoverCard, PromptInputHoverCardContent, type PromptInputHoverCardContentProps, type PromptInputHoverCardProps, PromptInputHoverCardTrigger, type PromptInputHoverCardTriggerProps, type PromptInputMessage, type PromptInputProps, PromptInputProvider, type PromptInputProviderProps, PromptInputSelect, PromptInputSelectContent, type PromptInputSelectContentProps, PromptInputSelectItem, type PromptInputSelectItemProps, type PromptInputSelectProps, PromptInputSelectTrigger, type PromptInputSelectTriggerProps, PromptInputSelectValue, type PromptInputSelectValueProps, PromptInputSpeechButton, type PromptInputSpeechButtonProps, PromptInputSubmit, type PromptInputSubmitProps, PromptInputTab, PromptInputTabBody, type PromptInputTabBodyProps, PromptInputTabItem, type PromptInputTabItemProps, PromptInputTabLabel, type PromptInputTabLabelProps, type PromptInputTabProps, PromptInputTabsList, type PromptInputTabsListProps, PromptInputTextarea, type PromptInputTextareaProps, PromptInputTools, type PromptInputToolsProps, Queue, QueueItem, QueueItemAction, type QueueItemActionProps, QueueItemActions, type QueueItemActionsProps, QueueItemAttachment, type QueueItemAttachmentProps, QueueItemContent, type QueueItemContentProps, QueueItemDescription, type QueueItemDescriptionProps, QueueItemFile, type QueueItemFileProps, QueueItemImage, type QueueItemImageProps, QueueItemIndicator, type QueueItemIndicatorProps, type QueueItemProps, QueueList, type QueueListProps, type QueueMessage, type QueueMessagePart, type QueueProps, QueueSection, QueueSectionContent, type QueueSectionContentProps, QueueSectionLabel, type QueueSectionLabelProps, type QueueSectionProps, QueueSectionTrigger, type QueueSectionTriggerProps, type QueueTodo, Reasoning, ReasoningContent, type ReasoningContentProps, type ReasoningProps, ReasoningTrigger, type ReasoningTriggerProps, Shimmer, Source, type SourceProps, Sources, SourcesContent, type SourcesContentProps, type SourcesProps, SourcesTrigger, type SourcesTriggerProps, SpinnerLoader, type SpinnerLoaderProps, Suggestion, type SuggestionProps, Suggestions, type SuggestionsProps, Task, TaskContent, type TaskContentProps, TaskItem, TaskItemFile, type TaskItemFileProps, type TaskItemProps, type TaskProps, TaskTrigger, type TaskTriggerProps, type TextInputContext, type TextShimmerProps, ThinkingSpinner, Tool, ToolContent, type ToolContentProps, ToolHeader, type ToolHeaderProps, ToolInput, type ToolInputProps, ToolOutput, type ToolOutputProps, type ToolProps, Toolbar, WebPreview, WebPreviewBody, type WebPreviewBodyProps, WebPreviewConsole, type WebPreviewConsoleProps, type WebPreviewContextValue, WebPreviewNavigation, WebPreviewNavigationButton, type WebPreviewNavigationButtonProps, type WebPreviewNavigationProps, type WebPreviewProps, WebPreviewUrl, type WebPreviewUrlProps, highlightCode, usePromptInputAttachments, usePromptInputController, useProviderAttachments, useReasoning };
|