@sero-ai/ui 0.2.1 → 0.3.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.
@@ -0,0 +1,2246 @@
1
+ import { ClassValue } from 'clsx';
2
+ import * as react_jsx_runtime from 'react/jsx-runtime';
3
+ import * as React$1 from 'react';
4
+ import { ComponentProps, HTMLAttributes, ReactNode, FC, RefObject, PropsWithChildren, FormEvent, ElementType } from 'react';
5
+ import { Accordion as Accordion$1, AlertDialog as AlertDialog$1, AspectRatio as AspectRatio$1, Avatar as Avatar$1, Separator as Separator$1, Checkbox as Checkbox$1, Collapsible as Collapsible$1, Dialog as Dialog$1, ContextMenu as ContextMenu$1, Direction, DropdownMenu as DropdownMenu$1, Label as Label$1, Slot, HoverCard as HoverCard$1, Menubar as Menubar$1, NavigationMenu as NavigationMenu$1, Popover as Popover$1, Progress as Progress$1, RadioGroup as RadioGroup$1, ScrollArea as ScrollArea$1, Select as Select$1, Tooltip as Tooltip$1, Slider as Slider$1, Switch as Switch$1, Tabs as Tabs$1, Toggle as Toggle$1, ToggleGroup as ToggleGroup$1 } from 'radix-ui';
6
+ import * as class_variance_authority_types from 'class-variance-authority/types';
7
+ import { VariantProps } from 'class-variance-authority';
8
+ import { DayPicker, DayButton } from 'react-day-picker';
9
+ import useEmblaCarousel, { UseEmblaCarouselType } from 'embla-carousel-react';
10
+ import * as RechartsPrimitive from 'recharts';
11
+ import { Combobox as Combobox$1 } from '@base-ui/react';
12
+ import { Command as Command$1 } from 'cmdk';
13
+ import { Drawer as Drawer$1 } from 'vaul';
14
+ import * as react_hook_form from 'react-hook-form';
15
+ import { FieldValues, FieldPath, ControllerProps } from 'react-hook-form';
16
+ import { OTPInput } from 'input-otp';
17
+ import * as ResizablePrimitive from 'react-resizable-panels';
18
+ import { ToasterProps } from 'sonner';
19
+ import { ItemInstance } from '@headless-tree/core';
20
+ import * as ai from 'ai';
21
+ import { Tool as Tool$1, FileUIPart, SourceDocumentUIPart, Experimental_SpeechResult, ToolUIPart, LanguageModelUsage, Experimental_GeneratedImage, UIMessage, DynamicToolUIPart, Experimental_TranscriptionResult } from 'ai';
22
+ import { LucideIcon, LucideProps, FileIcon } from 'lucide-react';
23
+ import { MediaController, MediaControlBar, MediaDurationDisplay, MediaMuteButton, MediaPlayButton, MediaSeekBackwardButton, MediaSeekForwardButton, MediaTimeDisplay, MediaTimeRange, MediaVolumeRange } from 'media-chrome/react';
24
+ import { ReactFlowProps, ConnectionLineComponent, Controls as Controls$1, EdgeProps, Panel as Panel$1, NodeToolbar } from '@xyflow/react';
25
+ import { BundledLanguage, ThemedToken } from 'shiki';
26
+ import { StickToBottom } from 'use-stick-to-bottom';
27
+ import { TProps } from 'react-jsx-parser';
28
+ import { Streamdown } from 'streamdown';
29
+ import { RiveParameters } from '@rive-app/react-webgl2';
30
+ import { SharedModelInfo, SharedAvailableModelGroup, ModelValidationWarning, ThinkingLevel } from '@sero-ai/common';
31
+
32
+ declare function cn(...inputs: ClassValue[]): string;
33
+
34
+ declare function useIsMobile(): boolean;
35
+
36
+ /**
37
+ * Shared Sero theme types and defaults.
38
+ *
39
+ * Presets are JSON-serialisable and map to CSS custom properties through
40
+ * `applyThemePreset()`. Keep this package renderer-safe: no Electron APIs.
41
+ */
42
+ /** Core colour tokens that every theme defines for each mode. */
43
+ interface ColorTokens {
44
+ bgBase: string;
45
+ bgSurface: string;
46
+ bgElevated: string;
47
+ bgOverlay: string;
48
+ bgMuted: string;
49
+ borderSubtle: string;
50
+ borderDefault: string;
51
+ borderFocus: string;
52
+ textPrimary: string;
53
+ textSecondary: string;
54
+ textMuted: string;
55
+ textInverse: string;
56
+ brandPrimary: string;
57
+ brandPrimaryHover: string;
58
+ brandPrimaryForeground: string;
59
+ brandSecondary: string;
60
+ brandSecondaryHover: string;
61
+ brandSecondaryForeground: string;
62
+ accentPrimary: string;
63
+ accentHover: string;
64
+ accentMuted: string;
65
+ accentCode: string;
66
+ statusSuccess: string;
67
+ statusWarning: string;
68
+ statusError: string;
69
+ statusInfo: string;
70
+ collabPrimary: string;
71
+ voiceRecording: string;
72
+ voiceProcessing: string;
73
+ bannerPrimary: string;
74
+ }
75
+ /** Terminal ANSI colour overrides (optional per-theme). */
76
+ interface TerminalColorTokens {
77
+ background: string;
78
+ foreground: string;
79
+ cursor: string;
80
+ cursorAccent: string;
81
+ selectionBackground: string;
82
+ black: string;
83
+ red: string;
84
+ green: string;
85
+ yellow: string;
86
+ blue: string;
87
+ magenta: string;
88
+ cyan: string;
89
+ white: string;
90
+ brightBlack: string;
91
+ brightRed: string;
92
+ brightGreen: string;
93
+ brightYellow: string;
94
+ brightBlue: string;
95
+ brightMagenta: string;
96
+ brightCyan: string;
97
+ brightWhite: string;
98
+ }
99
+ interface TypographyTokens {
100
+ fontSans?: string;
101
+ fontMono?: string;
102
+ fontSizeBase?: string;
103
+ }
104
+ interface SpacingTokens {
105
+ xs?: string;
106
+ sm?: string;
107
+ md?: string;
108
+ lg?: string;
109
+ xl?: string;
110
+ }
111
+ interface RadiusTokens {
112
+ sm?: string;
113
+ md?: string;
114
+ lg?: string;
115
+ }
116
+ interface ThemePreset {
117
+ /** Unique ID (slug or uuid). */
118
+ id: string;
119
+ /** Human-readable name. */
120
+ name: string;
121
+ /** Optional description. */
122
+ description?: string;
123
+ /** Author name (for shared presets). */
124
+ author?: string;
125
+ /** Schema version for forward compatibility. */
126
+ version: 1;
127
+ /** Whether this is a built-in preset (read-only). */
128
+ builtin?: boolean;
129
+ /** Colour tokens — both modes required. */
130
+ colors: {
131
+ light: ColorTokens;
132
+ dark: ColorTokens;
133
+ };
134
+ /** Terminal ANSI colours (optional — derived from status colours if absent). */
135
+ terminal?: {
136
+ light?: Partial<TerminalColorTokens>;
137
+ dark?: Partial<TerminalColorTokens>;
138
+ };
139
+ /** Typography overrides. */
140
+ typography?: TypographyTokens;
141
+ /** Spacing scale overrides. */
142
+ spacing?: SpacingTokens;
143
+ /** Border radius overrides. */
144
+ radius?: RadiusTokens;
145
+ }
146
+ /** Lightweight metadata for listing presets without loading full data. */
147
+ interface ThemePresetMeta {
148
+ id: string;
149
+ name: string;
150
+ description?: string;
151
+ author?: string;
152
+ builtin: boolean;
153
+ }
154
+ type ThemeMode = 'light' | 'dark' | 'system';
155
+ /** The default theme preset ID. */
156
+ declare const DEFAULT_THEME_ID = "default";
157
+ /** Default colour tokens matching globals.css :root values. */
158
+ declare const DEFAULT_LIGHT_COLORS: ColorTokens;
159
+ /** Default typography matching globals.css values. */
160
+ declare const DEFAULT_TYPOGRAPHY: Required<TypographyTokens>;
161
+ /** Default spacing matching globals.css values. */
162
+ declare const DEFAULT_SPACING: Required<SpacingTokens>;
163
+ /** Default radius matching globals.css values. */
164
+ declare const DEFAULT_RADIUS: Required<RadiusTokens>;
165
+ /** Default colour tokens matching globals.css .dark values. */
166
+ declare const DEFAULT_DARK_COLORS: ColorTokens;
167
+
168
+ interface ApplyThemeOptions {
169
+ loadFont?: (fontStack: string) => void;
170
+ }
171
+ /** Apply a theme preset for the given mode. */
172
+ declare function applyThemePreset(preset: ThemePreset, mode: 'light' | 'dark', options?: ApplyThemeOptions): void;
173
+ /** Remove all inline theme overrides, reverting to CSS defaults. */
174
+ declare function resetTheme(): void;
175
+ /** Validate and normalise an unknown value into a ThemePreset. */
176
+ declare function validateThemePreset(data: unknown): ThemePreset | null;
177
+
178
+ declare function Accordion({ ...props }: React$1.ComponentProps<typeof Accordion$1.Root>): react_jsx_runtime.JSX.Element;
179
+ declare function AccordionItem({ className, ...props }: React$1.ComponentProps<typeof Accordion$1.Item>): react_jsx_runtime.JSX.Element;
180
+ declare function AccordionTrigger({ className, children, ...props }: React$1.ComponentProps<typeof Accordion$1.Trigger>): react_jsx_runtime.JSX.Element;
181
+ declare function AccordionContent({ className, children, ...props }: React$1.ComponentProps<typeof Accordion$1.Content>): react_jsx_runtime.JSX.Element;
182
+
183
+ declare const buttonVariants: (props?: ({
184
+ variant?: "default" | "link" | "destructive" | "outline" | "secondary" | "ghost" | null | undefined;
185
+ size?: "default" | "xs" | "sm" | "lg" | "icon" | "icon-xs" | "icon-sm" | "icon-lg" | null | undefined;
186
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
187
+ declare function Button({ className, variant, size, asChild, ...props }: React$1.ComponentProps<"button"> & VariantProps<typeof buttonVariants> & {
188
+ asChild?: boolean;
189
+ }): react_jsx_runtime.JSX.Element;
190
+
191
+ declare function AlertDialog({ ...props }: React$1.ComponentProps<typeof AlertDialog$1.Root>): react_jsx_runtime.JSX.Element;
192
+ declare function AlertDialogTrigger({ ...props }: React$1.ComponentProps<typeof AlertDialog$1.Trigger>): react_jsx_runtime.JSX.Element;
193
+ declare function AlertDialogPortal({ ...props }: React$1.ComponentProps<typeof AlertDialog$1.Portal>): react_jsx_runtime.JSX.Element;
194
+ declare function AlertDialogOverlay({ className, ...props }: React$1.ComponentProps<typeof AlertDialog$1.Overlay>): react_jsx_runtime.JSX.Element;
195
+ declare function AlertDialogContent({ className, size, ...props }: React$1.ComponentProps<typeof AlertDialog$1.Content> & {
196
+ size?: "default" | "sm";
197
+ }): react_jsx_runtime.JSX.Element;
198
+ declare function AlertDialogHeader({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
199
+ declare function AlertDialogFooter({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
200
+ declare function AlertDialogTitle({ className, ...props }: React$1.ComponentProps<typeof AlertDialog$1.Title>): react_jsx_runtime.JSX.Element;
201
+ declare function AlertDialogDescription({ className, ...props }: React$1.ComponentProps<typeof AlertDialog$1.Description>): react_jsx_runtime.JSX.Element;
202
+ declare function AlertDialogMedia({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
203
+ declare function AlertDialogAction({ className, variant, size, ...props }: React$1.ComponentProps<typeof AlertDialog$1.Action> & Pick<React$1.ComponentProps<typeof Button>, "variant" | "size">): react_jsx_runtime.JSX.Element;
204
+ declare function AlertDialogCancel({ className, variant, size, ...props }: React$1.ComponentProps<typeof AlertDialog$1.Cancel> & Pick<React$1.ComponentProps<typeof Button>, "variant" | "size">): react_jsx_runtime.JSX.Element;
205
+
206
+ declare const alertVariants: (props?: ({
207
+ variant?: "default" | "destructive" | null | undefined;
208
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
209
+ declare function Alert({ className, variant, ...props }: React$1.ComponentProps<"div"> & VariantProps<typeof alertVariants>): react_jsx_runtime.JSX.Element;
210
+ declare function AlertTitle({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
211
+ declare function AlertDescription({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
212
+
213
+ declare function AspectRatio({ ...props }: React.ComponentProps<typeof AspectRatio$1.Root>): react_jsx_runtime.JSX.Element;
214
+
215
+ declare function Avatar({ className, size, ...props }: React$1.ComponentProps<typeof Avatar$1.Root> & {
216
+ size?: "default" | "sm" | "lg";
217
+ }): react_jsx_runtime.JSX.Element;
218
+ declare function AvatarImage({ className, ...props }: React$1.ComponentProps<typeof Avatar$1.Image>): react_jsx_runtime.JSX.Element;
219
+ declare function AvatarFallback({ className, ...props }: React$1.ComponentProps<typeof Avatar$1.Fallback>): react_jsx_runtime.JSX.Element;
220
+ declare function AvatarBadge({ className, ...props }: React$1.ComponentProps<"span">): react_jsx_runtime.JSX.Element;
221
+ declare function AvatarGroup({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
222
+ declare function AvatarGroupCount({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
223
+
224
+ declare const badgeVariants: (props?: ({
225
+ variant?: "default" | "link" | "destructive" | "outline" | "secondary" | "ghost" | null | undefined;
226
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
227
+ declare function Badge({ className, variant, asChild, ...props }: React$1.ComponentProps<"span"> & VariantProps<typeof badgeVariants> & {
228
+ asChild?: boolean;
229
+ }): react_jsx_runtime.JSX.Element;
230
+
231
+ declare function Breadcrumb({ ...props }: React$1.ComponentProps<"nav">): react_jsx_runtime.JSX.Element;
232
+ declare function BreadcrumbList({ className, ...props }: React$1.ComponentProps<"ol">): react_jsx_runtime.JSX.Element;
233
+ declare function BreadcrumbItem({ className, ...props }: React$1.ComponentProps<"li">): react_jsx_runtime.JSX.Element;
234
+ declare function BreadcrumbLink({ asChild, className, ...props }: React$1.ComponentProps<"a"> & {
235
+ asChild?: boolean;
236
+ }): react_jsx_runtime.JSX.Element;
237
+ declare function BreadcrumbPage({ className, ...props }: React$1.ComponentProps<"span">): react_jsx_runtime.JSX.Element;
238
+ declare function BreadcrumbSeparator({ children, className, ...props }: React$1.ComponentProps<"li">): react_jsx_runtime.JSX.Element;
239
+ declare function BreadcrumbEllipsis({ className, ...props }: React$1.ComponentProps<"span">): react_jsx_runtime.JSX.Element;
240
+
241
+ declare function Separator({ className, orientation, decorative, ...props }: React$1.ComponentProps<typeof Separator$1.Root>): react_jsx_runtime.JSX.Element;
242
+
243
+ declare const buttonGroupVariants: (props?: ({
244
+ orientation?: "horizontal" | "vertical" | null | undefined;
245
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
246
+ declare function ButtonGroup({ className, orientation, ...props }: React.ComponentProps<"div"> & VariantProps<typeof buttonGroupVariants>): react_jsx_runtime.JSX.Element;
247
+ declare function ButtonGroupText({ className, asChild, ...props }: React.ComponentProps<"div"> & {
248
+ asChild?: boolean;
249
+ }): react_jsx_runtime.JSX.Element;
250
+ declare function ButtonGroupSeparator({ className, orientation, ...props }: React.ComponentProps<typeof Separator>): react_jsx_runtime.JSX.Element;
251
+
252
+ declare function Calendar({ className, classNames, showOutsideDays, captionLayout, buttonVariant, formatters, components, ...props }: React$1.ComponentProps<typeof DayPicker> & {
253
+ buttonVariant?: React$1.ComponentProps<typeof Button>["variant"];
254
+ }): react_jsx_runtime.JSX.Element;
255
+ declare function CalendarDayButton({ className, day, modifiers, ...props }: React$1.ComponentProps<typeof DayButton>): react_jsx_runtime.JSX.Element;
256
+
257
+ declare function Card({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
258
+ declare function CardHeader({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
259
+ declare function CardTitle({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
260
+ declare function CardDescription({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
261
+ declare function CardAction({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
262
+ declare function CardContent({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
263
+ declare function CardFooter({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
264
+
265
+ type CarouselApi = UseEmblaCarouselType[1];
266
+ type UseCarouselParameters = Parameters<typeof useEmblaCarousel>;
267
+ type CarouselOptions = UseCarouselParameters[0];
268
+ type CarouselPlugin = UseCarouselParameters[1];
269
+ type CarouselProps = {
270
+ opts?: CarouselOptions;
271
+ plugins?: CarouselPlugin;
272
+ orientation?: "horizontal" | "vertical";
273
+ setApi?: (api: CarouselApi) => void;
274
+ };
275
+ declare function Carousel({ orientation, opts, setApi, plugins, className, children, ...props }: React$1.ComponentProps<"div"> & CarouselProps): react_jsx_runtime.JSX.Element;
276
+ declare function CarouselContent({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
277
+ declare function CarouselItem({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
278
+ declare function CarouselPrevious({ className, variant, size, ...props }: React$1.ComponentProps<typeof Button>): react_jsx_runtime.JSX.Element;
279
+ declare function CarouselNext({ className, variant, size, ...props }: React$1.ComponentProps<typeof Button>): react_jsx_runtime.JSX.Element;
280
+
281
+ declare const THEMES: {
282
+ readonly light: "";
283
+ readonly dark: ".dark";
284
+ };
285
+ type ChartConfig = {
286
+ [k in string]: {
287
+ label?: React$1.ReactNode;
288
+ icon?: React$1.ComponentType;
289
+ } & ({
290
+ color?: string;
291
+ theme?: never;
292
+ } | {
293
+ color?: never;
294
+ theme: Record<keyof typeof THEMES, string>;
295
+ });
296
+ };
297
+ declare function ChartContainer({ id, className, children, config, ...props }: React$1.ComponentProps<"div"> & {
298
+ config: ChartConfig;
299
+ children: React$1.ComponentProps<typeof RechartsPrimitive.ResponsiveContainer>["children"];
300
+ }): react_jsx_runtime.JSX.Element;
301
+ declare const ChartStyle: ({ id, config }: {
302
+ id: string;
303
+ config: ChartConfig;
304
+ }) => react_jsx_runtime.JSX.Element | null;
305
+ declare const ChartTooltip: typeof RechartsPrimitive.Tooltip;
306
+ declare function ChartTooltipContent({ active, payload, className, indicator, hideLabel, hideIndicator, label, labelFormatter, labelClassName, formatter, color, nameKey, labelKey, }: React$1.ComponentProps<typeof RechartsPrimitive.Tooltip> & React$1.ComponentProps<"div"> & {
307
+ hideLabel?: boolean;
308
+ hideIndicator?: boolean;
309
+ indicator?: "line" | "dot" | "dashed";
310
+ nameKey?: string;
311
+ labelKey?: string;
312
+ }): react_jsx_runtime.JSX.Element | null;
313
+ declare const ChartLegend: typeof RechartsPrimitive.Legend;
314
+ declare function ChartLegendContent({ className, hideIcon, payload, verticalAlign, nameKey, }: React$1.ComponentProps<"div"> & Pick<RechartsPrimitive.LegendProps, "payload" | "verticalAlign"> & {
315
+ hideIcon?: boolean;
316
+ nameKey?: string;
317
+ }): react_jsx_runtime.JSX.Element | null;
318
+
319
+ declare function Checkbox({ className, ...props }: React$1.ComponentProps<typeof Checkbox$1.Root>): react_jsx_runtime.JSX.Element;
320
+
321
+ declare function Collapsible({ ...props }: React.ComponentProps<typeof Collapsible$1.Root>): react_jsx_runtime.JSX.Element;
322
+ declare function CollapsibleTrigger({ ...props }: React.ComponentProps<typeof Collapsible$1.CollapsibleTrigger>): react_jsx_runtime.JSX.Element;
323
+ declare function CollapsibleContent({ ...props }: React.ComponentProps<typeof Collapsible$1.CollapsibleContent>): react_jsx_runtime.JSX.Element;
324
+
325
+ declare const Combobox: typeof Combobox$1.Root;
326
+ declare function ComboboxValue({ ...props }: Combobox$1.Value.Props): react_jsx_runtime.JSX.Element;
327
+ declare function ComboboxTrigger({ className, children, ...props }: Combobox$1.Trigger.Props): react_jsx_runtime.JSX.Element;
328
+ declare function ComboboxInput({ className, children, disabled, showTrigger, showClear, ...props }: Combobox$1.Input.Props & {
329
+ showTrigger?: boolean;
330
+ showClear?: boolean;
331
+ }): react_jsx_runtime.JSX.Element;
332
+ declare function ComboboxContent({ className, side, sideOffset, align, alignOffset, anchor, ...props }: Combobox$1.Popup.Props & Pick<Combobox$1.Positioner.Props, "side" | "align" | "sideOffset" | "alignOffset" | "anchor">): react_jsx_runtime.JSX.Element;
333
+ declare function ComboboxList({ className, ...props }: Combobox$1.List.Props): react_jsx_runtime.JSX.Element;
334
+ declare function ComboboxItem({ className, children, ...props }: Combobox$1.Item.Props): react_jsx_runtime.JSX.Element;
335
+ declare function ComboboxGroup({ className, ...props }: Combobox$1.Group.Props): react_jsx_runtime.JSX.Element;
336
+ declare function ComboboxLabel({ className, ...props }: Combobox$1.GroupLabel.Props): react_jsx_runtime.JSX.Element;
337
+ declare function ComboboxCollection({ ...props }: Combobox$1.Collection.Props): react_jsx_runtime.JSX.Element;
338
+ declare function ComboboxEmpty({ className, ...props }: Combobox$1.Empty.Props): react_jsx_runtime.JSX.Element;
339
+ declare function ComboboxSeparator({ className, ...props }: Combobox$1.Separator.Props): react_jsx_runtime.JSX.Element;
340
+ declare function ComboboxChips({ className, ...props }: React$1.ComponentPropsWithRef<typeof Combobox$1.Chips> & Combobox$1.Chips.Props): react_jsx_runtime.JSX.Element;
341
+ declare function ComboboxChip({ className, children, showRemove, ...props }: Combobox$1.Chip.Props & {
342
+ showRemove?: boolean;
343
+ }): react_jsx_runtime.JSX.Element;
344
+ declare function ComboboxChipsInput({ className, children, ...props }: Combobox$1.Input.Props): react_jsx_runtime.JSX.Element;
345
+ declare function useComboboxAnchor(): React$1.RefObject<HTMLDivElement | null>;
346
+
347
+ declare function Dialog({ ...props }: React$1.ComponentProps<typeof Dialog$1.Root>): react_jsx_runtime.JSX.Element;
348
+ declare function DialogTrigger({ ...props }: React$1.ComponentProps<typeof Dialog$1.Trigger>): react_jsx_runtime.JSX.Element;
349
+ declare function DialogPortal({ ...props }: React$1.ComponentProps<typeof Dialog$1.Portal>): react_jsx_runtime.JSX.Element;
350
+ declare function DialogClose({ ...props }: React$1.ComponentProps<typeof Dialog$1.Close>): react_jsx_runtime.JSX.Element;
351
+ declare function DialogOverlay({ className, ...props }: React$1.ComponentProps<typeof Dialog$1.Overlay>): react_jsx_runtime.JSX.Element;
352
+ declare function DialogContent({ className, children, showCloseButton, ...props }: React$1.ComponentProps<typeof Dialog$1.Content> & {
353
+ showCloseButton?: boolean;
354
+ }): react_jsx_runtime.JSX.Element;
355
+ declare function DialogHeader({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
356
+ declare function DialogFooter({ className, showCloseButton, children, ...props }: React$1.ComponentProps<"div"> & {
357
+ showCloseButton?: boolean;
358
+ }): react_jsx_runtime.JSX.Element;
359
+ declare function DialogTitle({ className, ...props }: React$1.ComponentProps<typeof Dialog$1.Title>): react_jsx_runtime.JSX.Element;
360
+ declare function DialogDescription({ className, ...props }: React$1.ComponentProps<typeof Dialog$1.Description>): react_jsx_runtime.JSX.Element;
361
+
362
+ declare function Command({ className, ...props }: React$1.ComponentProps<typeof Command$1>): react_jsx_runtime.JSX.Element;
363
+ declare function CommandDialog({ title, description, children, className, showCloseButton, ...props }: React$1.ComponentProps<typeof Dialog> & {
364
+ title?: string;
365
+ description?: string;
366
+ className?: string;
367
+ showCloseButton?: boolean;
368
+ }): react_jsx_runtime.JSX.Element;
369
+ declare function CommandInput({ className, ...props }: React$1.ComponentProps<typeof Command$1.Input>): react_jsx_runtime.JSX.Element;
370
+ declare function CommandList({ className, ...props }: React$1.ComponentProps<typeof Command$1.List>): react_jsx_runtime.JSX.Element;
371
+ declare function CommandEmpty({ ...props }: React$1.ComponentProps<typeof Command$1.Empty>): react_jsx_runtime.JSX.Element;
372
+ declare function CommandGroup({ className, ...props }: React$1.ComponentProps<typeof Command$1.Group>): react_jsx_runtime.JSX.Element;
373
+ declare function CommandSeparator({ className, ...props }: React$1.ComponentProps<typeof Command$1.Separator>): react_jsx_runtime.JSX.Element;
374
+ declare function CommandItem({ className, ...props }: React$1.ComponentProps<typeof Command$1.Item>): react_jsx_runtime.JSX.Element;
375
+ declare function CommandShortcut({ className, ...props }: React$1.ComponentProps<"span">): react_jsx_runtime.JSX.Element;
376
+
377
+ declare function ContextMenu({ ...props }: React$1.ComponentProps<typeof ContextMenu$1.Root>): react_jsx_runtime.JSX.Element;
378
+ declare function ContextMenuTrigger({ ...props }: React$1.ComponentProps<typeof ContextMenu$1.Trigger>): react_jsx_runtime.JSX.Element;
379
+ declare function ContextMenuGroup({ ...props }: React$1.ComponentProps<typeof ContextMenu$1.Group>): react_jsx_runtime.JSX.Element;
380
+ declare function ContextMenuPortal({ ...props }: React$1.ComponentProps<typeof ContextMenu$1.Portal>): react_jsx_runtime.JSX.Element;
381
+ declare function ContextMenuSub({ ...props }: React$1.ComponentProps<typeof ContextMenu$1.Sub>): react_jsx_runtime.JSX.Element;
382
+ declare function ContextMenuRadioGroup({ ...props }: React$1.ComponentProps<typeof ContextMenu$1.RadioGroup>): react_jsx_runtime.JSX.Element;
383
+ declare function ContextMenuSubTrigger({ className, inset, children, ...props }: React$1.ComponentProps<typeof ContextMenu$1.SubTrigger> & {
384
+ inset?: boolean;
385
+ }): react_jsx_runtime.JSX.Element;
386
+ declare function ContextMenuSubContent({ className, ...props }: React$1.ComponentProps<typeof ContextMenu$1.SubContent>): react_jsx_runtime.JSX.Element;
387
+ declare function ContextMenuContent({ className, ...props }: React$1.ComponentProps<typeof ContextMenu$1.Content>): react_jsx_runtime.JSX.Element;
388
+ declare function ContextMenuItem({ className, inset, variant, ...props }: React$1.ComponentProps<typeof ContextMenu$1.Item> & {
389
+ inset?: boolean;
390
+ variant?: "default" | "destructive";
391
+ }): react_jsx_runtime.JSX.Element;
392
+ declare function ContextMenuCheckboxItem({ className, children, checked, ...props }: React$1.ComponentProps<typeof ContextMenu$1.CheckboxItem>): react_jsx_runtime.JSX.Element;
393
+ declare function ContextMenuRadioItem({ className, children, ...props }: React$1.ComponentProps<typeof ContextMenu$1.RadioItem>): react_jsx_runtime.JSX.Element;
394
+ declare function ContextMenuLabel({ className, inset, ...props }: React$1.ComponentProps<typeof ContextMenu$1.Label> & {
395
+ inset?: boolean;
396
+ }): react_jsx_runtime.JSX.Element;
397
+ declare function ContextMenuSeparator({ className, ...props }: React$1.ComponentProps<typeof ContextMenu$1.Separator>): react_jsx_runtime.JSX.Element;
398
+ declare function ContextMenuShortcut({ className, ...props }: React$1.ComponentProps<"span">): react_jsx_runtime.JSX.Element;
399
+
400
+ declare function DirectionProvider({ dir, direction, children, }: React$1.ComponentProps<typeof Direction.DirectionProvider> & {
401
+ direction?: React$1.ComponentProps<typeof Direction.DirectionProvider>["dir"];
402
+ }): react_jsx_runtime.JSX.Element;
403
+ declare const useDirection: typeof Direction.useDirection;
404
+
405
+ declare function Drawer({ ...props }: React$1.ComponentProps<typeof Drawer$1.Root>): react_jsx_runtime.JSX.Element;
406
+ declare function DrawerTrigger({ ...props }: React$1.ComponentProps<typeof Drawer$1.Trigger>): react_jsx_runtime.JSX.Element;
407
+ declare function DrawerPortal({ ...props }: React$1.ComponentProps<typeof Drawer$1.Portal>): react_jsx_runtime.JSX.Element;
408
+ declare function DrawerClose({ ...props }: React$1.ComponentProps<typeof Drawer$1.Close>): react_jsx_runtime.JSX.Element;
409
+ declare function DrawerOverlay({ className, ...props }: React$1.ComponentProps<typeof Drawer$1.Overlay>): react_jsx_runtime.JSX.Element;
410
+ declare function DrawerContent({ className, children, ...props }: React$1.ComponentProps<typeof Drawer$1.Content>): react_jsx_runtime.JSX.Element;
411
+ declare function DrawerHeader({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
412
+ declare function DrawerFooter({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
413
+ declare function DrawerTitle({ className, ...props }: React$1.ComponentProps<typeof Drawer$1.Title>): react_jsx_runtime.JSX.Element;
414
+ declare function DrawerDescription({ className, ...props }: React$1.ComponentProps<typeof Drawer$1.Description>): react_jsx_runtime.JSX.Element;
415
+
416
+ declare function DropdownMenu({ ...props }: React$1.ComponentProps<typeof DropdownMenu$1.Root>): react_jsx_runtime.JSX.Element;
417
+ declare function DropdownMenuPortal({ ...props }: React$1.ComponentProps<typeof DropdownMenu$1.Portal>): react_jsx_runtime.JSX.Element;
418
+ declare function DropdownMenuTrigger({ ...props }: React$1.ComponentProps<typeof DropdownMenu$1.Trigger>): react_jsx_runtime.JSX.Element;
419
+ declare function DropdownMenuContent({ className, sideOffset, ...props }: React$1.ComponentProps<typeof DropdownMenu$1.Content>): react_jsx_runtime.JSX.Element;
420
+ declare function DropdownMenuGroup({ ...props }: React$1.ComponentProps<typeof DropdownMenu$1.Group>): react_jsx_runtime.JSX.Element;
421
+ declare function DropdownMenuItem({ className, inset, variant, ...props }: React$1.ComponentProps<typeof DropdownMenu$1.Item> & {
422
+ inset?: boolean;
423
+ variant?: "default" | "destructive";
424
+ }): react_jsx_runtime.JSX.Element;
425
+ declare function DropdownMenuCheckboxItem({ className, children, checked, ...props }: React$1.ComponentProps<typeof DropdownMenu$1.CheckboxItem>): react_jsx_runtime.JSX.Element;
426
+ declare function DropdownMenuRadioGroup({ ...props }: React$1.ComponentProps<typeof DropdownMenu$1.RadioGroup>): react_jsx_runtime.JSX.Element;
427
+ declare function DropdownMenuRadioItem({ className, children, ...props }: React$1.ComponentProps<typeof DropdownMenu$1.RadioItem>): react_jsx_runtime.JSX.Element;
428
+ declare function DropdownMenuLabel({ className, inset, ...props }: React$1.ComponentProps<typeof DropdownMenu$1.Label> & {
429
+ inset?: boolean;
430
+ }): react_jsx_runtime.JSX.Element;
431
+ declare function DropdownMenuSeparator({ className, ...props }: React$1.ComponentProps<typeof DropdownMenu$1.Separator>): react_jsx_runtime.JSX.Element;
432
+ declare function DropdownMenuShortcut({ className, ...props }: React$1.ComponentProps<"span">): react_jsx_runtime.JSX.Element;
433
+ declare function DropdownMenuSub({ ...props }: React$1.ComponentProps<typeof DropdownMenu$1.Sub>): react_jsx_runtime.JSX.Element;
434
+ declare function DropdownMenuSubTrigger({ className, inset, children, ...props }: React$1.ComponentProps<typeof DropdownMenu$1.SubTrigger> & {
435
+ inset?: boolean;
436
+ }): react_jsx_runtime.JSX.Element;
437
+ declare function DropdownMenuSubContent({ className, ...props }: React$1.ComponentProps<typeof DropdownMenu$1.SubContent>): react_jsx_runtime.JSX.Element;
438
+
439
+ declare function Empty({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
440
+ declare function EmptyHeader({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
441
+ declare const emptyMediaVariants: (props?: ({
442
+ variant?: "default" | "icon" | null | undefined;
443
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
444
+ declare function EmptyMedia({ className, variant, ...props }: React.ComponentProps<"div"> & VariantProps<typeof emptyMediaVariants>): react_jsx_runtime.JSX.Element;
445
+ declare function EmptyTitle({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
446
+ declare function EmptyDescription({ className, ...props }: React.ComponentProps<"p">): react_jsx_runtime.JSX.Element;
447
+ declare function EmptyContent({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
448
+
449
+ declare function Label({ className, ...props }: React$1.ComponentProps<typeof Label$1.Root>): react_jsx_runtime.JSX.Element;
450
+
451
+ declare function FieldSet({ className, ...props }: React.ComponentProps<"fieldset">): react_jsx_runtime.JSX.Element;
452
+ declare function FieldLegend({ className, variant, ...props }: React.ComponentProps<"legend"> & {
453
+ variant?: "legend" | "label";
454
+ }): react_jsx_runtime.JSX.Element;
455
+ declare function FieldGroup({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
456
+ declare const fieldVariants: (props?: ({
457
+ orientation?: "horizontal" | "vertical" | "responsive" | null | undefined;
458
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
459
+ declare function Field({ className, orientation, ...props }: React.ComponentProps<"div"> & VariantProps<typeof fieldVariants>): react_jsx_runtime.JSX.Element;
460
+ declare function FieldContent({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
461
+ declare function FieldLabel({ className, ...props }: React.ComponentProps<typeof Label>): react_jsx_runtime.JSX.Element;
462
+ declare function FieldTitle({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
463
+ declare function FieldDescription({ className, ...props }: React.ComponentProps<"p">): react_jsx_runtime.JSX.Element;
464
+ declare function FieldSeparator({ children, className, ...props }: React.ComponentProps<"div"> & {
465
+ children?: React.ReactNode;
466
+ }): react_jsx_runtime.JSX.Element;
467
+ declare function FieldError({ className, children, errors, ...props }: React.ComponentProps<"div"> & {
468
+ errors?: Array<{
469
+ message?: string;
470
+ } | undefined>;
471
+ }): react_jsx_runtime.JSX.Element | null;
472
+
473
+ declare const Form: <TFieldValues extends FieldValues, TContext = any, TTransformedValues = TFieldValues>(props: react_hook_form.FormProviderProps<TFieldValues, TContext, TTransformedValues>) => React$1.JSX.Element;
474
+ declare const FormField: <TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>>({ ...props }: ControllerProps<TFieldValues, TName>) => react_jsx_runtime.JSX.Element;
475
+ declare const useFormField: () => {
476
+ invalid: boolean;
477
+ isDirty: boolean;
478
+ isTouched: boolean;
479
+ isValidating: boolean;
480
+ error?: react_hook_form.FieldError;
481
+ id: string;
482
+ name: string;
483
+ formItemId: string;
484
+ formDescriptionId: string;
485
+ formMessageId: string;
486
+ };
487
+ declare function FormItem({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
488
+ declare function FormLabel({ className, ...props }: React$1.ComponentProps<typeof Label$1.Root>): react_jsx_runtime.JSX.Element;
489
+ declare function FormControl({ ...props }: React$1.ComponentProps<typeof Slot.Root>): react_jsx_runtime.JSX.Element;
490
+ declare function FormDescription({ className, ...props }: React$1.ComponentProps<"p">): react_jsx_runtime.JSX.Element;
491
+ declare function FormMessage({ className, ...props }: React$1.ComponentProps<"p">): react_jsx_runtime.JSX.Element | null;
492
+
493
+ declare function HoverCard({ ...props }: React$1.ComponentProps<typeof HoverCard$1.Root>): react_jsx_runtime.JSX.Element;
494
+ declare function HoverCardTrigger({ ...props }: React$1.ComponentProps<typeof HoverCard$1.Trigger>): react_jsx_runtime.JSX.Element;
495
+ declare function HoverCardContent({ className, align, sideOffset, ...props }: React$1.ComponentProps<typeof HoverCard$1.Content>): react_jsx_runtime.JSX.Element;
496
+
497
+ declare function InputGroup({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
498
+ declare const inputGroupAddonVariants: (props?: ({
499
+ align?: "inline-start" | "inline-end" | "block-start" | "block-end" | null | undefined;
500
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
501
+ declare function InputGroupAddon({ className, align, ...props }: React$1.ComponentProps<"div"> & VariantProps<typeof inputGroupAddonVariants>): react_jsx_runtime.JSX.Element;
502
+ declare const inputGroupButtonVariants: (props?: ({
503
+ size?: "xs" | "sm" | "icon-xs" | "icon-sm" | null | undefined;
504
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
505
+ declare function InputGroupButton({ className, type, variant, size, ...props }: Omit<React$1.ComponentProps<typeof Button>, "size"> & VariantProps<typeof inputGroupButtonVariants>): react_jsx_runtime.JSX.Element;
506
+ declare function InputGroupText({ className, ...props }: React$1.ComponentProps<"span">): react_jsx_runtime.JSX.Element;
507
+ declare function InputGroupInput({ className, ...props }: React$1.ComponentProps<"input">): react_jsx_runtime.JSX.Element;
508
+ declare function InputGroupTextarea({ className, ...props }: React$1.ComponentProps<"textarea">): react_jsx_runtime.JSX.Element;
509
+
510
+ declare function InputOTP({ className, containerClassName, ...props }: React$1.ComponentProps<typeof OTPInput> & {
511
+ containerClassName?: string;
512
+ }): react_jsx_runtime.JSX.Element;
513
+ declare function InputOTPGroup({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
514
+ declare function InputOTPSlot({ index, className, ...props }: React$1.ComponentProps<"div"> & {
515
+ index: number;
516
+ }): react_jsx_runtime.JSX.Element;
517
+ declare function InputOTPSeparator({ ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
518
+
519
+ declare function Input({ className, type, placeholder, "aria-label": ariaLabel, ...props }: React$1.ComponentProps<"input">): react_jsx_runtime.JSX.Element;
520
+
521
+ declare function ItemGroup({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
522
+ declare function ItemSeparator({ className, ...props }: React$1.ComponentProps<typeof Separator>): react_jsx_runtime.JSX.Element;
523
+ declare const itemVariants: (props?: ({
524
+ variant?: "default" | "outline" | "muted" | null | undefined;
525
+ size?: "default" | "sm" | null | undefined;
526
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
527
+ declare function Item({ className, variant, size, asChild, ...props }: React$1.ComponentProps<"div"> & VariantProps<typeof itemVariants> & {
528
+ asChild?: boolean;
529
+ }): react_jsx_runtime.JSX.Element;
530
+ declare const itemMediaVariants: (props?: ({
531
+ variant?: "default" | "image" | "icon" | null | undefined;
532
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
533
+ declare function ItemMedia({ className, variant, ...props }: React$1.ComponentProps<"div"> & VariantProps<typeof itemMediaVariants>): react_jsx_runtime.JSX.Element;
534
+ declare function ItemContent({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
535
+ declare function ItemTitle({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
536
+ declare function ItemDescription({ className, ...props }: React$1.ComponentProps<"p">): react_jsx_runtime.JSX.Element;
537
+ declare function ItemActions({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
538
+ declare function ItemHeader({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
539
+ declare function ItemFooter({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
540
+
541
+ declare function Kbd({ className, ...props }: React.ComponentProps<"kbd">): react_jsx_runtime.JSX.Element;
542
+ declare function KbdGroup({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
543
+
544
+ declare function Menubar({ className, ...props }: React$1.ComponentProps<typeof Menubar$1.Root>): react_jsx_runtime.JSX.Element;
545
+ declare function MenubarMenu({ ...props }: React$1.ComponentProps<typeof Menubar$1.Menu>): react_jsx_runtime.JSX.Element;
546
+ declare function MenubarGroup({ ...props }: React$1.ComponentProps<typeof Menubar$1.Group>): react_jsx_runtime.JSX.Element;
547
+ declare function MenubarPortal({ ...props }: React$1.ComponentProps<typeof Menubar$1.Portal>): react_jsx_runtime.JSX.Element;
548
+ declare function MenubarRadioGroup({ ...props }: React$1.ComponentProps<typeof Menubar$1.RadioGroup>): react_jsx_runtime.JSX.Element;
549
+ declare function MenubarTrigger({ className, ...props }: React$1.ComponentProps<typeof Menubar$1.Trigger>): react_jsx_runtime.JSX.Element;
550
+ declare function MenubarContent({ className, align, alignOffset, sideOffset, ...props }: React$1.ComponentProps<typeof Menubar$1.Content>): react_jsx_runtime.JSX.Element;
551
+ declare function MenubarItem({ className, inset, variant, ...props }: React$1.ComponentProps<typeof Menubar$1.Item> & {
552
+ inset?: boolean;
553
+ variant?: "default" | "destructive";
554
+ }): react_jsx_runtime.JSX.Element;
555
+ declare function MenubarCheckboxItem({ className, children, checked, ...props }: React$1.ComponentProps<typeof Menubar$1.CheckboxItem>): react_jsx_runtime.JSX.Element;
556
+ declare function MenubarRadioItem({ className, children, ...props }: React$1.ComponentProps<typeof Menubar$1.RadioItem>): react_jsx_runtime.JSX.Element;
557
+ declare function MenubarLabel({ className, inset, ...props }: React$1.ComponentProps<typeof Menubar$1.Label> & {
558
+ inset?: boolean;
559
+ }): react_jsx_runtime.JSX.Element;
560
+ declare function MenubarSeparator({ className, ...props }: React$1.ComponentProps<typeof Menubar$1.Separator>): react_jsx_runtime.JSX.Element;
561
+ declare function MenubarShortcut({ className, ...props }: React$1.ComponentProps<"span">): react_jsx_runtime.JSX.Element;
562
+ declare function MenubarSub({ ...props }: React$1.ComponentProps<typeof Menubar$1.Sub>): react_jsx_runtime.JSX.Element;
563
+ declare function MenubarSubTrigger({ className, inset, children, ...props }: React$1.ComponentProps<typeof Menubar$1.SubTrigger> & {
564
+ inset?: boolean;
565
+ }): react_jsx_runtime.JSX.Element;
566
+ declare function MenubarSubContent({ className, ...props }: React$1.ComponentProps<typeof Menubar$1.SubContent>): react_jsx_runtime.JSX.Element;
567
+
568
+ declare function NativeSelect({ className, size, "aria-label": ariaLabel, ...props }: Omit<React$1.ComponentProps<"select">, "size"> & {
569
+ size?: "sm" | "default";
570
+ }): react_jsx_runtime.JSX.Element;
571
+ declare function NativeSelectOption({ ...props }: React$1.ComponentProps<"option">): react_jsx_runtime.JSX.Element;
572
+ declare function NativeSelectOptGroup({ className, ...props }: React$1.ComponentProps<"optgroup">): react_jsx_runtime.JSX.Element;
573
+
574
+ declare function NavigationMenu({ className, children, viewport, ...props }: React$1.ComponentProps<typeof NavigationMenu$1.Root> & {
575
+ viewport?: boolean;
576
+ }): react_jsx_runtime.JSX.Element;
577
+ declare function NavigationMenuList({ className, ...props }: React$1.ComponentProps<typeof NavigationMenu$1.List>): react_jsx_runtime.JSX.Element;
578
+ declare function NavigationMenuItem({ className, ...props }: React$1.ComponentProps<typeof NavigationMenu$1.Item>): react_jsx_runtime.JSX.Element;
579
+ declare const navigationMenuTriggerStyle: (props?: class_variance_authority_types.ClassProp | undefined) => string;
580
+ declare function NavigationMenuTrigger({ className, children, ...props }: React$1.ComponentProps<typeof NavigationMenu$1.Trigger>): react_jsx_runtime.JSX.Element;
581
+ declare function NavigationMenuContent({ className, ...props }: React$1.ComponentProps<typeof NavigationMenu$1.Content>): react_jsx_runtime.JSX.Element;
582
+ declare function NavigationMenuViewport({ className, ...props }: React$1.ComponentProps<typeof NavigationMenu$1.Viewport>): react_jsx_runtime.JSX.Element;
583
+ declare function NavigationMenuLink({ className, ...props }: React$1.ComponentProps<typeof NavigationMenu$1.Link>): react_jsx_runtime.JSX.Element;
584
+ declare function NavigationMenuIndicator({ className, ...props }: React$1.ComponentProps<typeof NavigationMenu$1.Indicator>): react_jsx_runtime.JSX.Element;
585
+
586
+ declare function Pagination({ className, ...props }: React$1.ComponentProps<"nav">): react_jsx_runtime.JSX.Element;
587
+ declare function PaginationContent({ className, ...props }: React$1.ComponentProps<"ul">): react_jsx_runtime.JSX.Element;
588
+ declare function PaginationItem({ ...props }: React$1.ComponentProps<"li">): react_jsx_runtime.JSX.Element;
589
+ type PaginationLinkProps = {
590
+ isActive?: boolean;
591
+ } & Pick<React$1.ComponentProps<typeof Button>, "size"> & React$1.ComponentProps<"a">;
592
+ declare function PaginationLink({ className, isActive, size, ...props }: PaginationLinkProps): react_jsx_runtime.JSX.Element;
593
+ declare function PaginationPrevious({ className, ...props }: React$1.ComponentProps<typeof PaginationLink>): react_jsx_runtime.JSX.Element;
594
+ declare function PaginationNext({ className, ...props }: React$1.ComponentProps<typeof PaginationLink>): react_jsx_runtime.JSX.Element;
595
+ declare function PaginationEllipsis({ className, ...props }: React$1.ComponentProps<"span">): react_jsx_runtime.JSX.Element;
596
+
597
+ interface PluginSafetyDisclaimerProps {
598
+ className?: string;
599
+ }
600
+ declare function PluginSafetyDisclaimer({ className }: PluginSafetyDisclaimerProps): react_jsx_runtime.JSX.Element;
601
+
602
+ declare function Popover({ ...props }: React$1.ComponentProps<typeof Popover$1.Root>): react_jsx_runtime.JSX.Element;
603
+ declare function PopoverTrigger({ ...props }: React$1.ComponentProps<typeof Popover$1.Trigger>): react_jsx_runtime.JSX.Element;
604
+ declare function PopoverContent({ className, align, sideOffset, ...props }: React$1.ComponentProps<typeof Popover$1.Content>): react_jsx_runtime.JSX.Element;
605
+ declare function PopoverAnchor({ ...props }: React$1.ComponentProps<typeof Popover$1.Anchor>): react_jsx_runtime.JSX.Element;
606
+ declare function PopoverHeader({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
607
+ declare function PopoverTitle({ className, ...props }: React$1.ComponentProps<"h2">): react_jsx_runtime.JSX.Element;
608
+ declare function PopoverDescription({ className, ...props }: React$1.ComponentProps<"p">): react_jsx_runtime.JSX.Element;
609
+
610
+ declare function Progress({ className, value, ...props }: React$1.ComponentProps<typeof Progress$1.Root>): react_jsx_runtime.JSX.Element;
611
+
612
+ declare function RadioGroup({ className, ...props }: React$1.ComponentProps<typeof RadioGroup$1.Root>): react_jsx_runtime.JSX.Element;
613
+ declare function RadioGroupItem({ className, ...props }: React$1.ComponentProps<typeof RadioGroup$1.Item>): react_jsx_runtime.JSX.Element;
614
+
615
+ declare function ResizablePanelGroup({ className, ...props }: ResizablePrimitive.GroupProps): react_jsx_runtime.JSX.Element;
616
+ declare function ResizablePanel({ ...props }: ResizablePrimitive.PanelProps): react_jsx_runtime.JSX.Element;
617
+ declare function ResizableHandle({ withHandle, className, ...props }: ResizablePrimitive.SeparatorProps & {
618
+ withHandle?: boolean;
619
+ }): react_jsx_runtime.JSX.Element;
620
+
621
+ declare function ScrollArea({ className, children, ...props }: React$1.ComponentProps<typeof ScrollArea$1.Root>): react_jsx_runtime.JSX.Element;
622
+ declare function ScrollBar({ className, orientation, ...props }: React$1.ComponentProps<typeof ScrollArea$1.ScrollAreaScrollbar>): react_jsx_runtime.JSX.Element;
623
+
624
+ interface SearchInputProps extends React$1.ComponentProps<"input"> {
625
+ containerClassName?: string;
626
+ endAdornment?: React$1.ReactNode;
627
+ iconClassName?: string;
628
+ ref?: React$1.Ref<HTMLInputElement>;
629
+ }
630
+ declare function SearchInput({ containerClassName, className, endAdornment, iconClassName, placeholder, "aria-label": ariaLabel, ref, ...props }: SearchInputProps): react_jsx_runtime.JSX.Element;
631
+
632
+ declare function Select({ ...props }: React$1.ComponentProps<typeof Select$1.Root>): react_jsx_runtime.JSX.Element;
633
+ declare function SelectGroup({ ...props }: React$1.ComponentProps<typeof Select$1.Group>): react_jsx_runtime.JSX.Element;
634
+ declare function SelectValue({ ...props }: React$1.ComponentProps<typeof Select$1.Value>): react_jsx_runtime.JSX.Element;
635
+ declare function SelectTrigger({ className, size, children, ...props }: React$1.ComponentProps<typeof Select$1.Trigger> & {
636
+ size?: "sm" | "default";
637
+ }): react_jsx_runtime.JSX.Element;
638
+ declare function SelectContent({ className, children, position, align, ...props }: React$1.ComponentProps<typeof Select$1.Content>): react_jsx_runtime.JSX.Element;
639
+ declare function SelectLabel({ className, ...props }: React$1.ComponentProps<typeof Select$1.Label>): react_jsx_runtime.JSX.Element;
640
+ declare function SelectItem({ className, children, ...props }: React$1.ComponentProps<typeof Select$1.Item>): react_jsx_runtime.JSX.Element;
641
+ declare function SelectSeparator({ className, ...props }: React$1.ComponentProps<typeof Select$1.Separator>): react_jsx_runtime.JSX.Element;
642
+ declare function SelectScrollUpButton({ className, ...props }: React$1.ComponentProps<typeof Select$1.ScrollUpButton>): react_jsx_runtime.JSX.Element;
643
+ declare function SelectScrollDownButton({ className, ...props }: React$1.ComponentProps<typeof Select$1.ScrollDownButton>): react_jsx_runtime.JSX.Element;
644
+
645
+ declare function Sheet({ ...props }: React$1.ComponentProps<typeof Dialog$1.Root>): react_jsx_runtime.JSX.Element;
646
+ declare function SheetTrigger({ ...props }: React$1.ComponentProps<typeof Dialog$1.Trigger>): react_jsx_runtime.JSX.Element;
647
+ declare function SheetClose({ ...props }: React$1.ComponentProps<typeof Dialog$1.Close>): react_jsx_runtime.JSX.Element;
648
+ declare function SheetContent({ className, children, side, showCloseButton, overlay, ...props }: React$1.ComponentProps<typeof Dialog$1.Content> & {
649
+ side?: "top" | "right" | "bottom" | "left";
650
+ showCloseButton?: boolean;
651
+ overlay?: boolean;
652
+ }): react_jsx_runtime.JSX.Element;
653
+ declare function SheetHeader({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
654
+ declare function SheetFooter({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
655
+ declare function SheetTitle({ className, ...props }: React$1.ComponentProps<typeof Dialog$1.Title>): react_jsx_runtime.JSX.Element;
656
+ declare function SheetDescription({ className, ...props }: React$1.ComponentProps<typeof Dialog$1.Description>): react_jsx_runtime.JSX.Element;
657
+
658
+ declare function TooltipProvider({ delayDuration, ...props }: React$1.ComponentProps<typeof Tooltip$1.Provider>): react_jsx_runtime.JSX.Element;
659
+ declare function Tooltip({ ...props }: React$1.ComponentProps<typeof Tooltip$1.Root>): react_jsx_runtime.JSX.Element;
660
+ declare function TooltipTrigger({ ...props }: React$1.ComponentProps<typeof Tooltip$1.Trigger>): react_jsx_runtime.JSX.Element;
661
+ declare function TooltipContent({ className, sideOffset, children, ...props }: React$1.ComponentProps<typeof Tooltip$1.Content>): react_jsx_runtime.JSX.Element;
662
+
663
+ type SidebarContextProps = {
664
+ state: "expanded" | "collapsed";
665
+ open: boolean;
666
+ setOpen: (open: boolean) => void;
667
+ openMobile: boolean;
668
+ setOpenMobile: (open: boolean) => void;
669
+ isMobile: boolean;
670
+ toggleSidebar: () => void;
671
+ };
672
+ declare function useSidebar(): SidebarContextProps;
673
+ declare function SidebarProvider({ defaultOpen, open: openProp, onOpenChange: setOpenProp, className, style, children, ...props }: React$1.ComponentProps<"div"> & {
674
+ defaultOpen?: boolean;
675
+ open?: boolean;
676
+ onOpenChange?: (open: boolean) => void;
677
+ }): react_jsx_runtime.JSX.Element;
678
+ declare function Sidebar({ side, variant, collapsible, className, children, ...props }: React$1.ComponentProps<"div"> & {
679
+ side?: "left" | "right";
680
+ variant?: "sidebar" | "floating" | "inset";
681
+ collapsible?: "offcanvas" | "icon" | "none";
682
+ }): react_jsx_runtime.JSX.Element;
683
+ declare function SidebarTrigger({ className, onClick, ...props }: React$1.ComponentProps<typeof Button>): react_jsx_runtime.JSX.Element;
684
+ declare function SidebarRail({ className, ...props }: React$1.ComponentProps<"button">): react_jsx_runtime.JSX.Element;
685
+ declare function SidebarInset({ className, ...props }: React$1.ComponentProps<"main">): react_jsx_runtime.JSX.Element;
686
+ declare function SidebarInput({ className, ...props }: React$1.ComponentProps<typeof Input>): react_jsx_runtime.JSX.Element;
687
+ declare function SidebarHeader({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
688
+ declare function SidebarFooter({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
689
+ declare function SidebarSeparator({ className, ...props }: React$1.ComponentProps<typeof Separator>): react_jsx_runtime.JSX.Element;
690
+ declare function SidebarContent({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
691
+ declare function SidebarGroup({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
692
+ declare function SidebarGroupLabel({ className, asChild, ...props }: React$1.ComponentProps<"div"> & {
693
+ asChild?: boolean;
694
+ }): react_jsx_runtime.JSX.Element;
695
+ declare function SidebarGroupAction({ className, asChild, ...props }: React$1.ComponentProps<"button"> & {
696
+ asChild?: boolean;
697
+ }): react_jsx_runtime.JSX.Element;
698
+ declare function SidebarGroupContent({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
699
+ declare function SidebarMenu({ className, ...props }: React$1.ComponentProps<"ul">): react_jsx_runtime.JSX.Element;
700
+ declare function SidebarMenuItem({ className, ...props }: React$1.ComponentProps<"li">): react_jsx_runtime.JSX.Element;
701
+ declare const sidebarMenuButtonVariants: (props?: ({
702
+ variant?: "default" | "outline" | null | undefined;
703
+ size?: "default" | "sm" | "lg" | null | undefined;
704
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
705
+ declare function SidebarMenuButton({ asChild, isActive, variant, size, tooltip, className, ...props }: React$1.ComponentProps<"button"> & {
706
+ asChild?: boolean;
707
+ isActive?: boolean;
708
+ tooltip?: string | React$1.ComponentProps<typeof TooltipContent>;
709
+ } & VariantProps<typeof sidebarMenuButtonVariants>): react_jsx_runtime.JSX.Element;
710
+ declare function SidebarMenuAction({ className, asChild, showOnHover, ...props }: React$1.ComponentProps<"button"> & {
711
+ asChild?: boolean;
712
+ showOnHover?: boolean;
713
+ }): react_jsx_runtime.JSX.Element;
714
+ declare function SidebarMenuBadge({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
715
+ declare function SidebarMenuSkeleton({ className, showIcon, ...props }: React$1.ComponentProps<"div"> & {
716
+ showIcon?: boolean;
717
+ }): react_jsx_runtime.JSX.Element;
718
+ declare function SidebarMenuSub({ className, ...props }: React$1.ComponentProps<"ul">): react_jsx_runtime.JSX.Element;
719
+ declare function SidebarMenuSubItem({ className, ...props }: React$1.ComponentProps<"li">): react_jsx_runtime.JSX.Element;
720
+ declare function SidebarMenuSubButton({ asChild, size, isActive, className, ...props }: React$1.ComponentProps<"a"> & {
721
+ asChild?: boolean;
722
+ size?: "sm" | "md";
723
+ isActive?: boolean;
724
+ }): react_jsx_runtime.JSX.Element;
725
+
726
+ declare function Skeleton({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
727
+
728
+ declare function Slider({ className, defaultValue, value, min, max, ...props }: React$1.ComponentProps<typeof Slider$1.Root>): react_jsx_runtime.JSX.Element;
729
+
730
+ declare const Toaster: ({ ...props }: ToasterProps) => react_jsx_runtime.JSX.Element;
731
+
732
+ declare function Spinner({ className, ...props }: React.ComponentProps<"svg">): react_jsx_runtime.JSX.Element;
733
+
734
+ declare function Switch({ className, size, ...props }: React$1.ComponentProps<typeof Switch$1.Root> & {
735
+ size?: "sm" | "default";
736
+ }): react_jsx_runtime.JSX.Element;
737
+
738
+ declare function Table({ className, ...props }: React$1.ComponentProps<"table">): react_jsx_runtime.JSX.Element;
739
+ declare function TableHeader({ className, ...props }: React$1.ComponentProps<"thead">): react_jsx_runtime.JSX.Element;
740
+ declare function TableBody({ className, ...props }: React$1.ComponentProps<"tbody">): react_jsx_runtime.JSX.Element;
741
+ declare function TableFooter({ className, ...props }: React$1.ComponentProps<"tfoot">): react_jsx_runtime.JSX.Element;
742
+ declare function TableRow({ className, ...props }: React$1.ComponentProps<"tr">): react_jsx_runtime.JSX.Element;
743
+ declare function TableHead({ className, ...props }: React$1.ComponentProps<"th">): react_jsx_runtime.JSX.Element;
744
+ declare function TableCell({ className, ...props }: React$1.ComponentProps<"td">): react_jsx_runtime.JSX.Element;
745
+ declare function TableCaption({ className, ...props }: React$1.ComponentProps<"caption">): react_jsx_runtime.JSX.Element;
746
+
747
+ declare function Tabs({ className, orientation, ...props }: React$1.ComponentProps<typeof Tabs$1.Root>): react_jsx_runtime.JSX.Element;
748
+ declare const tabsListVariants: (props?: ({
749
+ variant?: "default" | "line" | null | undefined;
750
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
751
+ declare function TabsList({ className, variant, ...props }: React$1.ComponentProps<typeof Tabs$1.List> & VariantProps<typeof tabsListVariants>): react_jsx_runtime.JSX.Element;
752
+ declare function TabsTrigger({ className, ...props }: React$1.ComponentProps<typeof Tabs$1.Trigger>): react_jsx_runtime.JSX.Element;
753
+ declare function TabsContent({ className, ...props }: React$1.ComponentProps<typeof Tabs$1.Content>): react_jsx_runtime.JSX.Element;
754
+
755
+ declare function Textarea({ className, placeholder, "aria-label": ariaLabel, ...props }: React$1.ComponentProps<"textarea">): react_jsx_runtime.JSX.Element;
756
+
757
+ declare const toggleVariants: (props?: ({
758
+ variant?: "default" | "outline" | null | undefined;
759
+ size?: "default" | "sm" | "lg" | null | undefined;
760
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
761
+ declare function Toggle({ className, variant, size, ...props }: React$1.ComponentProps<typeof Toggle$1.Root> & VariantProps<typeof toggleVariants>): react_jsx_runtime.JSX.Element;
762
+
763
+ declare function ToggleGroup({ className, variant, size, spacing, children, ...props }: React$1.ComponentProps<typeof ToggleGroup$1.Root> & VariantProps<typeof toggleVariants> & {
764
+ spacing?: number;
765
+ }): react_jsx_runtime.JSX.Element;
766
+ declare function ToggleGroupItem({ className, children, variant, size, ...props }: React$1.ComponentProps<typeof ToggleGroup$1.Item> & VariantProps<typeof toggleVariants>): react_jsx_runtime.JSX.Element;
767
+
768
+ interface TreeProps extends React$1.HTMLAttributes<HTMLDivElement> {
769
+ indent?: number;
770
+ tree?: any;
771
+ }
772
+ declare function Tree({ indent, tree, className, ...props }: TreeProps): react_jsx_runtime.JSX.Element;
773
+ interface TreeItemProps<T = any> extends React$1.HTMLAttributes<HTMLButtonElement> {
774
+ item: ItemInstance<T>;
775
+ indent?: number;
776
+ asChild?: boolean;
777
+ }
778
+ /**
779
+ * TreeItem, full-width row button.
780
+ *
781
+ * The row carries hover / selected / drag-target backgrounds so the
782
+ * highlight spans edge-to-edge (VSCode-style). Indentation is applied
783
+ * via `paddingInlineStart` so the background is unaffected.
784
+ */
785
+ declare function TreeItem<T = any>({ item, className, asChild, children, ...props }: Omit<TreeItemProps<T>, "indent">): react_jsx_runtime.JSX.Element;
786
+ interface TreeItemLabelProps<T = any> extends React$1.HTMLAttributes<HTMLSpanElement> {
787
+ item?: ItemInstance<T>;
788
+ }
789
+ /**
790
+ * TreeItemLabel, content wrapper inside a TreeItem.
791
+ *
792
+ * Layout-only (chevron + children). Background lives on the parent
793
+ * TreeItem so it spans the full row width.
794
+ */
795
+ declare function TreeItemLabel<T = any>({ item: propItem, children, className, ...props }: TreeItemLabelProps<T>): react_jsx_runtime.JSX.Element | null;
796
+ declare function TreeDragLine({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element | null;
797
+
798
+ type AgentProps = ComponentProps<"div">;
799
+ declare const Agent: React$1.MemoExoticComponent<({ className, ...props }: AgentProps) => react_jsx_runtime.JSX.Element>;
800
+ type AgentHeaderProps = ComponentProps<"div"> & {
801
+ name: string;
802
+ model?: string;
803
+ };
804
+ declare const AgentHeader: React$1.MemoExoticComponent<({ className, name, model, ...props }: AgentHeaderProps) => react_jsx_runtime.JSX.Element>;
805
+ type AgentContentProps = ComponentProps<"div">;
806
+ declare const AgentContent: React$1.MemoExoticComponent<({ className, ...props }: AgentContentProps) => react_jsx_runtime.JSX.Element>;
807
+ type AgentInstructionsProps = ComponentProps<"div"> & {
808
+ children: string;
809
+ };
810
+ declare const AgentInstructions: React$1.MemoExoticComponent<({ className, children, ...props }: AgentInstructionsProps) => react_jsx_runtime.JSX.Element>;
811
+ type AgentToolsProps = ComponentProps<typeof Accordion>;
812
+ declare const AgentTools: React$1.MemoExoticComponent<({ className, ...props }: AgentToolsProps) => react_jsx_runtime.JSX.Element>;
813
+ type AgentToolProps = ComponentProps<typeof AccordionItem> & {
814
+ tool: Tool$1;
815
+ };
816
+ declare const AgentTool: React$1.MemoExoticComponent<({ className, tool, value, ...props }: AgentToolProps) => react_jsx_runtime.JSX.Element>;
817
+ type AgentOutputProps = ComponentProps<"div"> & {
818
+ schema: string;
819
+ };
820
+ declare const AgentOutput: React$1.MemoExoticComponent<({ className, schema, ...props }: AgentOutputProps) => react_jsx_runtime.JSX.Element>;
821
+
822
+ type ArtifactProps = HTMLAttributes<HTMLDivElement>;
823
+ declare const Artifact: ({ className, ...props }: ArtifactProps) => react_jsx_runtime.JSX.Element;
824
+ type ArtifactHeaderProps = HTMLAttributes<HTMLDivElement>;
825
+ declare const ArtifactHeader: ({ className, ...props }: ArtifactHeaderProps) => react_jsx_runtime.JSX.Element;
826
+ type ArtifactCloseProps = ComponentProps<typeof Button>;
827
+ declare const ArtifactClose: ({ className, children, size, variant, ...props }: ArtifactCloseProps) => react_jsx_runtime.JSX.Element;
828
+ type ArtifactTitleProps = HTMLAttributes<HTMLParagraphElement>;
829
+ declare const ArtifactTitle: ({ className, ...props }: ArtifactTitleProps) => react_jsx_runtime.JSX.Element;
830
+ type ArtifactDescriptionProps = HTMLAttributes<HTMLParagraphElement>;
831
+ declare const ArtifactDescription: ({ className, ...props }: ArtifactDescriptionProps) => react_jsx_runtime.JSX.Element;
832
+ type ArtifactActionsProps = HTMLAttributes<HTMLDivElement>;
833
+ declare const ArtifactActions: ({ className, ...props }: ArtifactActionsProps) => react_jsx_runtime.JSX.Element;
834
+ type ArtifactActionProps = ComponentProps<typeof Button> & {
835
+ tooltip?: string;
836
+ label?: string;
837
+ icon?: LucideIcon;
838
+ };
839
+ declare const ArtifactAction: ({ tooltip, label, icon: Icon, children, className, size, variant, ...props }: ArtifactActionProps) => react_jsx_runtime.JSX.Element;
840
+ type ArtifactContentProps = HTMLAttributes<HTMLDivElement>;
841
+ declare const ArtifactContent: ({ className, ...props }: ArtifactContentProps) => react_jsx_runtime.JSX.Element;
842
+
843
+ type AttachmentData = (FileUIPart & {
844
+ id: string;
845
+ }) | (SourceDocumentUIPart & {
846
+ id: string;
847
+ });
848
+ type AttachmentMediaCategory = "image" | "video" | "audio" | "document" | "source" | "unknown";
849
+ type AttachmentVariant = "grid" | "inline" | "list";
850
+ declare const getMediaCategory: (data: AttachmentData) => AttachmentMediaCategory;
851
+ declare const getAttachmentLabel: (data: AttachmentData) => string;
852
+ interface AttachmentsContextValue {
853
+ variant: AttachmentVariant;
854
+ }
855
+ interface AttachmentContextValue {
856
+ data: AttachmentData;
857
+ mediaCategory: AttachmentMediaCategory;
858
+ onRemove?: () => void;
859
+ variant: AttachmentVariant;
860
+ }
861
+ declare const useAttachmentsContext: () => AttachmentsContextValue;
862
+ declare const useAttachmentContext: () => AttachmentContextValue;
863
+ type AttachmentsProps = HTMLAttributes<HTMLDivElement> & {
864
+ variant?: AttachmentVariant;
865
+ };
866
+ declare const Attachments: ({ variant, className, children, ...props }: AttachmentsProps) => react_jsx_runtime.JSX.Element;
867
+ type AttachmentProps = HTMLAttributes<HTMLDivElement> & {
868
+ data: AttachmentData;
869
+ onRemove?: () => void;
870
+ };
871
+ declare const Attachment: ({ data, onRemove, className, children, ...props }: AttachmentProps) => react_jsx_runtime.JSX.Element;
872
+ type AttachmentPreviewProps = HTMLAttributes<HTMLDivElement> & {
873
+ fallbackIcon?: ReactNode;
874
+ };
875
+ declare const AttachmentPreview: ({ fallbackIcon, className, ...props }: AttachmentPreviewProps) => react_jsx_runtime.JSX.Element;
876
+ type AttachmentInfoProps = HTMLAttributes<HTMLDivElement> & {
877
+ showMediaType?: boolean;
878
+ };
879
+ declare const AttachmentInfo: ({ showMediaType, className, ...props }: AttachmentInfoProps) => react_jsx_runtime.JSX.Element | null;
880
+ type AttachmentRemoveProps = ComponentProps<typeof Button> & {
881
+ label?: string;
882
+ };
883
+ declare const AttachmentRemove: ({ label, className, children, ...props }: AttachmentRemoveProps) => react_jsx_runtime.JSX.Element | null;
884
+ type AttachmentHoverCardProps = ComponentProps<typeof HoverCard>;
885
+ declare const AttachmentHoverCard: ({ openDelay, closeDelay, ...props }: AttachmentHoverCardProps) => react_jsx_runtime.JSX.Element;
886
+ type AttachmentHoverCardTriggerProps = ComponentProps<typeof HoverCardTrigger>;
887
+ declare const AttachmentHoverCardTrigger: (props: AttachmentHoverCardTriggerProps) => react_jsx_runtime.JSX.Element;
888
+ type AttachmentHoverCardContentProps = ComponentProps<typeof HoverCardContent>;
889
+ declare const AttachmentHoverCardContent: ({ align, className, ...props }: AttachmentHoverCardContentProps) => react_jsx_runtime.JSX.Element;
890
+ type AttachmentEmptyProps = HTMLAttributes<HTMLDivElement>;
891
+ declare const AttachmentEmpty: ({ className, children, ...props }: AttachmentEmptyProps) => react_jsx_runtime.JSX.Element;
892
+
893
+ type AudioPlayerProps = Omit<ComponentProps<typeof MediaController>, "audio">;
894
+ declare const AudioPlayer: ({ children, style, ...props }: AudioPlayerProps) => react_jsx_runtime.JSX.Element;
895
+ type AudioPlayerElementProps = Omit<ComponentProps<"audio">, "src"> & ({
896
+ data: Experimental_SpeechResult["audio"];
897
+ } | {
898
+ src: string;
899
+ });
900
+ declare const AudioPlayerElement: ({ ...props }: AudioPlayerElementProps) => react_jsx_runtime.JSX.Element;
901
+ type AudioPlayerControlBarProps = ComponentProps<typeof MediaControlBar>;
902
+ declare const AudioPlayerControlBar: ({ children, ...props }: AudioPlayerControlBarProps) => react_jsx_runtime.JSX.Element;
903
+ type AudioPlayerPlayButtonProps = ComponentProps<typeof MediaPlayButton>;
904
+ declare const AudioPlayerPlayButton: ({ className, ...props }: AudioPlayerPlayButtonProps) => react_jsx_runtime.JSX.Element;
905
+ type AudioPlayerSeekBackwardButtonProps = ComponentProps<typeof MediaSeekBackwardButton>;
906
+ declare const AudioPlayerSeekBackwardButton: ({ seekOffset, ...props }: AudioPlayerSeekBackwardButtonProps) => react_jsx_runtime.JSX.Element;
907
+ type AudioPlayerSeekForwardButtonProps = ComponentProps<typeof MediaSeekForwardButton>;
908
+ declare const AudioPlayerSeekForwardButton: ({ seekOffset, ...props }: AudioPlayerSeekForwardButtonProps) => react_jsx_runtime.JSX.Element;
909
+ type AudioPlayerTimeDisplayProps = ComponentProps<typeof MediaTimeDisplay>;
910
+ declare const AudioPlayerTimeDisplay: ({ className, ...props }: AudioPlayerTimeDisplayProps) => react_jsx_runtime.JSX.Element;
911
+ type AudioPlayerTimeRangeProps = ComponentProps<typeof MediaTimeRange>;
912
+ declare const AudioPlayerTimeRange: ({ className, ...props }: AudioPlayerTimeRangeProps) => react_jsx_runtime.JSX.Element;
913
+ type AudioPlayerDurationDisplayProps = ComponentProps<typeof MediaDurationDisplay>;
914
+ declare const AudioPlayerDurationDisplay: ({ className, ...props }: AudioPlayerDurationDisplayProps) => react_jsx_runtime.JSX.Element;
915
+ type AudioPlayerMuteButtonProps = ComponentProps<typeof MediaMuteButton>;
916
+ declare const AudioPlayerMuteButton: ({ className, ...props }: AudioPlayerMuteButtonProps) => react_jsx_runtime.JSX.Element;
917
+ type AudioPlayerVolumeRangeProps = ComponentProps<typeof MediaVolumeRange>;
918
+ declare const AudioPlayerVolumeRange: ({ className, ...props }: AudioPlayerVolumeRangeProps) => react_jsx_runtime.JSX.Element;
919
+
920
+ type CanvasProps = ReactFlowProps & {
921
+ children?: ReactNode;
922
+ };
923
+ declare const Canvas: ({ children, ...props }: CanvasProps) => react_jsx_runtime.JSX.Element;
924
+
925
+ type ChainOfThoughtProps = ComponentProps<"div"> & {
926
+ open?: boolean;
927
+ defaultOpen?: boolean;
928
+ onOpenChange?: (open: boolean) => void;
929
+ };
930
+ declare const ChainOfThought: React$1.MemoExoticComponent<({ className, open, defaultOpen, onOpenChange, children, ...props }: ChainOfThoughtProps) => react_jsx_runtime.JSX.Element>;
931
+ type ChainOfThoughtHeaderProps = ComponentProps<typeof CollapsibleTrigger>;
932
+ declare const ChainOfThoughtHeader: React$1.MemoExoticComponent<({ className, children, ...props }: ChainOfThoughtHeaderProps) => react_jsx_runtime.JSX.Element>;
933
+ type ChainOfThoughtStepProps = ComponentProps<"div"> & {
934
+ icon?: LucideIcon;
935
+ label: ReactNode;
936
+ description?: ReactNode;
937
+ status?: "complete" | "active" | "pending";
938
+ };
939
+ declare const ChainOfThoughtStep: React$1.MemoExoticComponent<({ className, icon: Icon, label, description, status, children, ...props }: ChainOfThoughtStepProps) => react_jsx_runtime.JSX.Element>;
940
+ type ChainOfThoughtSearchResultsProps = ComponentProps<"div">;
941
+ declare const ChainOfThoughtSearchResults: React$1.MemoExoticComponent<({ className, ...props }: ChainOfThoughtSearchResultsProps) => react_jsx_runtime.JSX.Element>;
942
+ type ChainOfThoughtSearchResultProps = ComponentProps<typeof Badge>;
943
+ declare const ChainOfThoughtSearchResult: React$1.MemoExoticComponent<({ className, children, ...props }: ChainOfThoughtSearchResultProps) => react_jsx_runtime.JSX.Element>;
944
+ type ChainOfThoughtContentProps = ComponentProps<typeof CollapsibleContent>;
945
+ declare const ChainOfThoughtContent: React$1.MemoExoticComponent<({ className, children, ...props }: ChainOfThoughtContentProps) => react_jsx_runtime.JSX.Element>;
946
+ type ChainOfThoughtImageProps = ComponentProps<"div"> & {
947
+ caption?: string;
948
+ };
949
+ declare const ChainOfThoughtImage: React$1.MemoExoticComponent<({ className, children, caption, ...props }: ChainOfThoughtImageProps) => react_jsx_runtime.JSX.Element>;
950
+
951
+ type CheckpointProps = HTMLAttributes<HTMLDivElement>;
952
+ declare const Checkpoint: ({ className, children, ...props }: CheckpointProps) => react_jsx_runtime.JSX.Element;
953
+ type CheckpointIconProps = LucideProps;
954
+ 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;
955
+ type CheckpointTriggerProps = ComponentProps<typeof Button> & {
956
+ tooltip?: string;
957
+ };
958
+ declare const CheckpointTrigger: ({ children, variant, size, tooltip, ...props }: CheckpointTriggerProps) => react_jsx_runtime.JSX.Element;
959
+
960
+ type CodeBlockProps = HTMLAttributes<HTMLDivElement> & {
961
+ code: string;
962
+ language: BundledLanguage;
963
+ showLineNumbers?: boolean;
964
+ };
965
+ interface TokenizedCode {
966
+ tokens: ThemedToken[][];
967
+ fg: string;
968
+ bg: string;
969
+ }
970
+ declare const highlightCode: (code: string, language: BundledLanguage, callback?: (result: TokenizedCode) => void) => TokenizedCode | null;
971
+ declare const CodeBlockContainer: ({ className, language, style, ...props }: HTMLAttributes<HTMLDivElement> & {
972
+ language: string;
973
+ }) => react_jsx_runtime.JSX.Element;
974
+ declare const CodeBlockHeader: ({ children, className, ...props }: HTMLAttributes<HTMLDivElement>) => react_jsx_runtime.JSX.Element;
975
+ declare const CodeBlockTitle: ({ children, className, ...props }: HTMLAttributes<HTMLDivElement>) => react_jsx_runtime.JSX.Element;
976
+ declare const CodeBlockFilename: ({ children, className, ...props }: HTMLAttributes<HTMLSpanElement>) => react_jsx_runtime.JSX.Element;
977
+ declare const CodeBlockActions: ({ children, className, ...props }: HTMLAttributes<HTMLDivElement>) => react_jsx_runtime.JSX.Element;
978
+ declare const CodeBlockContent: ({ code, language, showLineNumbers, }: {
979
+ code: string;
980
+ language: BundledLanguage;
981
+ showLineNumbers?: boolean;
982
+ }) => react_jsx_runtime.JSX.Element;
983
+ declare const CodeBlock: ({ code, language, showLineNumbers, className, children, ...props }: CodeBlockProps) => react_jsx_runtime.JSX.Element;
984
+ type CodeBlockCopyButtonProps = ComponentProps<typeof Button> & {
985
+ onCopy?: () => void;
986
+ onError?: (error: Error) => void;
987
+ timeout?: number;
988
+ };
989
+ declare const CodeBlockCopyButton: ({ onCopy, onError, timeout, children, className, ...props }: CodeBlockCopyButtonProps) => react_jsx_runtime.JSX.Element;
990
+ type CodeBlockLanguageSelectorProps = ComponentProps<typeof Select>;
991
+ declare const CodeBlockLanguageSelector: (props: CodeBlockLanguageSelectorProps) => react_jsx_runtime.JSX.Element;
992
+ type CodeBlockLanguageSelectorTriggerProps = ComponentProps<typeof SelectTrigger>;
993
+ declare const CodeBlockLanguageSelectorTrigger: ({ className, ...props }: CodeBlockLanguageSelectorTriggerProps) => react_jsx_runtime.JSX.Element;
994
+ type CodeBlockLanguageSelectorValueProps = ComponentProps<typeof SelectValue>;
995
+ declare const CodeBlockLanguageSelectorValue: (props: CodeBlockLanguageSelectorValueProps) => react_jsx_runtime.JSX.Element;
996
+ type CodeBlockLanguageSelectorContentProps = ComponentProps<typeof SelectContent>;
997
+ declare const CodeBlockLanguageSelectorContent: ({ align, ...props }: CodeBlockLanguageSelectorContentProps) => react_jsx_runtime.JSX.Element;
998
+ type CodeBlockLanguageSelectorItemProps = ComponentProps<typeof SelectItem>;
999
+ declare const CodeBlockLanguageSelectorItem: (props: CodeBlockLanguageSelectorItemProps) => react_jsx_runtime.JSX.Element;
1000
+
1001
+ type CommitProps = ComponentProps<typeof Collapsible>;
1002
+ declare const Commit: ({ className, children, ...props }: CommitProps) => react_jsx_runtime.JSX.Element;
1003
+ type CommitHeaderProps = ComponentProps<typeof CollapsibleTrigger>;
1004
+ declare const CommitHeader: ({ className, children, ...props }: CommitHeaderProps) => react_jsx_runtime.JSX.Element;
1005
+ type CommitHashProps = HTMLAttributes<HTMLSpanElement>;
1006
+ declare const CommitHash: ({ className, children, ...props }: CommitHashProps) => react_jsx_runtime.JSX.Element;
1007
+ type CommitMessageProps = HTMLAttributes<HTMLSpanElement>;
1008
+ declare const CommitMessage: ({ className, children, ...props }: CommitMessageProps) => react_jsx_runtime.JSX.Element;
1009
+ type CommitMetadataProps = HTMLAttributes<HTMLDivElement>;
1010
+ declare const CommitMetadata: ({ className, children, ...props }: CommitMetadataProps) => react_jsx_runtime.JSX.Element;
1011
+ type CommitSeparatorProps = HTMLAttributes<HTMLSpanElement>;
1012
+ declare const CommitSeparator: ({ className, children, ...props }: CommitSeparatorProps) => react_jsx_runtime.JSX.Element;
1013
+ type CommitInfoProps = HTMLAttributes<HTMLDivElement>;
1014
+ declare const CommitInfo: ({ className, children, ...props }: CommitInfoProps) => react_jsx_runtime.JSX.Element;
1015
+ type CommitAuthorProps = HTMLAttributes<HTMLDivElement>;
1016
+ declare const CommitAuthor: ({ className, children, ...props }: CommitAuthorProps) => react_jsx_runtime.JSX.Element;
1017
+ type CommitAuthorAvatarProps = ComponentProps<typeof Avatar> & {
1018
+ initials: string;
1019
+ };
1020
+ declare const CommitAuthorAvatar: ({ initials, className, ...props }: CommitAuthorAvatarProps) => react_jsx_runtime.JSX.Element;
1021
+ type CommitTimestampProps = HTMLAttributes<HTMLTimeElement> & {
1022
+ date: Date;
1023
+ };
1024
+ declare const CommitTimestamp: ({ date, className, children, ...props }: CommitTimestampProps) => react_jsx_runtime.JSX.Element;
1025
+ type CommitActionsProps = HTMLAttributes<HTMLDivElement>;
1026
+ declare const CommitActions: ({ className, children, ...props }: CommitActionsProps) => react_jsx_runtime.JSX.Element;
1027
+ type CommitCopyButtonProps = ComponentProps<typeof Button> & {
1028
+ hash: string;
1029
+ onCopy?: () => void;
1030
+ onError?: (error: Error) => void;
1031
+ timeout?: number;
1032
+ };
1033
+ declare const CommitCopyButton: ({ hash, onCopy, onError, timeout, children, className, ...props }: CommitCopyButtonProps) => react_jsx_runtime.JSX.Element;
1034
+ type CommitContentProps = ComponentProps<typeof CollapsibleContent>;
1035
+ declare const CommitContent: ({ className, children, ...props }: CommitContentProps) => react_jsx_runtime.JSX.Element;
1036
+ type CommitFilesProps = HTMLAttributes<HTMLDivElement>;
1037
+ declare const CommitFiles: ({ className, children, ...props }: CommitFilesProps) => react_jsx_runtime.JSX.Element;
1038
+ type CommitFileProps = HTMLAttributes<HTMLDivElement>;
1039
+ declare const CommitFile: ({ className, children, ...props }: CommitFileProps) => react_jsx_runtime.JSX.Element;
1040
+ type CommitFileInfoProps = HTMLAttributes<HTMLDivElement>;
1041
+ declare const CommitFileInfo: ({ className, children, ...props }: CommitFileInfoProps) => react_jsx_runtime.JSX.Element;
1042
+ type CommitFileStatusProps = HTMLAttributes<HTMLSpanElement> & {
1043
+ status: "added" | "modified" | "deleted" | "renamed";
1044
+ };
1045
+ declare const CommitFileStatus: ({ status, className, children, ...props }: CommitFileStatusProps) => react_jsx_runtime.JSX.Element;
1046
+ type CommitFileIconProps = ComponentProps<typeof FileIcon>;
1047
+ declare const CommitFileIcon: ({ className, ...props }: CommitFileIconProps) => react_jsx_runtime.JSX.Element;
1048
+ type CommitFilePathProps = HTMLAttributes<HTMLSpanElement>;
1049
+ declare const CommitFilePath: ({ className, children, ...props }: CommitFilePathProps) => react_jsx_runtime.JSX.Element;
1050
+ type CommitFileChangesProps = HTMLAttributes<HTMLDivElement>;
1051
+ declare const CommitFileChanges: ({ className, children, ...props }: CommitFileChangesProps) => react_jsx_runtime.JSX.Element;
1052
+ type CommitFileAdditionsProps = HTMLAttributes<HTMLSpanElement> & {
1053
+ count: number;
1054
+ };
1055
+ declare const CommitFileAdditions: ({ count, className, children, ...props }: CommitFileAdditionsProps) => react_jsx_runtime.JSX.Element | null;
1056
+ type CommitFileDeletionsProps = HTMLAttributes<HTMLSpanElement> & {
1057
+ count: number;
1058
+ };
1059
+ declare const CommitFileDeletions: ({ count, className, children, ...props }: CommitFileDeletionsProps) => react_jsx_runtime.JSX.Element | null;
1060
+
1061
+ type ToolUIPartApproval = {
1062
+ id: string;
1063
+ approved?: never;
1064
+ reason?: never;
1065
+ } | {
1066
+ id: string;
1067
+ approved: boolean;
1068
+ reason?: string;
1069
+ } | {
1070
+ id: string;
1071
+ approved: true;
1072
+ reason?: string;
1073
+ } | {
1074
+ id: string;
1075
+ approved: true;
1076
+ reason?: string;
1077
+ } | {
1078
+ id: string;
1079
+ approved: false;
1080
+ reason?: string;
1081
+ } | undefined;
1082
+ type ConfirmationProps = ComponentProps<typeof Alert> & {
1083
+ approval?: ToolUIPartApproval;
1084
+ state: ToolUIPart["state"];
1085
+ };
1086
+ declare const Confirmation: ({ className, approval, state, ...props }: ConfirmationProps) => react_jsx_runtime.JSX.Element | null;
1087
+ type ConfirmationTitleProps = ComponentProps<typeof AlertDescription>;
1088
+ declare const ConfirmationTitle: ({ className, ...props }: ConfirmationTitleProps) => react_jsx_runtime.JSX.Element;
1089
+ interface ConfirmationRequestProps {
1090
+ children?: ReactNode;
1091
+ }
1092
+ declare const ConfirmationRequest: ({ children }: ConfirmationRequestProps) => ReactNode;
1093
+ interface ConfirmationAcceptedProps {
1094
+ children?: ReactNode;
1095
+ }
1096
+ declare const ConfirmationAccepted: ({ children, }: ConfirmationAcceptedProps) => ReactNode;
1097
+ interface ConfirmationRejectedProps {
1098
+ children?: ReactNode;
1099
+ }
1100
+ declare const ConfirmationRejected: ({ children, }: ConfirmationRejectedProps) => ReactNode;
1101
+ type ConfirmationActionsProps = ComponentProps<"div">;
1102
+ declare const ConfirmationActions: ({ className, ...props }: ConfirmationActionsProps) => react_jsx_runtime.JSX.Element | null;
1103
+ type ConfirmationActionProps = ComponentProps<typeof Button>;
1104
+ declare const ConfirmationAction: (props: ConfirmationActionProps) => react_jsx_runtime.JSX.Element;
1105
+
1106
+ declare const Connection: ConnectionLineComponent;
1107
+
1108
+ type ModelId = string;
1109
+ interface ContextSchema {
1110
+ usedTokens: number;
1111
+ maxTokens: number;
1112
+ usage?: LanguageModelUsage;
1113
+ modelId?: ModelId;
1114
+ }
1115
+ type ContextProps = ComponentProps<typeof HoverCard> & ContextSchema;
1116
+ declare const Context: ({ usedTokens, maxTokens, usage, modelId, ...props }: ContextProps) => react_jsx_runtime.JSX.Element;
1117
+ type ContextTriggerProps = ComponentProps<typeof Button>;
1118
+ declare const ContextTrigger: ({ children, ...props }: ContextTriggerProps) => react_jsx_runtime.JSX.Element;
1119
+ type ContextContentProps = ComponentProps<typeof HoverCardContent>;
1120
+ declare const ContextContent: ({ className, ...props }: ContextContentProps) => react_jsx_runtime.JSX.Element;
1121
+ type ContextContentHeaderProps = ComponentProps<"div">;
1122
+ declare const ContextContentHeader: ({ children, className, ...props }: ContextContentHeaderProps) => react_jsx_runtime.JSX.Element;
1123
+ type ContextContentBodyProps = ComponentProps<"div">;
1124
+ declare const ContextContentBody: ({ children, className, ...props }: ContextContentBodyProps) => react_jsx_runtime.JSX.Element;
1125
+ type ContextContentFooterProps = ComponentProps<"div">;
1126
+ declare const ContextContentFooter: ({ children, className, ...props }: ContextContentFooterProps) => react_jsx_runtime.JSX.Element;
1127
+ type ContextInputUsageProps = ComponentProps<"div">;
1128
+ 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;
1129
+ type ContextOutputUsageProps = ComponentProps<"div">;
1130
+ 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;
1131
+ type ContextReasoningUsageProps = ComponentProps<"div">;
1132
+ 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;
1133
+ type ContextCacheUsageProps = ComponentProps<"div">;
1134
+ 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;
1135
+
1136
+ type ControlsProps = ComponentProps<typeof Controls$1>;
1137
+ declare const Controls: ({ className, ...props }: ControlsProps) => react_jsx_runtime.JSX.Element;
1138
+
1139
+ type ConversationProps = ComponentProps<typeof StickToBottom>;
1140
+ declare const Conversation: ({ className, ...props }: ConversationProps) => react_jsx_runtime.JSX.Element;
1141
+ type ConversationContentProps = ComponentProps<typeof StickToBottom.Content>;
1142
+ declare const ConversationContent: ({ className, ...props }: ConversationContentProps) => react_jsx_runtime.JSX.Element;
1143
+ type ConversationEmptyStateProps = ComponentProps<"div"> & {
1144
+ title?: string;
1145
+ description?: string;
1146
+ icon?: React.ReactNode;
1147
+ };
1148
+ declare const ConversationEmptyState: ({ className, title, description, icon, children, ...props }: ConversationEmptyStateProps) => react_jsx_runtime.JSX.Element;
1149
+ type ConversationScrollButtonProps = ComponentProps<typeof Button>;
1150
+ declare const ConversationScrollButton: ({ className, ...props }: ConversationScrollButtonProps) => false | react_jsx_runtime.JSX.Element;
1151
+ interface ConversationMessage {
1152
+ role: "user" | "assistant" | "system" | "data" | "tool";
1153
+ content: string;
1154
+ }
1155
+ type ConversationDownloadProps = Omit<ComponentProps<typeof Button>, "onClick"> & {
1156
+ messages: ConversationMessage[];
1157
+ filename?: string;
1158
+ formatMessage?: (message: ConversationMessage, index: number) => string;
1159
+ };
1160
+ declare const messagesToMarkdown: (messages: ConversationMessage[], formatMessage?: (message: ConversationMessage, index: number) => string) => string;
1161
+ declare const ConversationDownload: ({ messages, filename, formatMessage, className, children, ...props }: ConversationDownloadProps) => react_jsx_runtime.JSX.Element;
1162
+
1163
+ declare const Edge: {
1164
+ Animated: ({ id, source, target, markerEnd, style }: EdgeProps) => react_jsx_runtime.JSX.Element | null;
1165
+ Temporary: ({ id, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, }: EdgeProps) => react_jsx_runtime.JSX.Element;
1166
+ };
1167
+
1168
+ type EnvironmentVariablesProps = HTMLAttributes<HTMLDivElement> & {
1169
+ showValues?: boolean;
1170
+ defaultShowValues?: boolean;
1171
+ onShowValuesChange?: (show: boolean) => void;
1172
+ };
1173
+ declare const EnvironmentVariables: ({ showValues: controlledShowValues, defaultShowValues, onShowValuesChange, className, children, ...props }: EnvironmentVariablesProps) => react_jsx_runtime.JSX.Element;
1174
+ type EnvironmentVariablesHeaderProps = HTMLAttributes<HTMLDivElement>;
1175
+ declare const EnvironmentVariablesHeader: ({ className, children, ...props }: EnvironmentVariablesHeaderProps) => react_jsx_runtime.JSX.Element;
1176
+ type EnvironmentVariablesTitleProps = HTMLAttributes<HTMLHeadingElement>;
1177
+ declare const EnvironmentVariablesTitle: ({ className, children, ...props }: EnvironmentVariablesTitleProps) => react_jsx_runtime.JSX.Element;
1178
+ type EnvironmentVariablesToggleProps = ComponentProps<typeof Switch>;
1179
+ declare const EnvironmentVariablesToggle: ({ className, ...props }: EnvironmentVariablesToggleProps) => react_jsx_runtime.JSX.Element;
1180
+ type EnvironmentVariablesContentProps = HTMLAttributes<HTMLDivElement>;
1181
+ declare const EnvironmentVariablesContent: ({ className, children, ...props }: EnvironmentVariablesContentProps) => react_jsx_runtime.JSX.Element;
1182
+ type EnvironmentVariableProps = HTMLAttributes<HTMLDivElement> & {
1183
+ name: string;
1184
+ value: string;
1185
+ };
1186
+ declare const EnvironmentVariable: ({ name, value, className, children, ...props }: EnvironmentVariableProps) => react_jsx_runtime.JSX.Element;
1187
+ type EnvironmentVariableGroupProps = HTMLAttributes<HTMLDivElement>;
1188
+ declare const EnvironmentVariableGroup: ({ className, children, ...props }: EnvironmentVariableGroupProps) => react_jsx_runtime.JSX.Element;
1189
+ type EnvironmentVariableNameProps = HTMLAttributes<HTMLSpanElement>;
1190
+ declare const EnvironmentVariableName: ({ className, children, ...props }: EnvironmentVariableNameProps) => react_jsx_runtime.JSX.Element;
1191
+ type EnvironmentVariableValueProps = HTMLAttributes<HTMLSpanElement>;
1192
+ declare const EnvironmentVariableValue: ({ className, children, ...props }: EnvironmentVariableValueProps) => react_jsx_runtime.JSX.Element;
1193
+ type EnvironmentVariableCopyButtonProps = ComponentProps<typeof Button> & {
1194
+ onCopy?: () => void;
1195
+ onError?: (error: Error) => void;
1196
+ timeout?: number;
1197
+ copyFormat?: "name" | "value" | "export";
1198
+ };
1199
+ declare const EnvironmentVariableCopyButton: ({ onCopy, onError, timeout, copyFormat, children, className, ...props }: EnvironmentVariableCopyButtonProps) => react_jsx_runtime.JSX.Element;
1200
+ type EnvironmentVariableRequiredProps = ComponentProps<typeof Badge>;
1201
+ declare const EnvironmentVariableRequired: ({ className, children, ...props }: EnvironmentVariableRequiredProps) => react_jsx_runtime.JSX.Element;
1202
+
1203
+ type FileTreeProps = HTMLAttributes<HTMLDivElement> & {
1204
+ expanded?: Set<string>;
1205
+ defaultExpanded?: Set<string>;
1206
+ selectedPath?: string;
1207
+ onSelect?: (path: string) => void;
1208
+ onExpandedChange?: (expanded: Set<string>) => void;
1209
+ };
1210
+ declare const FileTree: ({ expanded: controlledExpanded, defaultExpanded, selectedPath, onSelect, onExpandedChange, className, children, ...props }: FileTreeProps) => react_jsx_runtime.JSX.Element;
1211
+ type FileTreeFolderProps = HTMLAttributes<HTMLDivElement> & {
1212
+ path: string;
1213
+ name: string;
1214
+ };
1215
+ declare const FileTreeFolder: ({ path, name, className, children, ...props }: FileTreeFolderProps) => react_jsx_runtime.JSX.Element;
1216
+ type FileTreeFileProps = HTMLAttributes<HTMLDivElement> & {
1217
+ path: string;
1218
+ name: string;
1219
+ icon?: ReactNode;
1220
+ };
1221
+ declare const FileTreeFile: ({ path, name, icon, className, children, ...props }: FileTreeFileProps) => react_jsx_runtime.JSX.Element;
1222
+ type FileTreeIconProps = HTMLAttributes<HTMLSpanElement>;
1223
+ declare const FileTreeIcon: ({ className, children, ...props }: FileTreeIconProps) => react_jsx_runtime.JSX.Element;
1224
+ type FileTreeNameProps = HTMLAttributes<HTMLSpanElement>;
1225
+ declare const FileTreeName: ({ className, children, ...props }: FileTreeNameProps) => react_jsx_runtime.JSX.Element;
1226
+ type FileTreeActionsProps = HTMLAttributes<HTMLDivElement>;
1227
+ declare const FileTreeActions: ({ className, children, ...props }: FileTreeActionsProps) => react_jsx_runtime.JSX.Element;
1228
+
1229
+ type ImageProps = Experimental_GeneratedImage & {
1230
+ className?: string;
1231
+ alt?: string;
1232
+ };
1233
+ declare const Image: ({ base64, uint8Array: _uint8Array, mediaType, ...props }: ImageProps) => react_jsx_runtime.JSX.Element;
1234
+
1235
+ type InlineCitationProps = ComponentProps<"span">;
1236
+ declare const InlineCitation: ({ className, ...props }: InlineCitationProps) => react_jsx_runtime.JSX.Element;
1237
+ type InlineCitationTextProps = ComponentProps<"span">;
1238
+ declare const InlineCitationText: ({ className, ...props }: InlineCitationTextProps) => react_jsx_runtime.JSX.Element;
1239
+ type InlineCitationCardProps = ComponentProps<typeof HoverCard>;
1240
+ declare const InlineCitationCard: (props: InlineCitationCardProps) => react_jsx_runtime.JSX.Element;
1241
+ type InlineCitationCardTriggerProps = ComponentProps<typeof Badge> & {
1242
+ sources: string[];
1243
+ };
1244
+ declare const InlineCitationCardTrigger: ({ sources, className, ...props }: InlineCitationCardTriggerProps) => react_jsx_runtime.JSX.Element;
1245
+ type InlineCitationCardBodyProps = ComponentProps<"div">;
1246
+ declare const InlineCitationCardBody: ({ className, ...props }: InlineCitationCardBodyProps) => react_jsx_runtime.JSX.Element;
1247
+ type InlineCitationCarouselProps = ComponentProps<typeof Carousel>;
1248
+ declare const InlineCitationCarousel: ({ className, children, ...props }: InlineCitationCarouselProps) => react_jsx_runtime.JSX.Element;
1249
+ type InlineCitationCarouselContentProps = ComponentProps<"div">;
1250
+ declare const InlineCitationCarouselContent: (props: InlineCitationCarouselContentProps) => react_jsx_runtime.JSX.Element;
1251
+ type InlineCitationCarouselItemProps = ComponentProps<"div">;
1252
+ declare const InlineCitationCarouselItem: ({ className, ...props }: InlineCitationCarouselItemProps) => react_jsx_runtime.JSX.Element;
1253
+ type InlineCitationCarouselHeaderProps = ComponentProps<"div">;
1254
+ declare const InlineCitationCarouselHeader: ({ className, ...props }: InlineCitationCarouselHeaderProps) => react_jsx_runtime.JSX.Element;
1255
+ type InlineCitationCarouselIndexProps = ComponentProps<"div">;
1256
+ declare const InlineCitationCarouselIndex: ({ children, className, ...props }: InlineCitationCarouselIndexProps) => react_jsx_runtime.JSX.Element;
1257
+ type InlineCitationCarouselPrevProps = ComponentProps<"button">;
1258
+ declare const InlineCitationCarouselPrev: ({ className, ...props }: InlineCitationCarouselPrevProps) => react_jsx_runtime.JSX.Element;
1259
+ type InlineCitationCarouselNextProps = ComponentProps<"button">;
1260
+ declare const InlineCitationCarouselNext: ({ className, ...props }: InlineCitationCarouselNextProps) => react_jsx_runtime.JSX.Element;
1261
+ type InlineCitationSourceProps = ComponentProps<"div"> & {
1262
+ title?: string;
1263
+ url?: string;
1264
+ description?: string;
1265
+ };
1266
+ declare const InlineCitationSource: ({ title, url, description, className, children, ...props }: InlineCitationSourceProps) => react_jsx_runtime.JSX.Element;
1267
+ type InlineCitationQuoteProps = ComponentProps<"blockquote">;
1268
+ declare const InlineCitationQuote: ({ children, className, ...props }: InlineCitationQuoteProps) => react_jsx_runtime.JSX.Element;
1269
+
1270
+ interface JSXPreviewContextValue {
1271
+ jsx: string;
1272
+ processedJsx: string;
1273
+ error: Error | null;
1274
+ setError: (error: Error | null) => void;
1275
+ components: TProps["components"];
1276
+ bindings: TProps["bindings"];
1277
+ onErrorProp?: (error: Error) => void;
1278
+ }
1279
+ declare const useJSXPreview: () => JSXPreviewContextValue;
1280
+ type JSXPreviewProps = ComponentProps<"div"> & {
1281
+ jsx: string;
1282
+ isStreaming?: boolean;
1283
+ components?: TProps["components"];
1284
+ bindings?: TProps["bindings"];
1285
+ onError?: (error: Error) => void;
1286
+ };
1287
+ declare const JSXPreview: React$1.MemoExoticComponent<({ jsx, isStreaming, components, bindings, onError, className, children, ...props }: JSXPreviewProps) => react_jsx_runtime.JSX.Element>;
1288
+ type JSXPreviewContentProps = Omit<ComponentProps<"div">, "children">;
1289
+ declare const JSXPreviewContent: React$1.MemoExoticComponent<({ className, ...props }: JSXPreviewContentProps) => react_jsx_runtime.JSX.Element>;
1290
+ type JSXPreviewErrorProps = ComponentProps<"div"> & {
1291
+ children?: ReactNode | ((error: Error) => ReactNode);
1292
+ };
1293
+ declare const JSXPreviewError: React$1.MemoExoticComponent<({ className, children, ...props }: JSXPreviewErrorProps) => react_jsx_runtime.JSX.Element | null>;
1294
+
1295
+ type MessageProps = HTMLAttributes<HTMLDivElement> & {
1296
+ from: UIMessage["role"];
1297
+ };
1298
+ declare const Message: ({ className, from, ...props }: MessageProps) => react_jsx_runtime.JSX.Element;
1299
+ type MessageContentProps = HTMLAttributes<HTMLDivElement>;
1300
+ declare const MessageContent: ({ children, className, ...props }: MessageContentProps) => react_jsx_runtime.JSX.Element;
1301
+ type MessageActionsProps = ComponentProps<"div">;
1302
+ declare const MessageActions: ({ className, children, ...props }: MessageActionsProps) => react_jsx_runtime.JSX.Element;
1303
+ type MessageActionProps = ComponentProps<typeof Button> & {
1304
+ tooltip?: string;
1305
+ label?: string;
1306
+ };
1307
+ declare const MessageAction: ({ tooltip, children, label, variant, size, ...props }: MessageActionProps) => react_jsx_runtime.JSX.Element;
1308
+ type MessageBranchProps = HTMLAttributes<HTMLDivElement> & {
1309
+ defaultBranch?: number;
1310
+ onBranchChange?: (branchIndex: number) => void;
1311
+ };
1312
+ declare const MessageBranch: ({ defaultBranch, onBranchChange, className, ...props }: MessageBranchProps) => react_jsx_runtime.JSX.Element;
1313
+ type MessageBranchContentProps = HTMLAttributes<HTMLDivElement>;
1314
+ declare const MessageBranchContent: ({ children, ...props }: MessageBranchContentProps) => react_jsx_runtime.JSX.Element[];
1315
+ type MessageBranchSelectorProps = ComponentProps<typeof ButtonGroup>;
1316
+ declare const MessageBranchSelector: ({ className, ...props }: MessageBranchSelectorProps) => react_jsx_runtime.JSX.Element | null;
1317
+ type MessageBranchPreviousProps = ComponentProps<typeof Button>;
1318
+ declare const MessageBranchPrevious: ({ children, ...props }: MessageBranchPreviousProps) => react_jsx_runtime.JSX.Element;
1319
+ type MessageBranchNextProps = ComponentProps<typeof Button>;
1320
+ declare const MessageBranchNext: ({ children, ...props }: MessageBranchNextProps) => react_jsx_runtime.JSX.Element;
1321
+ type MessageBranchPageProps = HTMLAttributes<HTMLSpanElement>;
1322
+ declare const MessageBranchPage: ({ className, ...props }: MessageBranchPageProps) => react_jsx_runtime.JSX.Element;
1323
+ type MessageResponseProps = ComponentProps<typeof Streamdown>;
1324
+ declare const MessageResponse: React$1.MemoExoticComponent<({ className, ...props }: MessageResponseProps) => react_jsx_runtime.JSX.Element>;
1325
+ type MessageToolbarProps = ComponentProps<"div">;
1326
+ declare const MessageToolbar: ({ className, children, ...props }: MessageToolbarProps) => react_jsx_runtime.JSX.Element;
1327
+
1328
+ type MicSelectorProps = ComponentProps<typeof Popover> & {
1329
+ defaultValue?: string;
1330
+ value?: string | undefined;
1331
+ onValueChange?: (value: string | undefined) => void;
1332
+ open?: boolean;
1333
+ onOpenChange?: (open: boolean) => void;
1334
+ };
1335
+ declare const MicSelector: ({ defaultValue, value: controlledValue, onValueChange: controlledOnValueChange, defaultOpen, open: controlledOpen, onOpenChange: controlledOnOpenChange, ...props }: MicSelectorProps) => react_jsx_runtime.JSX.Element;
1336
+ type MicSelectorTriggerProps = ComponentProps<typeof Button>;
1337
+ declare const MicSelectorTrigger: ({ children, ...props }: MicSelectorTriggerProps) => react_jsx_runtime.JSX.Element;
1338
+ type MicSelectorContentProps = ComponentProps<typeof Command> & {
1339
+ popoverOptions?: ComponentProps<typeof PopoverContent>;
1340
+ };
1341
+ declare const MicSelectorContent: ({ className, popoverOptions, ...props }: MicSelectorContentProps) => react_jsx_runtime.JSX.Element;
1342
+ type MicSelectorInputProps = ComponentProps<typeof CommandInput> & {
1343
+ value?: string;
1344
+ defaultValue?: string;
1345
+ onValueChange?: (value: string) => void;
1346
+ };
1347
+ declare const MicSelectorInput: ({ ...props }: MicSelectorInputProps) => react_jsx_runtime.JSX.Element;
1348
+ type MicSelectorListProps = Omit<ComponentProps<typeof CommandList>, "children"> & {
1349
+ children: (devices: MediaDeviceInfo[]) => ReactNode;
1350
+ };
1351
+ declare const MicSelectorList: ({ children, ...props }: MicSelectorListProps) => react_jsx_runtime.JSX.Element;
1352
+ type MicSelectorEmptyProps = ComponentProps<typeof CommandEmpty>;
1353
+ declare const MicSelectorEmpty: ({ children, ...props }: MicSelectorEmptyProps) => react_jsx_runtime.JSX.Element;
1354
+ type MicSelectorItemProps = ComponentProps<typeof CommandItem>;
1355
+ declare const MicSelectorItem: (props: MicSelectorItemProps) => react_jsx_runtime.JSX.Element;
1356
+ type MicSelectorLabelProps = ComponentProps<"span"> & {
1357
+ device: MediaDeviceInfo;
1358
+ };
1359
+ declare const MicSelectorLabel: ({ device, className, ...props }: MicSelectorLabelProps) => react_jsx_runtime.JSX.Element;
1360
+ type MicSelectorValueProps = ComponentProps<"span">;
1361
+ declare const MicSelectorValue: ({ className, ...props }: MicSelectorValueProps) => react_jsx_runtime.JSX.Element;
1362
+ declare const useAudioDevices: () => {
1363
+ devices: MediaDeviceInfo[];
1364
+ error: string | null;
1365
+ hasPermission: boolean;
1366
+ loadDevices: () => Promise<void>;
1367
+ loading: boolean;
1368
+ };
1369
+
1370
+ type ModelSelectorProps = ComponentProps<typeof Dialog>;
1371
+ declare const ModelSelector: (props: ModelSelectorProps) => react_jsx_runtime.JSX.Element;
1372
+ type ModelSelectorTriggerProps = ComponentProps<typeof DialogTrigger>;
1373
+ declare const ModelSelectorTrigger: (props: ModelSelectorTriggerProps) => react_jsx_runtime.JSX.Element;
1374
+ type ModelSelectorContentProps = ComponentProps<typeof DialogContent> & {
1375
+ title?: ReactNode;
1376
+ };
1377
+ declare const ModelSelectorContent: ({ className, children, title, ...props }: ModelSelectorContentProps) => react_jsx_runtime.JSX.Element;
1378
+ type ModelSelectorDialogProps = ComponentProps<typeof CommandDialog>;
1379
+ declare const ModelSelectorDialog: (props: ModelSelectorDialogProps) => react_jsx_runtime.JSX.Element;
1380
+ type ModelSelectorInputProps = ComponentProps<typeof CommandInput>;
1381
+ declare const ModelSelectorInput: ({ className, ...props }: ModelSelectorInputProps) => react_jsx_runtime.JSX.Element;
1382
+ type ModelSelectorListProps = ComponentProps<typeof CommandList>;
1383
+ declare const ModelSelectorList: (props: ModelSelectorListProps) => react_jsx_runtime.JSX.Element;
1384
+ type ModelSelectorEmptyProps = ComponentProps<typeof CommandEmpty>;
1385
+ declare const ModelSelectorEmpty: (props: ModelSelectorEmptyProps) => react_jsx_runtime.JSX.Element;
1386
+ type ModelSelectorGroupProps = ComponentProps<typeof CommandGroup>;
1387
+ declare const ModelSelectorGroup: (props: ModelSelectorGroupProps) => react_jsx_runtime.JSX.Element;
1388
+ type ModelSelectorItemProps = ComponentProps<typeof CommandItem>;
1389
+ declare const ModelSelectorItem: (props: ModelSelectorItemProps) => react_jsx_runtime.JSX.Element;
1390
+ type ModelSelectorShortcutProps = ComponentProps<typeof CommandShortcut>;
1391
+ declare const ModelSelectorShortcut: (props: ModelSelectorShortcutProps) => react_jsx_runtime.JSX.Element;
1392
+ type ModelSelectorSeparatorProps = ComponentProps<typeof CommandSeparator>;
1393
+ declare const ModelSelectorSeparator: (props: ModelSelectorSeparatorProps) => react_jsx_runtime.JSX.Element;
1394
+ type ModelSelectorLogoProps = Omit<ComponentProps<"img">, "src" | "alt"> & {
1395
+ provider: "moonshotai-cn" | "lucidquery" | "moonshotai" | "zai-coding-plan" | "alibaba" | "xai" | "vultr" | "nvidia" | "upstage" | "groq" | "github-copilot" | "mistral" | "vercel" | "nebius" | "deepseek" | "alibaba-cn" | "google-vertex-anthropic" | "venice" | "chutes" | "cortecs" | "github-models" | "togetherai" | "azure" | "baseten" | "huggingface" | "opencode" | "fastrouter" | "google" | "google-vertex" | "cloudflare-workers-ai" | "inception" | "wandb" | "openai" | "zhipuai-coding-plan" | "perplexity" | "openrouter" | "zenmux" | "v0" | "iflowcn" | "synthetic" | "deepinfra" | "zhipuai" | "submodel" | "zai" | "inference" | "requesty" | "morph" | "lmstudio" | "anthropic" | "aihubmix" | "fireworks-ai" | "modelscope" | "llama" | "scaleway" | "amazon-bedrock" | "cerebras" | (string & {});
1396
+ };
1397
+ declare const ModelSelectorLogo: ({ provider, className, ...props }: ModelSelectorLogoProps) => react_jsx_runtime.JSX.Element;
1398
+ type ModelSelectorLogoGroupProps = ComponentProps<"div">;
1399
+ declare const ModelSelectorLogoGroup: ({ className, ...props }: ModelSelectorLogoGroupProps) => react_jsx_runtime.JSX.Element;
1400
+ type ModelSelectorNameProps = ComponentProps<"span">;
1401
+ declare const ModelSelectorName: ({ className, ...props }: ModelSelectorNameProps) => react_jsx_runtime.JSX.Element;
1402
+
1403
+ type NodeProps = ComponentProps<typeof Card> & {
1404
+ handles: {
1405
+ target: boolean;
1406
+ source: boolean;
1407
+ };
1408
+ };
1409
+ declare const Node: ({ handles, className, ...props }: NodeProps) => react_jsx_runtime.JSX.Element;
1410
+ type NodeHeaderProps = ComponentProps<typeof CardHeader>;
1411
+ declare const NodeHeader: ({ className, ...props }: NodeHeaderProps) => react_jsx_runtime.JSX.Element;
1412
+ type NodeTitleProps = ComponentProps<typeof CardTitle>;
1413
+ declare const NodeTitle: (props: NodeTitleProps) => react_jsx_runtime.JSX.Element;
1414
+ type NodeDescriptionProps = ComponentProps<typeof CardDescription>;
1415
+ declare const NodeDescription: (props: NodeDescriptionProps) => react_jsx_runtime.JSX.Element;
1416
+ type NodeActionProps = ComponentProps<typeof CardAction>;
1417
+ declare const NodeAction: (props: NodeActionProps) => react_jsx_runtime.JSX.Element;
1418
+ type NodeContentProps = ComponentProps<typeof CardContent>;
1419
+ declare const NodeContent: ({ className, ...props }: NodeContentProps) => react_jsx_runtime.JSX.Element;
1420
+ type NodeFooterProps = ComponentProps<typeof CardFooter>;
1421
+ declare const NodeFooter: ({ className, ...props }: NodeFooterProps) => react_jsx_runtime.JSX.Element;
1422
+
1423
+ type OpenInProps = ComponentProps<typeof DropdownMenu> & {
1424
+ query: string;
1425
+ };
1426
+ declare const OpenIn: ({ query, ...props }: OpenInProps) => react_jsx_runtime.JSX.Element;
1427
+ type OpenInContentProps = ComponentProps<typeof DropdownMenuContent>;
1428
+ declare const OpenInContent: ({ className, ...props }: OpenInContentProps) => react_jsx_runtime.JSX.Element;
1429
+ type OpenInItemProps = ComponentProps<typeof DropdownMenuItem>;
1430
+ declare const OpenInItem: (props: OpenInItemProps) => react_jsx_runtime.JSX.Element;
1431
+ type OpenInLabelProps = ComponentProps<typeof DropdownMenuLabel>;
1432
+ declare const OpenInLabel: (props: OpenInLabelProps) => react_jsx_runtime.JSX.Element;
1433
+ type OpenInSeparatorProps = ComponentProps<typeof DropdownMenuSeparator>;
1434
+ declare const OpenInSeparator: (props: OpenInSeparatorProps) => react_jsx_runtime.JSX.Element;
1435
+ type OpenInTriggerProps = ComponentProps<typeof DropdownMenuTrigger>;
1436
+ declare const OpenInTrigger: ({ children, ...props }: OpenInTriggerProps) => react_jsx_runtime.JSX.Element;
1437
+ type OpenInChatGPTProps = ComponentProps<typeof DropdownMenuItem>;
1438
+ declare const OpenInChatGPT: (props: OpenInChatGPTProps) => react_jsx_runtime.JSX.Element;
1439
+ type OpenInClaudeProps = ComponentProps<typeof DropdownMenuItem>;
1440
+ declare const OpenInClaude: (props: OpenInClaudeProps) => react_jsx_runtime.JSX.Element;
1441
+ type OpenInT3Props = ComponentProps<typeof DropdownMenuItem>;
1442
+ declare const OpenInT3: (props: OpenInT3Props) => react_jsx_runtime.JSX.Element;
1443
+ type OpenInSciraProps = ComponentProps<typeof DropdownMenuItem>;
1444
+ declare const OpenInScira: (props: OpenInSciraProps) => react_jsx_runtime.JSX.Element;
1445
+ type OpenInv0Props = ComponentProps<typeof DropdownMenuItem>;
1446
+ declare const OpenInv0: (props: OpenInv0Props) => react_jsx_runtime.JSX.Element;
1447
+ type OpenInCursorProps = ComponentProps<typeof DropdownMenuItem>;
1448
+ declare const OpenInCursor: (props: OpenInCursorProps) => react_jsx_runtime.JSX.Element;
1449
+
1450
+ type ChangeType = "major" | "minor" | "patch" | "added" | "removed";
1451
+ type PackageInfoProps = HTMLAttributes<HTMLDivElement> & {
1452
+ name: string;
1453
+ currentVersion?: string;
1454
+ newVersion?: string;
1455
+ changeType?: ChangeType;
1456
+ };
1457
+ declare const PackageInfo: ({ name, currentVersion, newVersion, changeType, className, children, ...props }: PackageInfoProps) => react_jsx_runtime.JSX.Element;
1458
+ type PackageInfoHeaderProps = HTMLAttributes<HTMLDivElement>;
1459
+ declare const PackageInfoHeader: ({ className, children, ...props }: PackageInfoHeaderProps) => react_jsx_runtime.JSX.Element;
1460
+ type PackageInfoNameProps = HTMLAttributes<HTMLDivElement>;
1461
+ declare const PackageInfoName: ({ className, children, ...props }: PackageInfoNameProps) => react_jsx_runtime.JSX.Element;
1462
+ type PackageInfoChangeTypeProps = HTMLAttributes<HTMLDivElement>;
1463
+ declare const PackageInfoChangeType: ({ className, children, ...props }: PackageInfoChangeTypeProps) => react_jsx_runtime.JSX.Element | null;
1464
+ type PackageInfoVersionProps = HTMLAttributes<HTMLDivElement>;
1465
+ declare const PackageInfoVersion: ({ className, children, ...props }: PackageInfoVersionProps) => react_jsx_runtime.JSX.Element | null;
1466
+ type PackageInfoDescriptionProps = HTMLAttributes<HTMLParagraphElement>;
1467
+ declare const PackageInfoDescription: ({ className, children, ...props }: PackageInfoDescriptionProps) => react_jsx_runtime.JSX.Element;
1468
+ type PackageInfoContentProps = HTMLAttributes<HTMLDivElement>;
1469
+ declare const PackageInfoContent: ({ className, children, ...props }: PackageInfoContentProps) => react_jsx_runtime.JSX.Element;
1470
+ type PackageInfoDependenciesProps = HTMLAttributes<HTMLDivElement>;
1471
+ declare const PackageInfoDependencies: ({ className, children, ...props }: PackageInfoDependenciesProps) => react_jsx_runtime.JSX.Element;
1472
+ type PackageInfoDependencyProps = HTMLAttributes<HTMLDivElement> & {
1473
+ name: string;
1474
+ version?: string;
1475
+ };
1476
+ declare const PackageInfoDependency: ({ name, version, className, children, ...props }: PackageInfoDependencyProps) => react_jsx_runtime.JSX.Element;
1477
+
1478
+ type PanelProps = ComponentProps<typeof Panel$1>;
1479
+ declare const Panel: ({ className, ...props }: PanelProps) => react_jsx_runtime.JSX.Element;
1480
+
1481
+ type PersonaState = "idle" | "listening" | "thinking" | "speaking" | "asleep";
1482
+ interface PersonaProps {
1483
+ state: PersonaState;
1484
+ onLoad?: RiveParameters["onLoad"];
1485
+ onLoadError?: RiveParameters["onLoadError"];
1486
+ onReady?: () => void;
1487
+ onPause?: RiveParameters["onPause"];
1488
+ onPlay?: RiveParameters["onPlay"];
1489
+ onStop?: RiveParameters["onStop"];
1490
+ className?: string;
1491
+ variant?: keyof typeof sources;
1492
+ }
1493
+ declare const sources: {
1494
+ command: {
1495
+ dynamicColor: boolean;
1496
+ hasModel: boolean;
1497
+ source: string;
1498
+ };
1499
+ glint: {
1500
+ dynamicColor: boolean;
1501
+ hasModel: boolean;
1502
+ source: string;
1503
+ };
1504
+ halo: {
1505
+ dynamicColor: boolean;
1506
+ hasModel: boolean;
1507
+ source: string;
1508
+ };
1509
+ mana: {
1510
+ dynamicColor: boolean;
1511
+ hasModel: boolean;
1512
+ source: string;
1513
+ };
1514
+ obsidian: {
1515
+ dynamicColor: boolean;
1516
+ hasModel: boolean;
1517
+ source: string;
1518
+ };
1519
+ opal: {
1520
+ dynamicColor: boolean;
1521
+ hasModel: boolean;
1522
+ source: string;
1523
+ };
1524
+ };
1525
+ declare const Persona: FC<PersonaProps>;
1526
+
1527
+ type PlanProps = ComponentProps<typeof Collapsible> & {
1528
+ isStreaming?: boolean;
1529
+ };
1530
+ declare const Plan: ({ className, isStreaming, children, ...props }: PlanProps) => react_jsx_runtime.JSX.Element;
1531
+ type PlanHeaderProps = ComponentProps<typeof CardHeader>;
1532
+ declare const PlanHeader: ({ className, ...props }: PlanHeaderProps) => react_jsx_runtime.JSX.Element;
1533
+ type PlanTitleProps = Omit<ComponentProps<typeof CardTitle>, "children"> & {
1534
+ children: string;
1535
+ };
1536
+ declare const PlanTitle: ({ children, ...props }: PlanTitleProps) => react_jsx_runtime.JSX.Element;
1537
+ type PlanDescriptionProps = Omit<ComponentProps<typeof CardDescription>, "children"> & {
1538
+ children: string;
1539
+ };
1540
+ declare const PlanDescription: ({ className, children, ...props }: PlanDescriptionProps) => react_jsx_runtime.JSX.Element;
1541
+ type PlanActionProps = ComponentProps<typeof CardAction>;
1542
+ declare const PlanAction: (props: PlanActionProps) => react_jsx_runtime.JSX.Element;
1543
+ type PlanContentProps = ComponentProps<typeof CardContent>;
1544
+ declare const PlanContent: (props: PlanContentProps) => react_jsx_runtime.JSX.Element;
1545
+ type PlanFooterProps = ComponentProps<"div">;
1546
+ declare const PlanFooter: (props: PlanFooterProps) => react_jsx_runtime.JSX.Element;
1547
+ type PlanTriggerProps = ComponentProps<typeof CollapsibleTrigger>;
1548
+ declare const PlanTrigger: ({ className, ...props }: PlanTriggerProps) => react_jsx_runtime.JSX.Element;
1549
+
1550
+ interface AttachmentsContext {
1551
+ files: (FileUIPart & {
1552
+ id: string;
1553
+ })[];
1554
+ add: (files: File[] | FileList) => void;
1555
+ remove: (id: string) => void;
1556
+ clear: () => void;
1557
+ openFileDialog: () => void;
1558
+ fileInputRef: RefObject<HTMLInputElement | null>;
1559
+ }
1560
+ interface TextInputContext {
1561
+ value: string;
1562
+ setInput: (v: string) => void;
1563
+ clear: () => void;
1564
+ }
1565
+ interface PromptInputControllerProps {
1566
+ textInput: TextInputContext;
1567
+ attachments: AttachmentsContext;
1568
+ /** INTERNAL: Allows PromptInput to register its file textInput + "open" callback */
1569
+ __registerFileInput: (ref: RefObject<HTMLInputElement | null>, open: () => void) => void;
1570
+ }
1571
+ interface ReferencedSourcesContext {
1572
+ sources: (SourceDocumentUIPart & {
1573
+ id: string;
1574
+ })[];
1575
+ add: (sources: SourceDocumentUIPart[] | SourceDocumentUIPart) => void;
1576
+ remove: (id: string) => void;
1577
+ clear: () => void;
1578
+ }
1579
+ declare const LocalAttachmentsContext: React$1.Context<AttachmentsContext | null>;
1580
+ declare const LocalReferencedSourcesContext: React$1.Context<ReferencedSourcesContext | null>;
1581
+ declare const usePromptInputController: () => PromptInputControllerProps;
1582
+ /** Optional variant, does NOT throw. Useful for dual-mode components. */
1583
+ declare const useOptionalPromptInputController: () => PromptInputControllerProps | null;
1584
+ declare const useProviderAttachments: () => AttachmentsContext;
1585
+ declare const usePromptInputAttachments: () => AttachmentsContext;
1586
+ declare const usePromptInputReferencedSources: () => ReferencedSourcesContext;
1587
+ type PromptInputProviderProps = PropsWithChildren<{
1588
+ initialInput?: string;
1589
+ }>;
1590
+ /**
1591
+ * Optional global provider that lifts PromptInput state outside of PromptInput.
1592
+ * If you don't use it, PromptInput stays fully self-managed.
1593
+ */
1594
+ declare const PromptInputProvider: ({ initialInput: initialTextInput, children, }: PromptInputProviderProps) => react_jsx_runtime.JSX.Element;
1595
+ type PromptInputActionAddAttachmentsProps = ComponentProps<typeof DropdownMenuItem> & {
1596
+ label?: string;
1597
+ };
1598
+ declare const PromptInputActionAddAttachments: ({ label, ...props }: PromptInputActionAddAttachmentsProps) => react_jsx_runtime.JSX.Element;
1599
+
1600
+ type PromptInputBodyProps = HTMLAttributes<HTMLDivElement>;
1601
+ declare const PromptInputBody: ({ className, ...props }: PromptInputBodyProps) => react_jsx_runtime.JSX.Element;
1602
+ type PromptInputHeaderProps = Omit<ComponentProps<typeof InputGroupAddon>, "align">;
1603
+ declare const PromptInputHeader: ({ className, ...props }: PromptInputHeaderProps) => react_jsx_runtime.JSX.Element;
1604
+ type PromptInputFooterProps = Omit<ComponentProps<typeof InputGroupAddon>, "align">;
1605
+ declare const PromptInputFooter: ({ className, ...props }: PromptInputFooterProps) => react_jsx_runtime.JSX.Element;
1606
+ type PromptInputToolsProps = HTMLAttributes<HTMLDivElement>;
1607
+ declare const PromptInputTools: ({ className, ...props }: PromptInputToolsProps) => react_jsx_runtime.JSX.Element;
1608
+ type PromptInputButtonTooltip = string | {
1609
+ content: ReactNode;
1610
+ shortcut?: string;
1611
+ side?: ComponentProps<typeof TooltipContent>["side"];
1612
+ };
1613
+ type PromptInputButtonProps = ComponentProps<typeof InputGroupButton> & {
1614
+ tooltip?: PromptInputButtonTooltip;
1615
+ };
1616
+ declare const PromptInputButton: ({ variant, className, size, tooltip, ...props }: PromptInputButtonProps) => react_jsx_runtime.JSX.Element;
1617
+ type PromptInputSubmitProps = ComponentProps<typeof InputGroupButton> & {
1618
+ status?: ai.ChatStatus;
1619
+ onStop?: () => void;
1620
+ };
1621
+ declare const PromptInputSubmit: ({ className, variant, size, status, onStop, onClick, children, ...props }: PromptInputSubmitProps) => react_jsx_runtime.JSX.Element;
1622
+ type PromptInputActionMenuProps = ComponentProps<typeof DropdownMenu>;
1623
+ declare const PromptInputActionMenu: (props: PromptInputActionMenuProps) => react_jsx_runtime.JSX.Element;
1624
+ type PromptInputActionMenuTriggerProps = PromptInputButtonProps;
1625
+ declare const PromptInputActionMenuTrigger: ({ className, children, ...props }: PromptInputActionMenuTriggerProps) => react_jsx_runtime.JSX.Element;
1626
+ type PromptInputActionMenuContentProps = ComponentProps<typeof DropdownMenuContent>;
1627
+ declare const PromptInputActionMenuContent: ({ className, ...props }: PromptInputActionMenuContentProps) => react_jsx_runtime.JSX.Element;
1628
+ type PromptInputActionMenuItemProps = ComponentProps<typeof DropdownMenuItem>;
1629
+ declare const PromptInputActionMenuItem: ({ className, ...props }: PromptInputActionMenuItemProps) => react_jsx_runtime.JSX.Element;
1630
+ type PromptInputSelectProps = ComponentProps<typeof Select>;
1631
+ declare const PromptInputSelect: (props: PromptInputSelectProps) => react_jsx_runtime.JSX.Element;
1632
+ type PromptInputSelectTriggerProps = ComponentProps<typeof SelectTrigger>;
1633
+ declare const PromptInputSelectTrigger: ({ className, ...props }: PromptInputSelectTriggerProps) => react_jsx_runtime.JSX.Element;
1634
+ type PromptInputSelectContentProps = ComponentProps<typeof SelectContent>;
1635
+ declare const PromptInputSelectContent: ({ className, ...props }: PromptInputSelectContentProps) => react_jsx_runtime.JSX.Element;
1636
+ type PromptInputSelectItemProps = ComponentProps<typeof SelectItem>;
1637
+ declare const PromptInputSelectItem: ({ className, ...props }: PromptInputSelectItemProps) => react_jsx_runtime.JSX.Element;
1638
+ type PromptInputSelectValueProps = ComponentProps<typeof SelectValue>;
1639
+ declare const PromptInputSelectValue: ({ className, ...props }: PromptInputSelectValueProps) => react_jsx_runtime.JSX.Element;
1640
+ type PromptInputHoverCardProps = ComponentProps<typeof HoverCard>;
1641
+ declare const PromptInputHoverCard: ({ openDelay, closeDelay, ...props }: PromptInputHoverCardProps) => react_jsx_runtime.JSX.Element;
1642
+ type PromptInputHoverCardTriggerProps = ComponentProps<typeof HoverCardTrigger>;
1643
+ declare const PromptInputHoverCardTrigger: (props: PromptInputHoverCardTriggerProps) => react_jsx_runtime.JSX.Element;
1644
+ type PromptInputHoverCardContentProps = ComponentProps<typeof HoverCardContent>;
1645
+ declare const PromptInputHoverCardContent: ({ align, ...props }: PromptInputHoverCardContentProps) => react_jsx_runtime.JSX.Element;
1646
+ type PromptInputTabsListProps = HTMLAttributes<HTMLDivElement>;
1647
+ declare const PromptInputTabsList: ({ className, ...props }: PromptInputTabsListProps) => react_jsx_runtime.JSX.Element;
1648
+ type PromptInputTabProps = HTMLAttributes<HTMLDivElement>;
1649
+ declare const PromptInputTab: ({ className, ...props }: PromptInputTabProps) => react_jsx_runtime.JSX.Element;
1650
+ type PromptInputTabLabelProps = HTMLAttributes<HTMLHeadingElement>;
1651
+ declare const PromptInputTabLabel: ({ className, ...props }: PromptInputTabLabelProps) => react_jsx_runtime.JSX.Element;
1652
+ type PromptInputTabBodyProps = HTMLAttributes<HTMLDivElement>;
1653
+ declare const PromptInputTabBody: ({ className, ...props }: PromptInputTabBodyProps) => react_jsx_runtime.JSX.Element;
1654
+ type PromptInputTabItemProps = HTMLAttributes<HTMLDivElement>;
1655
+ declare const PromptInputTabItem: ({ className, ...props }: PromptInputTabItemProps) => react_jsx_runtime.JSX.Element;
1656
+ type PromptInputCommandProps = ComponentProps<typeof Command>;
1657
+ declare const PromptInputCommand: ({ className, ...props }: PromptInputCommandProps) => react_jsx_runtime.JSX.Element;
1658
+ type PromptInputCommandInputProps = ComponentProps<typeof CommandInput>;
1659
+ declare const PromptInputCommandInput: ({ className, ...props }: PromptInputCommandInputProps) => react_jsx_runtime.JSX.Element;
1660
+ type PromptInputCommandListProps = ComponentProps<typeof CommandList>;
1661
+ declare const PromptInputCommandList: ({ className, ...props }: PromptInputCommandListProps) => react_jsx_runtime.JSX.Element;
1662
+ type PromptInputCommandEmptyProps = ComponentProps<typeof CommandEmpty>;
1663
+ declare const PromptInputCommandEmpty: ({ className, ...props }: PromptInputCommandEmptyProps) => react_jsx_runtime.JSX.Element;
1664
+ type PromptInputCommandGroupProps = ComponentProps<typeof CommandGroup>;
1665
+ declare const PromptInputCommandGroup: ({ className, ...props }: PromptInputCommandGroupProps) => react_jsx_runtime.JSX.Element;
1666
+ type PromptInputCommandItemProps = ComponentProps<typeof CommandItem>;
1667
+ declare const PromptInputCommandItem: ({ className, ...props }: PromptInputCommandItemProps) => react_jsx_runtime.JSX.Element;
1668
+ type PromptInputCommandSeparatorProps = ComponentProps<typeof CommandSeparator>;
1669
+ declare const PromptInputCommandSeparator: ({ className, ...props }: PromptInputCommandSeparatorProps) => react_jsx_runtime.JSX.Element;
1670
+
1671
+ type PromptInputTextareaProps = ComponentProps<typeof InputGroupTextarea>;
1672
+ declare const PromptInputTextarea: ({ onChange, onKeyDown, className, placeholder, ...props }: PromptInputTextareaProps) => react_jsx_runtime.JSX.Element;
1673
+
1674
+ interface PromptInputMessage {
1675
+ text: string;
1676
+ files: FileUIPart[];
1677
+ }
1678
+ type PromptInputProps = Omit<HTMLAttributes<HTMLFormElement>, "onSubmit" | "onError"> & {
1679
+ accept?: string;
1680
+ multiple?: boolean;
1681
+ globalDrop?: boolean;
1682
+ syncHiddenInput?: boolean;
1683
+ maxFiles?: number;
1684
+ maxFileSize?: number;
1685
+ onError?: (err: {
1686
+ code: "max_files" | "max_file_size" | "accept";
1687
+ message: string;
1688
+ }) => void;
1689
+ onSubmit: (message: PromptInputMessage, event: FormEvent<HTMLFormElement>) => void | Promise<void>;
1690
+ };
1691
+ declare const PromptInput: ({ className, accept, multiple, globalDrop, syncHiddenInput, maxFiles, maxFileSize, onError, onSubmit, children, ...props }: PromptInputProps) => react_jsx_runtime.JSX.Element;
1692
+
1693
+ interface QueueMessagePart {
1694
+ type: string;
1695
+ text?: string;
1696
+ url?: string;
1697
+ filename?: string;
1698
+ mediaType?: string;
1699
+ }
1700
+ interface QueueMessage {
1701
+ id: string;
1702
+ parts: QueueMessagePart[];
1703
+ }
1704
+ interface QueueTodo {
1705
+ id: string;
1706
+ title: string;
1707
+ description?: string;
1708
+ status?: "pending" | "completed";
1709
+ }
1710
+ type QueueItemProps = ComponentProps<"li">;
1711
+ declare const QueueItem: ({ className, ...props }: QueueItemProps) => react_jsx_runtime.JSX.Element;
1712
+ type QueueItemIndicatorProps = ComponentProps<"span"> & {
1713
+ completed?: boolean;
1714
+ };
1715
+ declare const QueueItemIndicator: ({ completed, className, ...props }: QueueItemIndicatorProps) => react_jsx_runtime.JSX.Element;
1716
+ type QueueItemContentProps = ComponentProps<"span"> & {
1717
+ completed?: boolean;
1718
+ };
1719
+ declare const QueueItemContent: ({ completed, className, ...props }: QueueItemContentProps) => react_jsx_runtime.JSX.Element;
1720
+ type QueueItemDescriptionProps = ComponentProps<"div"> & {
1721
+ completed?: boolean;
1722
+ };
1723
+ declare const QueueItemDescription: ({ completed, className, ...props }: QueueItemDescriptionProps) => react_jsx_runtime.JSX.Element;
1724
+ type QueueItemActionsProps = ComponentProps<"div">;
1725
+ declare const QueueItemActions: ({ className, ...props }: QueueItemActionsProps) => react_jsx_runtime.JSX.Element;
1726
+ type QueueItemActionProps = Omit<ComponentProps<typeof Button>, "variant" | "size">;
1727
+ declare const QueueItemAction: ({ className, ...props }: QueueItemActionProps) => react_jsx_runtime.JSX.Element;
1728
+ type QueueItemAttachmentProps = ComponentProps<"div">;
1729
+ declare const QueueItemAttachment: ({ className, ...props }: QueueItemAttachmentProps) => react_jsx_runtime.JSX.Element;
1730
+ type QueueItemImageProps = ComponentProps<"img">;
1731
+ declare const QueueItemImage: ({ className, ...props }: QueueItemImageProps) => react_jsx_runtime.JSX.Element;
1732
+ type QueueItemFileProps = ComponentProps<"span">;
1733
+ declare const QueueItemFile: ({ children, className, ...props }: QueueItemFileProps) => react_jsx_runtime.JSX.Element;
1734
+ type QueueListProps = ComponentProps<typeof ScrollArea>;
1735
+ declare const QueueList: ({ children, className, ...props }: QueueListProps) => react_jsx_runtime.JSX.Element;
1736
+ type QueueSectionProps = ComponentProps<typeof Collapsible>;
1737
+ declare const QueueSection: ({ className, defaultOpen, ...props }: QueueSectionProps) => react_jsx_runtime.JSX.Element;
1738
+ type QueueSectionTriggerProps = ComponentProps<"button">;
1739
+ declare const QueueSectionTrigger: ({ children, className, ...props }: QueueSectionTriggerProps) => react_jsx_runtime.JSX.Element;
1740
+ type QueueSectionLabelProps = ComponentProps<"span"> & {
1741
+ count?: number;
1742
+ label: string;
1743
+ icon?: React.ReactNode;
1744
+ };
1745
+ declare const QueueSectionLabel: ({ count, label, icon, className, ...props }: QueueSectionLabelProps) => react_jsx_runtime.JSX.Element;
1746
+ type QueueSectionContentProps = ComponentProps<typeof CollapsibleContent>;
1747
+ declare const QueueSectionContent: ({ className, ...props }: QueueSectionContentProps) => react_jsx_runtime.JSX.Element;
1748
+ type QueueProps = ComponentProps<"div">;
1749
+ declare const Queue: ({ className, ...props }: QueueProps) => react_jsx_runtime.JSX.Element;
1750
+
1751
+ interface ReasoningContextValue {
1752
+ isStreaming: boolean;
1753
+ isOpen: boolean;
1754
+ setIsOpen: (open: boolean) => void;
1755
+ duration: number | undefined;
1756
+ }
1757
+ declare const useReasoning: () => ReasoningContextValue;
1758
+ type ReasoningProps = ComponentProps<typeof Collapsible> & {
1759
+ isStreaming?: boolean;
1760
+ open?: boolean;
1761
+ defaultOpen?: boolean;
1762
+ onOpenChange?: (open: boolean) => void;
1763
+ duration?: number;
1764
+ };
1765
+ declare const Reasoning: React$1.MemoExoticComponent<({ className, isStreaming, open, defaultOpen, onOpenChange, duration: durationProp, children, ...props }: ReasoningProps) => react_jsx_runtime.JSX.Element>;
1766
+ type ReasoningTriggerProps = ComponentProps<typeof CollapsibleTrigger> & {
1767
+ getThinkingMessage?: (isStreaming: boolean, duration?: number) => ReactNode;
1768
+ };
1769
+ declare const ReasoningTrigger: React$1.MemoExoticComponent<({ className, children, getThinkingMessage, ...props }: ReasoningTriggerProps) => react_jsx_runtime.JSX.Element>;
1770
+ type ReasoningContentProps = ComponentProps<typeof CollapsibleContent> & {
1771
+ children: string;
1772
+ };
1773
+ declare const ReasoningContent: React$1.MemoExoticComponent<({ className, children, ...props }: ReasoningContentProps) => react_jsx_runtime.JSX.Element>;
1774
+
1775
+ type SandboxRootProps = ComponentProps<typeof Collapsible>;
1776
+ declare const Sandbox: ({ className, ...props }: SandboxRootProps) => react_jsx_runtime.JSX.Element;
1777
+ interface SandboxHeaderProps {
1778
+ title?: string;
1779
+ state: ToolUIPart["state"];
1780
+ className?: string;
1781
+ }
1782
+ declare const SandboxHeader: ({ className, title, state, ...props }: SandboxHeaderProps) => react_jsx_runtime.JSX.Element;
1783
+ type SandboxContentProps = ComponentProps<typeof CollapsibleContent>;
1784
+ declare const SandboxContent: ({ className, ...props }: SandboxContentProps) => react_jsx_runtime.JSX.Element;
1785
+ type SandboxTabsProps = ComponentProps<typeof Tabs>;
1786
+ declare const SandboxTabs: ({ className, ...props }: SandboxTabsProps) => react_jsx_runtime.JSX.Element;
1787
+ type SandboxTabsBarProps = ComponentProps<"div">;
1788
+ declare const SandboxTabsBar: ({ className, ...props }: SandboxTabsBarProps) => react_jsx_runtime.JSX.Element;
1789
+ type SandboxTabsListProps = ComponentProps<typeof TabsList>;
1790
+ declare const SandboxTabsList: ({ className, ...props }: SandboxTabsListProps) => react_jsx_runtime.JSX.Element;
1791
+ type SandboxTabsTriggerProps = ComponentProps<typeof TabsTrigger>;
1792
+ declare const SandboxTabsTrigger: ({ className, ...props }: SandboxTabsTriggerProps) => react_jsx_runtime.JSX.Element;
1793
+ type SandboxTabContentProps = ComponentProps<typeof TabsContent>;
1794
+ declare const SandboxTabContent: ({ className, ...props }: SandboxTabContentProps) => react_jsx_runtime.JSX.Element;
1795
+
1796
+ type HttpMethod = "GET" | "POST" | "PUT" | "PATCH" | "DELETE";
1797
+ interface SchemaParameter {
1798
+ name: string;
1799
+ type: string;
1800
+ required?: boolean;
1801
+ description?: string;
1802
+ location?: "path" | "query" | "header";
1803
+ }
1804
+ interface SchemaProperty {
1805
+ name: string;
1806
+ type: string;
1807
+ required?: boolean;
1808
+ description?: string;
1809
+ properties?: SchemaProperty[];
1810
+ items?: SchemaProperty;
1811
+ }
1812
+ type SchemaDisplayProps = HTMLAttributes<HTMLDivElement> & {
1813
+ method: HttpMethod;
1814
+ path: string;
1815
+ description?: string;
1816
+ parameters?: SchemaParameter[];
1817
+ requestBody?: SchemaProperty[];
1818
+ responseBody?: SchemaProperty[];
1819
+ };
1820
+ declare const SchemaDisplay: ({ method, path, description, parameters, requestBody, responseBody, className, children, ...props }: SchemaDisplayProps) => react_jsx_runtime.JSX.Element;
1821
+ type SchemaDisplayHeaderProps = HTMLAttributes<HTMLDivElement>;
1822
+ declare const SchemaDisplayHeader: ({ className, children, ...props }: SchemaDisplayHeaderProps) => react_jsx_runtime.JSX.Element;
1823
+ type SchemaDisplayMethodProps = ComponentProps<typeof Badge>;
1824
+ declare const SchemaDisplayMethod: ({ className, children, ...props }: SchemaDisplayMethodProps) => react_jsx_runtime.JSX.Element;
1825
+ type SchemaDisplayPathProps = HTMLAttributes<HTMLSpanElement>;
1826
+ declare const SchemaDisplayPath: ({ className, children, ...props }: SchemaDisplayPathProps) => react_jsx_runtime.JSX.Element;
1827
+ type SchemaDisplayDescriptionProps = HTMLAttributes<HTMLParagraphElement>;
1828
+ declare const SchemaDisplayDescription: ({ className, children, ...props }: SchemaDisplayDescriptionProps) => react_jsx_runtime.JSX.Element;
1829
+ type SchemaDisplayContentProps = HTMLAttributes<HTMLDivElement>;
1830
+ declare const SchemaDisplayContent: ({ className, children, ...props }: SchemaDisplayContentProps) => react_jsx_runtime.JSX.Element;
1831
+ type SchemaDisplayParametersProps = ComponentProps<typeof Collapsible>;
1832
+ declare const SchemaDisplayParameters: ({ className, children, ...props }: SchemaDisplayParametersProps) => react_jsx_runtime.JSX.Element;
1833
+ type SchemaDisplayParameterProps = HTMLAttributes<HTMLDivElement> & SchemaParameter;
1834
+ declare const SchemaDisplayParameter: ({ name, type, required, description, location, className, ...props }: SchemaDisplayParameterProps) => react_jsx_runtime.JSX.Element;
1835
+ type SchemaDisplayRequestProps = ComponentProps<typeof Collapsible>;
1836
+ declare const SchemaDisplayRequest: ({ className, children, ...props }: SchemaDisplayRequestProps) => react_jsx_runtime.JSX.Element;
1837
+ type SchemaDisplayResponseProps = ComponentProps<typeof Collapsible>;
1838
+ declare const SchemaDisplayResponse: ({ className, children, ...props }: SchemaDisplayResponseProps) => react_jsx_runtime.JSX.Element;
1839
+ type SchemaDisplayBodyProps = HTMLAttributes<HTMLDivElement>;
1840
+ declare const SchemaDisplayBody: ({ className, children, ...props }: SchemaDisplayBodyProps) => react_jsx_runtime.JSX.Element;
1841
+ type SchemaDisplayPropertyProps = HTMLAttributes<HTMLDivElement> & SchemaProperty & {
1842
+ depth?: number;
1843
+ };
1844
+ declare const SchemaDisplayProperty: ({ name, type, required, description, properties, items, depth, className, ...props }: SchemaDisplayPropertyProps) => react_jsx_runtime.JSX.Element;
1845
+ type SchemaDisplayExampleProps = HTMLAttributes<HTMLPreElement>;
1846
+ declare const SchemaDisplayExample: ({ className, children, ...props }: SchemaDisplayExampleProps) => react_jsx_runtime.JSX.Element;
1847
+
1848
+ interface TextShimmerProps {
1849
+ children: string;
1850
+ as?: ElementType;
1851
+ className?: string;
1852
+ duration?: number;
1853
+ spread?: number;
1854
+ }
1855
+ declare const Shimmer: React$1.MemoExoticComponent<({ children, as: Component, className, duration, spread, }: TextShimmerProps) => react_jsx_runtime.JSX.Element>;
1856
+
1857
+ type SnippetProps = ComponentProps<typeof InputGroup> & {
1858
+ code: string;
1859
+ };
1860
+ declare const Snippet: ({ code, className, children, ...props }: SnippetProps) => react_jsx_runtime.JSX.Element;
1861
+ type SnippetAddonProps = ComponentProps<typeof InputGroupAddon>;
1862
+ declare const SnippetAddon: (props: SnippetAddonProps) => react_jsx_runtime.JSX.Element;
1863
+ type SnippetTextProps = ComponentProps<typeof InputGroupText>;
1864
+ declare const SnippetText: ({ className, ...props }: SnippetTextProps) => react_jsx_runtime.JSX.Element;
1865
+ type SnippetInputProps = Omit<ComponentProps<typeof InputGroupInput>, "readOnly" | "value">;
1866
+ declare const SnippetInput: ({ className, ...props }: SnippetInputProps) => react_jsx_runtime.JSX.Element;
1867
+ type SnippetCopyButtonProps = ComponentProps<typeof InputGroupButton> & {
1868
+ onCopy?: () => void;
1869
+ onError?: (error: Error) => void;
1870
+ timeout?: number;
1871
+ };
1872
+ declare const SnippetCopyButton: ({ onCopy, onError, timeout, children, className, ...props }: SnippetCopyButtonProps) => react_jsx_runtime.JSX.Element;
1873
+
1874
+ type SourcesProps = ComponentProps<"div">;
1875
+ declare const Sources: ({ className, ...props }: SourcesProps) => react_jsx_runtime.JSX.Element;
1876
+ type SourcesTriggerProps = ComponentProps<typeof CollapsibleTrigger> & {
1877
+ count: number;
1878
+ };
1879
+ declare const SourcesTrigger: ({ className, count, children, ...props }: SourcesTriggerProps) => react_jsx_runtime.JSX.Element;
1880
+ type SourcesContentProps = ComponentProps<typeof CollapsibleContent>;
1881
+ declare const SourcesContent: ({ className, ...props }: SourcesContentProps) => react_jsx_runtime.JSX.Element;
1882
+ type SourceProps = ComponentProps<"a">;
1883
+ declare const Source: ({ href, title, children, ...props }: SourceProps) => react_jsx_runtime.JSX.Element;
1884
+
1885
+ interface SpeechRecognition extends EventTarget {
1886
+ continuous: boolean;
1887
+ interimResults: boolean;
1888
+ lang: string;
1889
+ start(): void;
1890
+ stop(): void;
1891
+ onstart: ((this: SpeechRecognition, ev: Event) => void) | null;
1892
+ onend: ((this: SpeechRecognition, ev: Event) => void) | null;
1893
+ onresult: ((this: SpeechRecognition, ev: SpeechRecognitionEvent) => void) | null;
1894
+ onerror: ((this: SpeechRecognition, ev: SpeechRecognitionErrorEvent) => void) | null;
1895
+ }
1896
+ interface SpeechRecognitionEvent extends Event {
1897
+ results: SpeechRecognitionResultList;
1898
+ resultIndex: number;
1899
+ }
1900
+ interface SpeechRecognitionResultList {
1901
+ readonly length: number;
1902
+ item(index: number): SpeechRecognitionResult;
1903
+ [index: number]: SpeechRecognitionResult;
1904
+ }
1905
+ interface SpeechRecognitionResult {
1906
+ readonly length: number;
1907
+ item(index: number): SpeechRecognitionAlternative;
1908
+ [index: number]: SpeechRecognitionAlternative;
1909
+ isFinal: boolean;
1910
+ }
1911
+ interface SpeechRecognitionAlternative {
1912
+ transcript: string;
1913
+ confidence: number;
1914
+ }
1915
+ interface SpeechRecognitionErrorEvent extends Event {
1916
+ error: string;
1917
+ }
1918
+ declare global {
1919
+ interface Window {
1920
+ SpeechRecognition: new () => SpeechRecognition;
1921
+ webkitSpeechRecognition: new () => SpeechRecognition;
1922
+ }
1923
+ }
1924
+ type SpeechInputProps = ComponentProps<typeof Button> & {
1925
+ onTranscriptionChange?: (text: string) => void;
1926
+ /**
1927
+ * Callback for when audio is recorded using MediaRecorder fallback.
1928
+ * This is called in browsers that don't support the Web Speech API (Firefox, Safari).
1929
+ * The callback receives an audio Blob that should be sent to a transcription service.
1930
+ * Return the transcribed text, which will be passed to onTranscriptionChange.
1931
+ */
1932
+ onAudioRecorded?: (audioBlob: Blob) => Promise<string>;
1933
+ lang?: string;
1934
+ };
1935
+ declare const SpeechInput: ({ className, onTranscriptionChange, onAudioRecorded, lang, ...props }: SpeechInputProps) => react_jsx_runtime.JSX.Element;
1936
+
1937
+ type StackTraceProps = ComponentProps<"div"> & {
1938
+ trace: string;
1939
+ open?: boolean;
1940
+ defaultOpen?: boolean;
1941
+ onOpenChange?: (open: boolean) => void;
1942
+ onFilePathClick?: (filePath: string, line?: number, column?: number) => void;
1943
+ };
1944
+ declare const StackTrace: React$1.MemoExoticComponent<({ trace, className, open, defaultOpen, onOpenChange, onFilePathClick, children, ...props }: StackTraceProps) => react_jsx_runtime.JSX.Element>;
1945
+ type StackTraceHeaderProps = ComponentProps<typeof CollapsibleTrigger>;
1946
+ declare const StackTraceHeader: React$1.MemoExoticComponent<({ className, children, ...props }: StackTraceHeaderProps) => react_jsx_runtime.JSX.Element>;
1947
+ type StackTraceErrorProps = ComponentProps<"div">;
1948
+ declare const StackTraceError: React$1.MemoExoticComponent<({ className, children, ...props }: StackTraceErrorProps) => react_jsx_runtime.JSX.Element>;
1949
+ type StackTraceErrorTypeProps = ComponentProps<"span">;
1950
+ declare const StackTraceErrorType: React$1.MemoExoticComponent<({ className, children, ...props }: StackTraceErrorTypeProps) => react_jsx_runtime.JSX.Element>;
1951
+ type StackTraceErrorMessageProps = ComponentProps<"span">;
1952
+ declare const StackTraceErrorMessage: React$1.MemoExoticComponent<({ className, children, ...props }: StackTraceErrorMessageProps) => react_jsx_runtime.JSX.Element>;
1953
+ type StackTraceActionsProps = ComponentProps<"div">;
1954
+ declare const StackTraceActions: React$1.MemoExoticComponent<({ className, children, ...props }: StackTraceActionsProps) => react_jsx_runtime.JSX.Element>;
1955
+ type StackTraceCopyButtonProps = ComponentProps<typeof Button> & {
1956
+ onCopy?: () => void;
1957
+ onError?: (error: Error) => void;
1958
+ timeout?: number;
1959
+ };
1960
+ declare const StackTraceCopyButton: React$1.MemoExoticComponent<({ onCopy, onError, timeout, className, children, ...props }: StackTraceCopyButtonProps) => react_jsx_runtime.JSX.Element>;
1961
+ type StackTraceExpandButtonProps = ComponentProps<"div">;
1962
+ declare const StackTraceExpandButton: React$1.MemoExoticComponent<({ className, ...props }: StackTraceExpandButtonProps) => react_jsx_runtime.JSX.Element>;
1963
+ type StackTraceContentProps = ComponentProps<typeof CollapsibleContent> & {
1964
+ maxHeight?: number;
1965
+ };
1966
+ declare const StackTraceContent: React$1.MemoExoticComponent<({ className, maxHeight, children, ...props }: StackTraceContentProps) => react_jsx_runtime.JSX.Element>;
1967
+ type StackTraceFramesProps = ComponentProps<"div"> & {
1968
+ showInternalFrames?: boolean;
1969
+ };
1970
+ declare const StackTraceFrames: React$1.MemoExoticComponent<({ className, showInternalFrames, ...props }: StackTraceFramesProps) => react_jsx_runtime.JSX.Element>;
1971
+
1972
+ type SuggestionsProps = ComponentProps<typeof ScrollArea>;
1973
+ declare const Suggestions: ({ className, children, ...props }: SuggestionsProps) => react_jsx_runtime.JSX.Element;
1974
+ type SuggestionProps = Omit<ComponentProps<typeof Button>, "onClick"> & {
1975
+ suggestion: string;
1976
+ onClick?: (suggestion: string) => void;
1977
+ };
1978
+ declare const Suggestion: ({ suggestion, onClick, className, variant, size, children, ...props }: SuggestionProps) => react_jsx_runtime.JSX.Element;
1979
+
1980
+ type TaskItemFileProps = ComponentProps<"div">;
1981
+ declare const TaskItemFile: ({ children, className, ...props }: TaskItemFileProps) => react_jsx_runtime.JSX.Element;
1982
+ type TaskItemProps = ComponentProps<"div">;
1983
+ declare const TaskItem: ({ children, className, ...props }: TaskItemProps) => react_jsx_runtime.JSX.Element;
1984
+ type TaskProps = ComponentProps<typeof Collapsible>;
1985
+ declare const Task: ({ defaultOpen, className, ...props }: TaskProps) => react_jsx_runtime.JSX.Element;
1986
+ type TaskTriggerProps = ComponentProps<typeof CollapsibleTrigger> & {
1987
+ title: string;
1988
+ };
1989
+ declare const TaskTrigger: ({ children, className, title, ...props }: TaskTriggerProps) => react_jsx_runtime.JSX.Element;
1990
+ type TaskContentProps = ComponentProps<typeof CollapsibleContent>;
1991
+ declare const TaskContent: ({ children, className, ...props }: TaskContentProps) => react_jsx_runtime.JSX.Element;
1992
+
1993
+ type TerminalProps = HTMLAttributes<HTMLDivElement> & {
1994
+ output: string;
1995
+ isStreaming?: boolean;
1996
+ autoScroll?: boolean;
1997
+ onClear?: () => void;
1998
+ };
1999
+ declare const Terminal: ({ output, isStreaming, autoScroll, onClear, className, children, ...props }: TerminalProps) => react_jsx_runtime.JSX.Element;
2000
+ type TerminalHeaderProps = HTMLAttributes<HTMLDivElement>;
2001
+ declare const TerminalHeader: ({ className, children, ...props }: TerminalHeaderProps) => react_jsx_runtime.JSX.Element;
2002
+ type TerminalTitleProps = HTMLAttributes<HTMLDivElement>;
2003
+ declare const TerminalTitle: ({ className, children, ...props }: TerminalTitleProps) => react_jsx_runtime.JSX.Element;
2004
+ type TerminalStatusProps = HTMLAttributes<HTMLDivElement>;
2005
+ declare const TerminalStatus: ({ className, children, ...props }: TerminalStatusProps) => react_jsx_runtime.JSX.Element | null;
2006
+ type TerminalActionsProps = HTMLAttributes<HTMLDivElement>;
2007
+ declare const TerminalActions: ({ className, children, ...props }: TerminalActionsProps) => react_jsx_runtime.JSX.Element;
2008
+ type TerminalCopyButtonProps = ComponentProps<typeof Button> & {
2009
+ onCopy?: () => void;
2010
+ onError?: (error: Error) => void;
2011
+ timeout?: number;
2012
+ };
2013
+ declare const TerminalCopyButton: ({ onCopy, onError, timeout, children, className, ...props }: TerminalCopyButtonProps) => react_jsx_runtime.JSX.Element;
2014
+ type TerminalClearButtonProps = ComponentProps<typeof Button>;
2015
+ declare const TerminalClearButton: ({ children, className, ...props }: TerminalClearButtonProps) => react_jsx_runtime.JSX.Element | null;
2016
+ type TerminalContentProps = HTMLAttributes<HTMLDivElement>;
2017
+ declare const TerminalContent: ({ className, children, ...props }: TerminalContentProps) => react_jsx_runtime.JSX.Element;
2018
+
2019
+ type TestResultsProps = HTMLAttributes<HTMLDivElement> & {
2020
+ summary?: TestResultsSummary;
2021
+ };
2022
+ declare const TestResults: ({ summary, className, children, ...props }: TestResultsProps) => react_jsx_runtime.JSX.Element;
2023
+ type TestResultsHeaderProps = HTMLAttributes<HTMLDivElement>;
2024
+ declare const TestResultsHeader: ({ className, children, ...props }: TestResultsHeaderProps) => react_jsx_runtime.JSX.Element;
2025
+ type TestResultsSummaryProps = HTMLAttributes<HTMLDivElement>;
2026
+ interface TestResultsSummary {
2027
+ passed: number;
2028
+ failed: number;
2029
+ skipped: number;
2030
+ total: number;
2031
+ duration?: number;
2032
+ }
2033
+ declare const TestResultsSummary: ({ className, children, ...props }: TestResultsSummaryProps) => react_jsx_runtime.JSX.Element | null;
2034
+ type TestResultsDurationProps = HTMLAttributes<HTMLSpanElement>;
2035
+ declare const TestResultsDuration: ({ className, children, ...props }: TestResultsDurationProps) => react_jsx_runtime.JSX.Element | null;
2036
+ type TestResultsProgressProps = HTMLAttributes<HTMLDivElement>;
2037
+ declare const TestResultsProgress: ({ className, children, ...props }: TestResultsProgressProps) => react_jsx_runtime.JSX.Element | null;
2038
+ type TestResultsContentProps = HTMLAttributes<HTMLDivElement>;
2039
+ declare const TestResultsContent: ({ className, children, ...props }: TestResultsContentProps) => react_jsx_runtime.JSX.Element;
2040
+ type TestSuiteProps = ComponentProps<typeof Collapsible> & {
2041
+ name: string;
2042
+ status: TestStatus;
2043
+ };
2044
+ declare const TestSuite: ({ name, status, className, children, ...props }: TestSuiteProps) => react_jsx_runtime.JSX.Element;
2045
+ type TestSuiteNameProps = ComponentProps<typeof CollapsibleTrigger>;
2046
+ declare const TestSuiteName: ({ className, children, ...props }: TestSuiteNameProps) => react_jsx_runtime.JSX.Element;
2047
+ type TestSuiteStatsProps = HTMLAttributes<HTMLDivElement> & {
2048
+ passed?: number;
2049
+ failed?: number;
2050
+ skipped?: number;
2051
+ };
2052
+ declare const TestSuiteStats: ({ passed, failed, skipped, className, children, ...props }: TestSuiteStatsProps) => react_jsx_runtime.JSX.Element;
2053
+ type TestSuiteContentProps = ComponentProps<typeof CollapsibleContent>;
2054
+ declare const TestSuiteContent: ({ className, children, ...props }: TestSuiteContentProps) => react_jsx_runtime.JSX.Element;
2055
+ type TestProps = HTMLAttributes<HTMLDivElement> & {
2056
+ name: string;
2057
+ status: TestStatus;
2058
+ duration?: number;
2059
+ };
2060
+ declare const Test: ({ name, status, duration, className, children, ...props }: TestProps) => react_jsx_runtime.JSX.Element;
2061
+ type TestStatusProps = HTMLAttributes<HTMLSpanElement>;
2062
+ type TestStatus = "passed" | "failed" | "skipped" | "running";
2063
+ declare const TestStatus: ({ className, children, ...props }: TestStatusProps) => react_jsx_runtime.JSX.Element;
2064
+ type TestNameProps = HTMLAttributes<HTMLSpanElement>;
2065
+ declare const TestName: ({ className, children, ...props }: TestNameProps) => react_jsx_runtime.JSX.Element;
2066
+ type TestDurationProps = HTMLAttributes<HTMLSpanElement>;
2067
+ declare const TestDuration: ({ className, children, ...props }: TestDurationProps) => react_jsx_runtime.JSX.Element | null;
2068
+ type TestErrorProps = HTMLAttributes<HTMLDivElement>;
2069
+ declare const TestError: ({ className, children, ...props }: TestErrorProps) => react_jsx_runtime.JSX.Element;
2070
+ type TestErrorMessageProps = HTMLAttributes<HTMLParagraphElement>;
2071
+ declare const TestErrorMessage: ({ className, children, ...props }: TestErrorMessageProps) => react_jsx_runtime.JSX.Element;
2072
+ type TestErrorStackProps = HTMLAttributes<HTMLPreElement>;
2073
+ declare const TestErrorStack: ({ className, children, ...props }: TestErrorStackProps) => react_jsx_runtime.JSX.Element;
2074
+
2075
+ type ToolProps = ComponentProps<typeof Collapsible>;
2076
+ declare const Tool: ({ className, ...props }: ToolProps) => react_jsx_runtime.JSX.Element;
2077
+ type ToolPart = ToolUIPart | DynamicToolUIPart;
2078
+ type ToolHeaderProps = {
2079
+ title?: string;
2080
+ className?: string;
2081
+ } & ({
2082
+ type: ToolUIPart["type"];
2083
+ state: ToolUIPart["state"];
2084
+ toolName?: never;
2085
+ } | {
2086
+ type: DynamicToolUIPart["type"];
2087
+ state: DynamicToolUIPart["state"];
2088
+ toolName: string;
2089
+ });
2090
+ declare const getStatusBadge: (status: ToolPart["state"]) => react_jsx_runtime.JSX.Element;
2091
+ declare const ToolHeader: ({ className, title, type, state, toolName, ...props }: ToolHeaderProps) => react_jsx_runtime.JSX.Element;
2092
+ type ToolContentProps = ComponentProps<typeof CollapsibleContent>;
2093
+ declare const ToolContent: ({ className, ...props }: ToolContentProps) => react_jsx_runtime.JSX.Element;
2094
+ type ToolInputProps = ComponentProps<"div"> & {
2095
+ input: ToolPart["input"];
2096
+ };
2097
+ declare const ToolInput: ({ className, input, ...props }: ToolInputProps) => react_jsx_runtime.JSX.Element;
2098
+ type ToolOutputProps = ComponentProps<"div"> & {
2099
+ output: ToolPart["output"];
2100
+ errorText: ToolPart["errorText"];
2101
+ };
2102
+ declare const ToolOutput: ({ className, output, errorText, ...props }: ToolOutputProps) => react_jsx_runtime.JSX.Element | null;
2103
+
2104
+ type ToolbarProps = ComponentProps<typeof NodeToolbar>;
2105
+ declare const Toolbar: ({ className, ...props }: ToolbarProps) => react_jsx_runtime.JSX.Element;
2106
+
2107
+ type TranscriptionProps = Omit<ComponentProps<"div">, "children"> & {
2108
+ segments: TranscriptionSegment[];
2109
+ currentTime?: number;
2110
+ onSeek?: (time: number) => void;
2111
+ children: (segment: TranscriptionSegment, index: number) => ReactNode;
2112
+ };
2113
+ declare const Transcription: ({ segments, currentTime: externalCurrentTime, onSeek, className, children, ...props }: TranscriptionProps) => react_jsx_runtime.JSX.Element;
2114
+ type TranscriptionSegmentProps = ComponentProps<"button"> & {
2115
+ segment: TranscriptionSegment;
2116
+ index: number;
2117
+ };
2118
+ type TranscriptionSegment = Experimental_TranscriptionResult["segments"][number];
2119
+ declare const TranscriptionSegment: ({ segment, index, className, onClick, ...props }: TranscriptionSegmentProps) => react_jsx_runtime.JSX.Element;
2120
+
2121
+ type VoiceSelectorAccentValue = 'american' | 'british' | 'australian' | 'canadian' | 'irish' | 'scottish' | 'indian' | 'south-african' | 'new-zealand' | 'spanish' | 'french' | 'german' | 'italian' | 'portuguese' | 'brazilian' | 'mexican' | 'argentinian' | 'japanese' | 'chinese' | 'korean' | 'russian' | 'arabic' | 'dutch' | 'swedish' | 'norwegian' | 'danish' | 'finnish' | 'polish' | 'turkish' | 'greek' | string;
2122
+ type VoiceSelectorAccentProps = ComponentProps<'span'> & {
2123
+ value?: VoiceSelectorAccentValue;
2124
+ };
2125
+ declare const VoiceSelectorAccent: ({ className, children, ...props }: VoiceSelectorAccentProps) => react_jsx_runtime.JSX.Element;
2126
+
2127
+ interface VoiceSelectorContextValue {
2128
+ value: string | undefined;
2129
+ setValue: (value: string | undefined) => void;
2130
+ open: boolean;
2131
+ setOpen: (open: boolean) => void;
2132
+ }
2133
+ declare const useVoiceSelector: () => VoiceSelectorContextValue;
2134
+ type VoiceSelectorProps = ComponentProps<typeof Dialog> & {
2135
+ value?: string;
2136
+ defaultValue?: string;
2137
+ onValueChange?: (value: string | undefined) => void;
2138
+ };
2139
+ declare const VoiceSelector: ({ value: valueProp, defaultValue, onValueChange, open: openProp, defaultOpen, onOpenChange, children, ...props }: VoiceSelectorProps) => react_jsx_runtime.JSX.Element;
2140
+ type VoiceSelectorTriggerProps = ComponentProps<typeof DialogTrigger>;
2141
+ declare const VoiceSelectorTrigger: (props: VoiceSelectorTriggerProps) => react_jsx_runtime.JSX.Element;
2142
+ type VoiceSelectorContentProps = ComponentProps<typeof DialogContent> & {
2143
+ title?: ReactNode;
2144
+ };
2145
+ declare const VoiceSelectorContent: ({ className, children, title, ...props }: VoiceSelectorContentProps) => react_jsx_runtime.JSX.Element;
2146
+ type VoiceSelectorDialogProps = ComponentProps<typeof CommandDialog>;
2147
+ declare const VoiceSelectorDialog: (props: VoiceSelectorDialogProps) => react_jsx_runtime.JSX.Element;
2148
+ type VoiceSelectorInputProps = ComponentProps<typeof CommandInput>;
2149
+ declare const VoiceSelectorInput: ({ className, ...props }: VoiceSelectorInputProps) => react_jsx_runtime.JSX.Element;
2150
+ type VoiceSelectorListProps = ComponentProps<typeof CommandList>;
2151
+ declare const VoiceSelectorList: (props: VoiceSelectorListProps) => react_jsx_runtime.JSX.Element;
2152
+ type VoiceSelectorEmptyProps = ComponentProps<typeof CommandEmpty>;
2153
+ declare const VoiceSelectorEmpty: (props: VoiceSelectorEmptyProps) => react_jsx_runtime.JSX.Element;
2154
+ type VoiceSelectorGroupProps = ComponentProps<typeof CommandGroup>;
2155
+ declare const VoiceSelectorGroup: (props: VoiceSelectorGroupProps) => react_jsx_runtime.JSX.Element;
2156
+ type VoiceSelectorItemProps = ComponentProps<typeof CommandItem>;
2157
+ declare const VoiceSelectorItem: ({ className, ...props }: VoiceSelectorItemProps) => react_jsx_runtime.JSX.Element;
2158
+ type VoiceSelectorShortcutProps = ComponentProps<typeof CommandShortcut>;
2159
+ declare const VoiceSelectorShortcut: (props: VoiceSelectorShortcutProps) => react_jsx_runtime.JSX.Element;
2160
+ type VoiceSelectorSeparatorProps = ComponentProps<typeof CommandSeparator>;
2161
+ declare const VoiceSelectorSeparator: (props: VoiceSelectorSeparatorProps) => react_jsx_runtime.JSX.Element;
2162
+ type VoiceSelectorGenderProps = ComponentProps<"span"> & {
2163
+ value?: "male" | "female" | "transgender" | "androgyne" | "non-binary" | "intersex";
2164
+ };
2165
+ declare const VoiceSelectorGender: ({ className, value, children, ...props }: VoiceSelectorGenderProps) => react_jsx_runtime.JSX.Element;
2166
+
2167
+ type VoiceSelectorAgeProps = ComponentProps<"span">;
2168
+ declare const VoiceSelectorAge: ({ className, ...props }: VoiceSelectorAgeProps) => react_jsx_runtime.JSX.Element;
2169
+ type VoiceSelectorNameProps = ComponentProps<"span">;
2170
+ declare const VoiceSelectorName: ({ className, ...props }: VoiceSelectorNameProps) => react_jsx_runtime.JSX.Element;
2171
+ type VoiceSelectorDescriptionProps = ComponentProps<"span">;
2172
+ declare const VoiceSelectorDescription: ({ className, ...props }: VoiceSelectorDescriptionProps) => react_jsx_runtime.JSX.Element;
2173
+ type VoiceSelectorAttributesProps = ComponentProps<"div">;
2174
+ declare const VoiceSelectorAttributes: ({ className, children, ...props }: VoiceSelectorAttributesProps) => react_jsx_runtime.JSX.Element;
2175
+ type VoiceSelectorBulletProps = ComponentProps<"span">;
2176
+ declare const VoiceSelectorBullet: ({ className, ...props }: VoiceSelectorBulletProps) => react_jsx_runtime.JSX.Element;
2177
+ type VoiceSelectorPreviewProps = Omit<ComponentProps<"button">, "children"> & {
2178
+ playing?: boolean;
2179
+ loading?: boolean;
2180
+ onPlay?: () => void;
2181
+ };
2182
+ declare const VoiceSelectorPreview: ({ className, playing, loading, onPlay, onClick, ...props }: VoiceSelectorPreviewProps) => react_jsx_runtime.JSX.Element;
2183
+
2184
+ interface WebPreviewContextValue {
2185
+ url: string;
2186
+ setUrl: (url: string) => void;
2187
+ consoleOpen: boolean;
2188
+ setConsoleOpen: (open: boolean) => void;
2189
+ }
2190
+ type WebPreviewProps = ComponentProps<"div"> & {
2191
+ defaultUrl?: string;
2192
+ onUrlChange?: (url: string) => void;
2193
+ };
2194
+ declare const WebPreview: ({ className, children, defaultUrl, onUrlChange, ...props }: WebPreviewProps) => react_jsx_runtime.JSX.Element;
2195
+ type WebPreviewNavigationProps = ComponentProps<"div">;
2196
+ declare const WebPreviewNavigation: ({ className, children, ...props }: WebPreviewNavigationProps) => react_jsx_runtime.JSX.Element;
2197
+ type WebPreviewNavigationButtonProps = ComponentProps<typeof Button> & {
2198
+ tooltip?: string;
2199
+ };
2200
+ declare const WebPreviewNavigationButton: ({ onClick, disabled, tooltip, children, ...props }: WebPreviewNavigationButtonProps) => react_jsx_runtime.JSX.Element;
2201
+ type WebPreviewUrlProps = ComponentProps<typeof Input>;
2202
+ declare const WebPreviewUrl: ({ value, onChange, onKeyDown, ...props }: WebPreviewUrlProps) => react_jsx_runtime.JSX.Element;
2203
+ type WebPreviewBodyProps = ComponentProps<"iframe"> & {
2204
+ loading?: ReactNode;
2205
+ };
2206
+ declare const WebPreviewBody: ({ className, loading, src, ...props }: WebPreviewBodyProps) => react_jsx_runtime.JSX.Element;
2207
+ type WebPreviewConsoleProps = ComponentProps<"div"> & {
2208
+ logs?: {
2209
+ level: "log" | "warn" | "error";
2210
+ message: string;
2211
+ timestamp: Date;
2212
+ }[];
2213
+ };
2214
+ declare const WebPreviewConsole: ({ className, logs, children, ...props }: WebPreviewConsoleProps) => react_jsx_runtime.JSX.Element;
2215
+
2216
+ interface AvailableModelPickerProps<TModel extends SharedModelInfo, TGroup extends SharedAvailableModelGroup<TModel>> {
2217
+ groups: TGroup[];
2218
+ value: string;
2219
+ onChange: (value: string) => void;
2220
+ placeholder?: string;
2221
+ searchPlaceholder?: string;
2222
+ emptyLabel?: string;
2223
+ noModelsLabel?: string;
2224
+ allowClear?: boolean;
2225
+ disabled?: boolean;
2226
+ className?: string;
2227
+ }
2228
+ declare function AvailableModelPicker<TModel extends SharedModelInfo, TGroup extends SharedAvailableModelGroup<TModel>>({ groups, value, onChange, placeholder, searchPlaceholder, emptyLabel, noModelsLabel, allowClear, disabled, className, }: AvailableModelPickerProps<TModel, TGroup>): react_jsx_runtime.JSX.Element;
2229
+
2230
+ interface ModelWarningListProps {
2231
+ warnings: ModelValidationWarning[];
2232
+ className?: string;
2233
+ }
2234
+ declare function ModelWarningList({ warnings, className }: ModelWarningListProps): react_jsx_runtime.JSX.Element | null;
2235
+
2236
+ interface ThinkingLevelPickerProps {
2237
+ value: string;
2238
+ onChange: (value: ThinkingLevel) => void;
2239
+ availableLevels?: readonly string[];
2240
+ disabled?: boolean;
2241
+ showUnsupported?: boolean;
2242
+ className?: string;
2243
+ }
2244
+ declare function ThinkingLevelPicker({ value, onChange, availableLevels, disabled, showUnsupported, className, }: ThinkingLevelPickerProps): react_jsx_runtime.JSX.Element;
2245
+
2246
+ export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Agent, AgentContent, type AgentContentProps, AgentHeader, type AgentHeaderProps, AgentInstructions, type AgentInstructionsProps, AgentOutput, type AgentOutputProps, type AgentProps, AgentTool, type AgentToolProps, AgentTools, type AgentToolsProps, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogMedia, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, type ApplyThemeOptions, Artifact, ArtifactAction, type ArtifactActionProps, ArtifactActions, type ArtifactActionsProps, ArtifactClose, type ArtifactCloseProps, ArtifactContent, type ArtifactContentProps, ArtifactDescription, type ArtifactDescriptionProps, ArtifactHeader, type ArtifactHeaderProps, type ArtifactProps, ArtifactTitle, type ArtifactTitleProps, AspectRatio, Attachment, type AttachmentData, AttachmentEmpty, type AttachmentEmptyProps, AttachmentHoverCard, AttachmentHoverCardContent, type AttachmentHoverCardContentProps, type AttachmentHoverCardProps, AttachmentHoverCardTrigger, type AttachmentHoverCardTriggerProps, AttachmentInfo, type AttachmentInfoProps, type AttachmentMediaCategory, AttachmentPreview, type AttachmentPreviewProps, type AttachmentProps, AttachmentRemove, type AttachmentRemoveProps, type AttachmentVariant, Attachments, type AttachmentsContext, type AttachmentsProps, AudioPlayer, AudioPlayerControlBar, type AudioPlayerControlBarProps, AudioPlayerDurationDisplay, type AudioPlayerDurationDisplayProps, AudioPlayerElement, type AudioPlayerElementProps, AudioPlayerMuteButton, type AudioPlayerMuteButtonProps, AudioPlayerPlayButton, type AudioPlayerPlayButtonProps, type AudioPlayerProps, AudioPlayerSeekBackwardButton, type AudioPlayerSeekBackwardButtonProps, AudioPlayerSeekForwardButton, type AudioPlayerSeekForwardButtonProps, AudioPlayerTimeDisplay, type AudioPlayerTimeDisplayProps, AudioPlayerTimeRange, type AudioPlayerTimeRangeProps, AudioPlayerVolumeRange, type AudioPlayerVolumeRangeProps, AvailableModelPicker, Avatar, AvatarBadge, AvatarFallback, AvatarGroup, AvatarGroupCount, AvatarImage, Badge, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, ButtonGroup, ButtonGroupSeparator, ButtonGroupText, Calendar, CalendarDayButton, Canvas, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, type CarouselApi, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, ChainOfThought, ChainOfThoughtContent, type ChainOfThoughtContentProps, ChainOfThoughtHeader, type ChainOfThoughtHeaderProps, ChainOfThoughtImage, type ChainOfThoughtImageProps, type ChainOfThoughtProps, ChainOfThoughtSearchResult, type ChainOfThoughtSearchResultProps, ChainOfThoughtSearchResults, type ChainOfThoughtSearchResultsProps, ChainOfThoughtStep, type ChainOfThoughtStepProps, type ChartConfig, ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent, Checkbox, Checkpoint, CheckpointIcon, type CheckpointIconProps, type CheckpointProps, CheckpointTrigger, type CheckpointTriggerProps, CodeBlock, CodeBlockActions, CodeBlockContainer, CodeBlockContent, CodeBlockCopyButton, type CodeBlockCopyButtonProps, CodeBlockFilename, CodeBlockHeader, CodeBlockLanguageSelector, CodeBlockLanguageSelectorContent, type CodeBlockLanguageSelectorContentProps, CodeBlockLanguageSelectorItem, type CodeBlockLanguageSelectorItemProps, type CodeBlockLanguageSelectorProps, CodeBlockLanguageSelectorTrigger, type CodeBlockLanguageSelectorTriggerProps, CodeBlockLanguageSelectorValue, type CodeBlockLanguageSelectorValueProps, CodeBlockTitle, Collapsible, CollapsibleContent, CollapsibleTrigger, type ColorTokens, Combobox, ComboboxChip, ComboboxChips, ComboboxChipsInput, ComboboxCollection, ComboboxContent, ComboboxEmpty, ComboboxGroup, ComboboxInput, ComboboxItem, ComboboxLabel, ComboboxList, ComboboxSeparator, ComboboxTrigger, ComboboxValue, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, Commit, CommitActions, type CommitActionsProps, CommitAuthor, CommitAuthorAvatar, type CommitAuthorAvatarProps, type CommitAuthorProps, CommitContent, type CommitContentProps, CommitCopyButton, type CommitCopyButtonProps, CommitFile, CommitFileAdditions, type CommitFileAdditionsProps, CommitFileChanges, type CommitFileChangesProps, CommitFileDeletions, type CommitFileDeletionsProps, CommitFileIcon, type CommitFileIconProps, CommitFileInfo, type CommitFileInfoProps, CommitFilePath, type CommitFilePathProps, type CommitFileProps, CommitFileStatus, type CommitFileStatusProps, CommitFiles, type CommitFilesProps, CommitHash, type CommitHashProps, CommitHeader, type CommitHeaderProps, CommitInfo, type CommitInfoProps, CommitMessage, type CommitMessageProps, CommitMetadata, type CommitMetadataProps, type CommitProps, CommitSeparator, type CommitSeparatorProps, CommitTimestamp, type CommitTimestampProps, 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, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, ContextOutputUsage, type ContextOutputUsageProps, type ContextProps, ContextReasoningUsage, type ContextReasoningUsageProps, ContextTrigger, type ContextTriggerProps, Controls, type ControlsProps, Conversation, ConversationContent, type ConversationContentProps, ConversationDownload, type ConversationDownloadProps, ConversationEmptyState, type ConversationEmptyStateProps, type ConversationMessage, type ConversationProps, ConversationScrollButton, type ConversationScrollButtonProps, DEFAULT_DARK_COLORS, DEFAULT_LIGHT_COLORS, DEFAULT_RADIUS, DEFAULT_SPACING, DEFAULT_THEME_ID, DEFAULT_TYPOGRAPHY, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DirectionProvider, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Edge, Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, EmptyTitle, EnvironmentVariable, EnvironmentVariableCopyButton, type EnvironmentVariableCopyButtonProps, EnvironmentVariableGroup, type EnvironmentVariableGroupProps, EnvironmentVariableName, type EnvironmentVariableNameProps, type EnvironmentVariableProps, EnvironmentVariableRequired, type EnvironmentVariableRequiredProps, EnvironmentVariableValue, type EnvironmentVariableValueProps, EnvironmentVariables, EnvironmentVariablesContent, type EnvironmentVariablesContentProps, EnvironmentVariablesHeader, type EnvironmentVariablesHeaderProps, type EnvironmentVariablesProps, EnvironmentVariablesTitle, type EnvironmentVariablesTitleProps, EnvironmentVariablesToggle, type EnvironmentVariablesToggleProps, Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle, FileTree, FileTreeActions, type FileTreeActionsProps, FileTreeFile, type FileTreeFileProps, FileTreeFolder, type FileTreeFolderProps, FileTreeIcon, type FileTreeIconProps, FileTreeName, type FileTreeNameProps, type FileTreeProps, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, HoverCard, HoverCardContent, HoverCardTrigger, Image, type ImageProps, 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, Input, InputGroup, InputGroupAddon, InputGroupButton, InputGroupInput, InputGroupText, InputGroupTextarea, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, Item, ItemActions, ItemContent, ItemDescription, ItemFooter, ItemGroup, ItemHeader, ItemMedia, ItemSeparator, ItemTitle, JSXPreview, JSXPreviewContent, type JSXPreviewContentProps, JSXPreviewError, type JSXPreviewErrorProps, type JSXPreviewProps, Kbd, KbdGroup, Label, LocalAttachmentsContext, LocalReferencedSourcesContext, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, Message, MessageAction, type MessageActionProps, MessageActions, type MessageActionsProps, MessageBranch, MessageBranchContent, type MessageBranchContentProps, MessageBranchNext, type MessageBranchNextProps, MessageBranchPage, type MessageBranchPageProps, MessageBranchPrevious, type MessageBranchPreviousProps, type MessageBranchProps, MessageBranchSelector, type MessageBranchSelectorProps, MessageContent, type MessageContentProps, type MessageProps, MessageResponse, type MessageResponseProps, MessageToolbar, type MessageToolbarProps, MicSelector, MicSelectorContent, type MicSelectorContentProps, MicSelectorEmpty, type MicSelectorEmptyProps, MicSelectorInput, type MicSelectorInputProps, MicSelectorItem, type MicSelectorItemProps, MicSelectorLabel, type MicSelectorLabelProps, MicSelectorList, type MicSelectorListProps, type MicSelectorProps, MicSelectorTrigger, type MicSelectorTriggerProps, MicSelectorValue, type MicSelectorValueProps, 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, ModelWarningList, NativeSelect, NativeSelectOptGroup, NativeSelectOption, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, Node, NodeAction, type NodeActionProps, NodeContent, type NodeContentProps, NodeDescription, type NodeDescriptionProps, NodeFooter, type NodeFooterProps, NodeHeader, type NodeHeaderProps, type NodeProps, NodeTitle, type NodeTitleProps, OpenIn, OpenInChatGPT, type OpenInChatGPTProps, OpenInClaude, type OpenInClaudeProps, OpenInContent, type OpenInContentProps, OpenInCursor, type OpenInCursorProps, OpenInItem, type OpenInItemProps, OpenInLabel, type OpenInLabelProps, type OpenInProps, OpenInScira, type OpenInSciraProps, OpenInSeparator, type OpenInSeparatorProps, OpenInT3, type OpenInT3Props, OpenInTrigger, type OpenInTriggerProps, OpenInv0, type OpenInv0Props, PackageInfo, PackageInfoChangeType, type PackageInfoChangeTypeProps, PackageInfoContent, type PackageInfoContentProps, PackageInfoDependencies, type PackageInfoDependenciesProps, PackageInfoDependency, type PackageInfoDependencyProps, PackageInfoDescription, type PackageInfoDescriptionProps, PackageInfoHeader, type PackageInfoHeaderProps, PackageInfoName, type PackageInfoNameProps, type PackageInfoProps, PackageInfoVersion, type PackageInfoVersionProps, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, Panel, Persona, type PersonaState, Plan, PlanAction, type PlanActionProps, PlanContent, type PlanContentProps, PlanDescription, type PlanDescriptionProps, PlanFooter, type PlanFooterProps, PlanHeader, type PlanHeaderProps, type PlanProps, PlanTitle, type PlanTitleProps, PlanTrigger, type PlanTriggerProps, PluginSafetyDisclaimer, type PluginSafetyDisclaimerProps, Popover, PopoverAnchor, PopoverContent, PopoverDescription, PopoverHeader, PopoverTitle, PopoverTrigger, Progress, PromptInput, PromptInputActionAddAttachments, type PromptInputActionAddAttachmentsProps, PromptInputActionMenu, PromptInputActionMenuContent, type PromptInputActionMenuContentProps, PromptInputActionMenuItem, type PromptInputActionMenuItemProps, type PromptInputActionMenuProps, PromptInputActionMenuTrigger, type PromptInputActionMenuTriggerProps, PromptInputBody, type PromptInputBodyProps, PromptInputButton, type PromptInputButtonProps, type PromptInputButtonTooltip, 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, 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, RadioGroup, RadioGroupItem, type RadiusTokens, Reasoning, ReasoningContent, type ReasoningContentProps, type ReasoningProps, ReasoningTrigger, type ReasoningTriggerProps, type ReferencedSourcesContext, ResizableHandle, ResizablePanel, ResizablePanelGroup, Sandbox, SandboxContent, type SandboxContentProps, SandboxHeader, type SandboxHeaderProps, type SandboxRootProps, SandboxTabContent, type SandboxTabContentProps, SandboxTabs, SandboxTabsBar, type SandboxTabsBarProps, SandboxTabsList, type SandboxTabsListProps, type SandboxTabsProps, SandboxTabsTrigger, type SandboxTabsTriggerProps, SchemaDisplay, SchemaDisplayBody, type SchemaDisplayBodyProps, SchemaDisplayContent, type SchemaDisplayContentProps, SchemaDisplayDescription, type SchemaDisplayDescriptionProps, SchemaDisplayExample, type SchemaDisplayExampleProps, SchemaDisplayHeader, type SchemaDisplayHeaderProps, SchemaDisplayMethod, type SchemaDisplayMethodProps, SchemaDisplayParameter, type SchemaDisplayParameterProps, SchemaDisplayParameters, type SchemaDisplayParametersProps, SchemaDisplayPath, type SchemaDisplayPathProps, SchemaDisplayProperty, type SchemaDisplayPropertyProps, type SchemaDisplayProps, SchemaDisplayRequest, type SchemaDisplayRequestProps, SchemaDisplayResponse, type SchemaDisplayResponseProps, ScrollArea, ScrollBar, SearchInput, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, Shimmer, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, Skeleton, Slider, Snippet, SnippetAddon, type SnippetAddonProps, SnippetCopyButton, type SnippetCopyButtonProps, SnippetInput, type SnippetInputProps, type SnippetProps, SnippetText, type SnippetTextProps, Source, type SourceProps, Sources, SourcesContent, type SourcesContentProps, type SourcesProps, SourcesTrigger, type SourcesTriggerProps, type SpacingTokens, SpeechInput, type SpeechInputProps, Spinner, StackTrace, StackTraceActions, type StackTraceActionsProps, StackTraceContent, type StackTraceContentProps, StackTraceCopyButton, type StackTraceCopyButtonProps, StackTraceError, StackTraceErrorMessage, type StackTraceErrorMessageProps, type StackTraceErrorProps, StackTraceErrorType, type StackTraceErrorTypeProps, StackTraceExpandButton, type StackTraceExpandButtonProps, StackTraceFrames, type StackTraceFramesProps, StackTraceHeader, type StackTraceHeaderProps, type StackTraceProps, Suggestion, type SuggestionProps, Suggestions, type SuggestionsProps, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Task, TaskContent, type TaskContentProps, TaskItem, TaskItemFile, type TaskItemFileProps, type TaskItemProps, type TaskProps, TaskTrigger, type TaskTriggerProps, Terminal, TerminalActions, type TerminalActionsProps, TerminalClearButton, type TerminalClearButtonProps, type TerminalColorTokens, TerminalContent, type TerminalContentProps, TerminalCopyButton, type TerminalCopyButtonProps, TerminalHeader, type TerminalHeaderProps, type TerminalProps, TerminalStatus, type TerminalStatusProps, TerminalTitle, type TerminalTitleProps, Test, TestDuration, type TestDurationProps, TestError, TestErrorMessage, type TestErrorMessageProps, type TestErrorProps, TestErrorStack, type TestErrorStackProps, TestName, type TestNameProps, type TestProps, TestResults, TestResultsContent, type TestResultsContentProps, TestResultsDuration, type TestResultsDurationProps, TestResultsHeader, type TestResultsHeaderProps, TestResultsProgress, type TestResultsProgressProps, type TestResultsProps, TestResultsSummary, type TestResultsSummaryProps, TestStatus, type TestStatusProps, TestSuite, TestSuiteContent, type TestSuiteContentProps, TestSuiteName, type TestSuiteNameProps, type TestSuiteProps, TestSuiteStats, type TestSuiteStatsProps, type TextInputContext, type TextShimmerProps, Textarea, type ThemeMode, type ThemePreset, type ThemePresetMeta, ThinkingLevelPicker, Toaster, Toggle, ToggleGroup, ToggleGroupItem, Tool, ToolContent, type ToolContentProps, ToolHeader, type ToolHeaderProps, ToolInput, type ToolInputProps, ToolOutput, type ToolOutputProps, type ToolPart, type ToolProps, Toolbar, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, Transcription, type TranscriptionProps, TranscriptionSegment, type TranscriptionSegmentProps, Tree, TreeDragLine, TreeItem, TreeItemLabel, type TypographyTokens, VoiceSelector, VoiceSelectorAccent, type VoiceSelectorAccentProps, type VoiceSelectorAccentValue, VoiceSelectorAge, type VoiceSelectorAgeProps, VoiceSelectorAttributes, type VoiceSelectorAttributesProps, VoiceSelectorBullet, type VoiceSelectorBulletProps, VoiceSelectorContent, type VoiceSelectorContentProps, VoiceSelectorDescription, type VoiceSelectorDescriptionProps, VoiceSelectorDialog, type VoiceSelectorDialogProps, VoiceSelectorEmpty, type VoiceSelectorEmptyProps, VoiceSelectorGender, type VoiceSelectorGenderProps, VoiceSelectorGroup, type VoiceSelectorGroupProps, VoiceSelectorInput, type VoiceSelectorInputProps, VoiceSelectorItem, type VoiceSelectorItemProps, VoiceSelectorList, type VoiceSelectorListProps, VoiceSelectorName, type VoiceSelectorNameProps, VoiceSelectorPreview, type VoiceSelectorPreviewProps, type VoiceSelectorProps, VoiceSelectorSeparator, type VoiceSelectorSeparatorProps, VoiceSelectorShortcut, type VoiceSelectorShortcutProps, VoiceSelectorTrigger, type VoiceSelectorTriggerProps, WebPreview, WebPreviewBody, type WebPreviewBodyProps, WebPreviewConsole, type WebPreviewConsoleProps, type WebPreviewContextValue, WebPreviewNavigation, WebPreviewNavigationButton, type WebPreviewNavigationButtonProps, type WebPreviewNavigationProps, type WebPreviewProps, WebPreviewUrl, type WebPreviewUrlProps, applyThemePreset, badgeVariants, buttonGroupVariants, buttonVariants, cn, getAttachmentLabel, getMediaCategory, getStatusBadge, highlightCode, messagesToMarkdown, navigationMenuTriggerStyle, resetTheme, tabsListVariants, toggleVariants, useAttachmentContext, useAttachmentsContext, useAudioDevices, useComboboxAnchor, useDirection, useFormField, useIsMobile, useJSXPreview, useOptionalPromptInputController, usePromptInputAttachments, usePromptInputController, usePromptInputReferencedSources, useProviderAttachments, useReasoning, useSidebar, useVoiceSelector, validateThemePreset };