@hex-core/components 1.4.0 → 1.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (127) hide show
  1. package/dist/_tsup-dts-rollup.d.ts +3556 -0
  2. package/dist/accordion.d.ts +4 -13
  3. package/dist/alert-dialog.d.ts +11 -34
  4. package/dist/alert.d.ts +4 -17
  5. package/dist/aspect-ratio.d.ts +1 -7
  6. package/dist/attachment.d.ts +4 -0
  7. package/dist/attachment.js +157 -0
  8. package/dist/attachment.js.map +1 -0
  9. package/dist/avatar.d.ts +3 -11
  10. package/dist/badge.d.ts +3 -22
  11. package/dist/breadcrumb.d.ts +7 -27
  12. package/dist/button.d.ts +3 -13
  13. package/dist/calendar.d.ts +1 -17
  14. package/dist/card.d.ts +6 -16
  15. package/dist/checkbox.d.ts +2 -11
  16. package/dist/citation.d.ts +2 -0
  17. package/dist/citation.js +70 -0
  18. package/dist/citation.js.map +1 -0
  19. package/dist/cluster.d.ts +3 -34
  20. package/dist/code-block-copy.d.ts +2 -0
  21. package/dist/code-block-copy.js +108 -0
  22. package/dist/code-block-copy.js.map +1 -0
  23. package/dist/code-block.d.ts +3 -0
  24. package/dist/code-block.js +90 -0
  25. package/dist/code-block.js.map +1 -0
  26. package/dist/collapsible.d.ts +3 -11
  27. package/dist/color-picker.d.ts +2 -44
  28. package/dist/combobox.d.ts +3 -45
  29. package/dist/command.d.ts +9 -111
  30. package/dist/composer.d.ts +2 -0
  31. package/dist/composer.js +75 -0
  32. package/dist/composer.js.map +1 -0
  33. package/dist/container.d.ts +3 -41
  34. package/dist/context-menu.d.ts +12 -37
  35. package/dist/data-table.d.ts +2 -33
  36. package/dist/date-picker.d.ts +2 -43
  37. package/dist/dialog.d.ts +11 -46
  38. package/dist/drawer.d.ts +10 -41
  39. package/dist/dropdown-menu.d.ts +13 -39
  40. package/dist/dropzone.d.ts +3 -54
  41. package/dist/dropzone.js +46 -44
  42. package/dist/dropzone.js.map +1 -1
  43. package/dist/empty.d.ts +3 -0
  44. package/dist/empty.js +94 -0
  45. package/dist/empty.js.map +1 -0
  46. package/dist/error-state.d.ts +3 -0
  47. package/dist/error-state.js +67 -0
  48. package/dist/error-state.js.map +1 -0
  49. package/dist/file-tree.d.ts +3 -53
  50. package/dist/form.d.ts +8 -45
  51. package/dist/grid.d.ts +3 -50
  52. package/dist/hover-card.d.ts +3 -11
  53. package/dist/index.d.ts +325 -179
  54. package/dist/index.js +1592 -122
  55. package/dist/index.js.map +1 -1
  56. package/dist/input-otp.d.ts +5 -19
  57. package/dist/input.d.ts +2 -6
  58. package/dist/label.d.ts +2 -11
  59. package/dist/loading-indicator.d.ts +3 -0
  60. package/dist/loading-indicator.js +64 -0
  61. package/dist/loading-indicator.js.map +1 -0
  62. package/dist/loading.d.ts +3 -0
  63. package/dist/loading.js +80 -0
  64. package/dist/loading.js.map +1 -0
  65. package/dist/markdown.d.ts +2 -0
  66. package/dist/markdown.js +28 -0
  67. package/dist/markdown.js.map +1 -0
  68. package/dist/menubar.d.ts +11 -35
  69. package/dist/message-actions.d.ts +2 -0
  70. package/dist/message-actions.js +28 -0
  71. package/dist/message-actions.js.map +1 -0
  72. package/dist/message-list.d.ts +2 -0
  73. package/dist/message-list.js +49 -0
  74. package/dist/message-list.js.map +1 -0
  75. package/dist/message.d.ts +3 -0
  76. package/dist/message.js +35 -0
  77. package/dist/message.js.map +1 -0
  78. package/dist/multi-combobox.d.ts +3 -51
  79. package/dist/navigation-menu.d.ts +9 -23
  80. package/dist/pagination.d.ts +7 -40
  81. package/dist/popover.d.ts +4 -13
  82. package/dist/progress.d.ts +1 -10
  83. package/dist/radio-group.d.ts +2 -9
  84. package/dist/reasoning.d.ts +2 -0
  85. package/dist/reasoning.js +90 -0
  86. package/dist/reasoning.js.map +1 -0
  87. package/dist/resizable.d.ts +3 -28
  88. package/dist/schemas.d.ts +79 -121
  89. package/dist/schemas.js +1649 -1
  90. package/dist/schemas.js.map +1 -1
  91. package/dist/scroll-area.d.ts +3 -18
  92. package/dist/select.d.ts +8 -21
  93. package/dist/separator.d.ts +2 -11
  94. package/dist/sheet.d.ts +10 -39
  95. package/dist/sidebar.d.ts +8 -75
  96. package/dist/skeleton.d.ts +1 -11
  97. package/dist/slider.d.ts +2 -20
  98. package/dist/sonner.d.ts +2 -14
  99. package/dist/spacer.d.ts +3 -38
  100. package/dist/stack.d.ts +3 -34
  101. package/dist/stepper.d.ts +4 -48
  102. package/dist/suggestion.d.ts +2 -0
  103. package/dist/suggestion.js +55 -0
  104. package/dist/suggestion.js.map +1 -0
  105. package/dist/switch.d.ts +2 -11
  106. package/dist/table.d.ts +8 -24
  107. package/dist/tabs.d.ts +4 -13
  108. package/dist/tag.d.ts +3 -0
  109. package/dist/tag.js +107 -0
  110. package/dist/tag.js.map +1 -0
  111. package/dist/textarea.d.ts +2 -10
  112. package/dist/time-picker.d.ts +2 -34
  113. package/dist/timeline.d.ts +4 -42
  114. package/dist/toggle-group.d.ts +2 -17
  115. package/dist/toggle.d.ts +2 -19
  116. package/dist/tool-call.d.ts +2 -0
  117. package/dist/tool-call.js +133 -0
  118. package/dist/tool-call.js.map +1 -0
  119. package/dist/toolbar.d.ts +8 -0
  120. package/dist/toolbar.js +120 -0
  121. package/dist/toolbar.js.map +1 -0
  122. package/dist/tooltip.d.ts +4 -13
  123. package/dist/tree.d.ts +3 -0
  124. package/dist/tree.js +275 -0
  125. package/dist/tree.js.map +1 -0
  126. package/package.json +5 -1
  127. package/dist/button-variants-Bx6gCUFp.d.ts +0 -19
@@ -0,0 +1,3556 @@
1
+ import * as AccordionPrimitive from '@radix-ui/react-accordion';
2
+ import * as AlertDialogPrimitive from '@radix-ui/react-alert-dialog';
3
+ import * as AspectRatioPrimitive from '@radix-ui/react-aspect-ratio';
4
+ import * as AvatarPrimitive from '@radix-ui/react-avatar';
5
+ import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
6
+ import { ClassProp } from 'class-variance-authority/types';
7
+ import { ClassValue } from 'clsx';
8
+ import * as CollapsiblePrimitive from '@radix-ui/react-collapsible';
9
+ import { ColumnDef } from '@tanstack/react-table';
10
+ import type { ComponentSchemaDefinition } from '@hex-core/registry';
11
+ import * as ContextMenuPrimitive from '@radix-ui/react-context-menu';
12
+ import { ControllerProps } from 'react-hook-form';
13
+ import { DayPicker } from 'react-day-picker';
14
+ import { DialogCloseProps } from '@radix-ui/react-dialog';
15
+ import { DialogContentProps as DialogContentProps_2 } from '@radix-ui/react-dialog';
16
+ import { DialogDescriptionProps } from '@radix-ui/react-dialog';
17
+ import { DialogOverlayProps } from '@radix-ui/react-dialog';
18
+ import * as DialogPrimitive from '@radix-ui/react-dialog';
19
+ import { DialogTitleProps } from '@radix-ui/react-dialog';
20
+ import { DialogTriggerProps } from '@radix-ui/react-dialog';
21
+ import { Drawer as Drawer_2 } from 'vaul';
22
+ import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
23
+ import { FieldError } from 'react-hook-form';
24
+ import { FieldPath } from 'react-hook-form';
25
+ import { FieldValues } from 'react-hook-form';
26
+ import { FormProviderProps } from 'react-hook-form';
27
+ import { ForwardRefExoticComponent } from 'react';
28
+ import { Group } from 'react-resizable-panels';
29
+ import * as HoverCardPrimitive from '@radix-ui/react-hover-card';
30
+ import { JSX } from 'react/jsx-runtime';
31
+ import * as LabelPrimitive from '@radix-ui/react-label';
32
+ import * as MenubarPrimitive from '@radix-ui/react-menubar';
33
+ import * as NavigationMenuPrimitive from '@radix-ui/react-navigation-menu';
34
+ import { OTPInput } from 'input-otp';
35
+ import { Panel } from 'react-resizable-panels';
36
+ import * as PopoverPrimitive from '@radix-ui/react-popover';
37
+ import { Portal } from 'vaul';
38
+ import * as ProgressPrimitive from '@radix-ui/react-progress';
39
+ import * as RadioGroupPrimitive from '@radix-ui/react-radio-group';
40
+ import * as React_2 from 'react';
41
+ import { RefAttributes } from 'react';
42
+ import * as ScrollAreaPrimitive from '@radix-ui/react-scroll-area';
43
+ import * as SelectPrimitive from '@radix-ui/react-select';
44
+ import { Separator as Separator_2 } from 'react-resizable-panels';
45
+ import * as SeparatorPrimitive from '@radix-ui/react-separator';
46
+ import * as SliderPrimitive from '@radix-ui/react-slider';
47
+ import { SlotProps } from '@radix-ui/react-slot';
48
+ import * as SwitchPrimitive from '@radix-ui/react-switch';
49
+ import * as TabsPrimitive from '@radix-ui/react-tabs';
50
+ import { toast } from 'sonner';
51
+ import { Toaster as Toaster_2 } from 'sonner';
52
+ import * as ToggleGroupPrimitive from '@radix-ui/react-toggle-group';
53
+ import * as TogglePrimitive from '@radix-ui/react-toggle';
54
+ import * as ToolbarPrimitive from '@radix-ui/react-toolbar';
55
+ import * as TooltipPrimitive from '@radix-ui/react-tooltip';
56
+ import { VariantProps } from 'class-variance-authority';
57
+
58
+ /** Root container for accordion items. Supports single or multiple open items. */
59
+ declare const Accordion: React_2.ForwardRefExoticComponent<(AccordionPrimitive.AccordionSingleProps | AccordionPrimitive.AccordionMultipleProps) & React_2.RefAttributes<HTMLDivElement>>;
60
+ export { Accordion }
61
+ export { Accordion as Accordion_alias_1 }
62
+
63
+ /** The collapsible content panel of an AccordionItem. */
64
+ declare const AccordionContent: React_2.ForwardRefExoticComponent<Omit<AccordionPrimitive.AccordionContentProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
65
+ export { AccordionContent }
66
+ export { AccordionContent as AccordionContent_alias_1 }
67
+
68
+ /** A single collapsible item within an Accordion. */
69
+ declare const AccordionItem: React_2.ForwardRefExoticComponent<Omit<AccordionPrimitive.AccordionItemProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
70
+ export { AccordionItem }
71
+ export { AccordionItem as AccordionItem_alias_1 }
72
+
73
+ declare const accordionSchema: ComponentSchemaDefinition;
74
+ export { accordionSchema }
75
+ export { accordionSchema as accordionSchema_alias_1 }
76
+
77
+ /** The clickable header that toggles an AccordionItem open/closed. */
78
+ declare const AccordionTrigger: React_2.ForwardRefExoticComponent<Omit<AccordionPrimitive.AccordionTriggerProps & React_2.RefAttributes<HTMLButtonElement>, "ref"> & React_2.RefAttributes<HTMLButtonElement>>;
79
+ export { AccordionTrigger }
80
+ export { AccordionTrigger as AccordionTrigger_alias_1 }
81
+
82
+ /** An inline notification banner for important messages. */
83
+ declare const Alert: React_2.ForwardRefExoticComponent<React_2.HTMLAttributes<HTMLDivElement> & VariantProps<(props?: ({
84
+ variant?: "default" | "destructive" | null | undefined;
85
+ } & ClassProp) | undefined) => string> & React_2.RefAttributes<HTMLDivElement>>;
86
+ export { Alert }
87
+ export { Alert as Alert_alias_1 }
88
+
89
+ /** The alert description. Renders a div so paragraph children can be styled via [&_p]. */
90
+ declare const AlertDescription: React_2.ForwardRefExoticComponent<React_2.HTMLAttributes<HTMLDivElement> & React_2.RefAttributes<HTMLDivElement>>;
91
+ export { AlertDescription }
92
+ export { AlertDescription as AlertDescription_alias_1 }
93
+
94
+ /** Root container for a destructive-action confirmation dialog. */
95
+ declare const AlertDialog: React_2.FC<AlertDialogPrimitive.AlertDialogProps>;
96
+ export { AlertDialog }
97
+ export { AlertDialog as AlertDialog_alias_1 }
98
+
99
+ /** The destructive action button (e.g. Delete). Receives focus by default. */
100
+ declare const AlertDialogAction: React_2.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogActionProps & React_2.RefAttributes<HTMLButtonElement>, "ref"> & React_2.RefAttributes<HTMLButtonElement>>;
101
+ export { AlertDialogAction }
102
+ export { AlertDialogAction as AlertDialogAction_alias_1 }
103
+
104
+ /** The cancel button. Closes the dialog. */
105
+ declare const AlertDialogCancel: React_2.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogCancelProps & React_2.RefAttributes<HTMLButtonElement>, "ref"> & React_2.RefAttributes<HTMLButtonElement>>;
106
+ export { AlertDialogCancel }
107
+ export { AlertDialogCancel as AlertDialogCancel_alias_1 }
108
+
109
+ /** Content panel for the alert dialog. No close button — user must choose action or cancel. */
110
+ declare const AlertDialogContent: React_2.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogContentProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
111
+ export { AlertDialogContent }
112
+ export { AlertDialogContent as AlertDialogContent_alias_1 }
113
+
114
+ /** Accessible description for the alert dialog. */
115
+ declare const AlertDialogDescription: React_2.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogDescriptionProps & React_2.RefAttributes<HTMLParagraphElement>, "ref"> & React_2.RefAttributes<HTMLParagraphElement>>;
116
+ export { AlertDialogDescription }
117
+ export { AlertDialogDescription as AlertDialogDescription_alias_1 }
118
+
119
+ /**
120
+ * Footer container for Cancel/Action buttons.
121
+ * @returns A div stacking buttons on mobile and right-aligning on desktop
122
+ */
123
+ declare function AlertDialogFooter({ className, ...props }: React_2.HTMLAttributes<HTMLDivElement>): JSX.Element;
124
+ export { AlertDialogFooter }
125
+ export { AlertDialogFooter as AlertDialogFooter_alias_1 }
126
+
127
+ /**
128
+ * Header container for title + description.
129
+ * @returns A div wrapping title/description with vertical rhythm
130
+ */
131
+ declare function AlertDialogHeader({ className, ...props }: React_2.HTMLAttributes<HTMLDivElement>): JSX.Element;
132
+ export { AlertDialogHeader }
133
+ export { AlertDialogHeader as AlertDialogHeader_alias_1 }
134
+
135
+ /** Dimmed backdrop behind the alert dialog. */
136
+ declare const AlertDialogOverlay: React_2.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogOverlayProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
137
+ export { AlertDialogOverlay }
138
+ export { AlertDialogOverlay as AlertDialogOverlay_alias_1 }
139
+
140
+ /** Portals alert dialog content into the body. */
141
+ declare const AlertDialogPortal: React_2.FC<AlertDialogPrimitive.AlertDialogPortalProps>;
142
+ export { AlertDialogPortal }
143
+ export { AlertDialogPortal as AlertDialogPortal_alias_1 }
144
+
145
+ declare const alertDialogSchema: ComponentSchemaDefinition;
146
+ export { alertDialogSchema }
147
+ export { alertDialogSchema as alertDialogSchema_alias_1 }
148
+
149
+ /** Accessible title for the alert dialog. */
150
+ declare const AlertDialogTitle: React_2.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogTitleProps & React_2.RefAttributes<HTMLHeadingElement>, "ref"> & React_2.RefAttributes<HTMLHeadingElement>>;
151
+ export { AlertDialogTitle }
152
+ export { AlertDialogTitle as AlertDialogTitle_alias_1 }
153
+
154
+ /** The element that opens the alert dialog. */
155
+ declare const AlertDialogTrigger: React_2.ForwardRefExoticComponent<AlertDialogPrimitive.AlertDialogTriggerProps & React_2.RefAttributes<HTMLButtonElement>>;
156
+ export { AlertDialogTrigger }
157
+ export { AlertDialogTrigger as AlertDialogTrigger_alias_1 }
158
+
159
+ declare const alertSchema: ComponentSchemaDefinition;
160
+ export { alertSchema }
161
+ export { alertSchema as alertSchema_alias_1 }
162
+
163
+ /** The alert title heading. */
164
+ declare const AlertTitle: React_2.ForwardRefExoticComponent<React_2.HTMLAttributes<HTMLHeadingElement> & React_2.RefAttributes<HTMLHeadingElement>>;
165
+ export { AlertTitle }
166
+ export { AlertTitle as AlertTitle_alias_1 }
167
+
168
+ declare const alertVariants: (props?: ({
169
+ variant?: "default" | "destructive" | null | undefined;
170
+ } & ClassProp) | undefined) => string;
171
+ export { alertVariants }
172
+ export { alertVariants as alertVariants_alias_1 }
173
+
174
+ /** A container that maintains a specified width-to-height ratio for its children. */
175
+ declare const AspectRatio: ForwardRefExoticComponent<AspectRatioPrimitive.AspectRatioProps & RefAttributes<HTMLDivElement>>;
176
+ export { AspectRatio }
177
+ export { AspectRatio as AspectRatio_alias_1 }
178
+
179
+ declare const aspectRatioSchema: ComponentSchemaDefinition;
180
+ export { aspectRatioSchema }
181
+ export { aspectRatioSchema as aspectRatioSchema_alias_1 }
182
+
183
+ /**
184
+ * A file / image attachment thumbnail with an optional remove affordance
185
+ * and optional upload-progress overlay. Composes with the existing
186
+ * `Composer` AI primitive (drop into Composer's children slot to render
187
+ * as part of the message draft).
188
+ *
189
+ * Auto-detects the visual variant: image MIME + `preview` URL → image
190
+ * thumbnail; everything else → typed file icon with name + size.
191
+ *
192
+ * Distinct from {@link Dropzone} (the upload-input affordance) and
193
+ * static {@link Card} previews (no remove/progress UI).
194
+ *
195
+ * @example
196
+ * ```tsx
197
+ * <Attachment
198
+ * file={{ name: "screenshot.png", size: 124000, type: "image/png", preview: objectUrl }}
199
+ * onRemove={() => removeFromDraft("screenshot.png")}
200
+ * />
201
+ * ```
202
+ */
203
+ declare function Attachment({ className, variant, file, onRemove, progress, ref, ...props }: AttachmentProps): JSX.Element;
204
+ export { Attachment }
205
+ export { Attachment as Attachment_alias_1 }
206
+
207
+ /** A file-shaped attachment metadata object accepted by `<Attachment>`. */
208
+ declare interface AttachmentFile {
209
+ /** Display name. */
210
+ name: string;
211
+ /** Bytes. Used to render a human-readable size. */
212
+ size: number;
213
+ /** MIME type. Drives the auto-detected `variant`. */
214
+ type: string;
215
+ /**
216
+ * Optional preview URL for images. When `type` starts with `image/`
217
+ * AND `preview` is set, the attachment renders a thumbnail; otherwise
218
+ * it falls back to a typed file icon + name + size.
219
+ */
220
+ preview?: string;
221
+ }
222
+ export { AttachmentFile }
223
+ export { AttachmentFile as AttachmentFile_alias_1 }
224
+
225
+ declare interface AttachmentProps extends Omit<React_2.HTMLAttributes<HTMLDivElement>, "onProgress">, VariantProps<typeof attachmentVariants> {
226
+ /** Forwarded ref onto the root element. */
227
+ ref?: React_2.Ref<HTMLDivElement>;
228
+ /** Native `File` OR a metadata object. */
229
+ file: File | AttachmentFile;
230
+ /** Click handler for the remove button. When provided, a × button overlays the attachment. */
231
+ onRemove?: () => void;
232
+ /**
233
+ * Upload progress in `[0, 1)`. Values `>= 1` (or `undefined`) hide the
234
+ * progressbar — pass `undefined` once the upload completes. Internally
235
+ * scaled to `aria-valuenow` on a 0–100 progressbar so AT engines
236
+ * announce "42 percent" rather than "0.42 of 1."
237
+ */
238
+ progress?: number;
239
+ }
240
+ export { AttachmentProps }
241
+ export { AttachmentProps as AttachmentProps_alias_1 }
242
+
243
+ declare const attachmentSchema: ComponentSchemaDefinition;
244
+ export { attachmentSchema }
245
+ export { attachmentSchema as attachmentSchema_alias_1 }
246
+
247
+ declare const attachmentVariants: (props?: ({
248
+ variant?: "file" | "image" | null | undefined;
249
+ } & ClassProp) | undefined) => string;
250
+ export { attachmentVariants }
251
+ export { attachmentVariants as attachmentVariants_alias_1 }
252
+
253
+ /** Root container for an avatar (image + fallback). */
254
+ declare const Avatar: React_2.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarProps & React_2.RefAttributes<HTMLSpanElement>, "ref"> & React_2.RefAttributes<HTMLSpanElement>>;
255
+ export { Avatar }
256
+ export { Avatar as Avatar_alias_1 }
257
+
258
+ /** Fallback content (usually initials or an icon) shown when the image is missing or fails. Supports delayMs to avoid flashing for fast-loading images. */
259
+ declare const AvatarFallback: React_2.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarFallbackProps & React_2.RefAttributes<HTMLSpanElement>, "ref"> & React_2.RefAttributes<HTMLSpanElement>>;
260
+ export { AvatarFallback }
261
+ export { AvatarFallback as AvatarFallback_alias_1 }
262
+
263
+ /** Avatar image. AvatarFallback renders in its place when the image is missing or errors. */
264
+ declare const AvatarImage: React_2.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarImageProps & React_2.RefAttributes<HTMLImageElement>, "ref"> & React_2.RefAttributes<HTMLImageElement>>;
265
+ export { AvatarImage }
266
+ export { AvatarImage as AvatarImage_alias_1 }
267
+
268
+ declare const avatarSchema: ComponentSchemaDefinition;
269
+ export { avatarSchema }
270
+ export { avatarSchema as avatarSchema_alias_1 }
271
+
272
+ /**
273
+ * Renders an inline badge element with variant-based styling.
274
+ * @param props - Badge props including variant and className
275
+ * @returns A styled div element
276
+ */
277
+ declare function Badge({ className, variant, ...props }: BadgeProps): JSX.Element;
278
+ export { Badge }
279
+ export { Badge as Badge_alias_1 }
280
+
281
+ /**
282
+ * A small status indicator badge with multiple style variants.
283
+ * Used for tags, statuses, counts, and categorization.
284
+ */
285
+ declare interface BadgeProps extends React_2.HTMLAttributes<HTMLDivElement>, VariantProps<typeof badgeVariants> {
286
+ }
287
+ export { BadgeProps }
288
+ export { BadgeProps as BadgeProps_alias_1 }
289
+
290
+ declare const badgeSchema: ComponentSchemaDefinition;
291
+ export { badgeSchema }
292
+ export { badgeSchema as badgeSchema_alias_1 }
293
+
294
+ declare const badgeVariants: (props?: ({
295
+ variant?: "default" | "destructive" | "outline" | "secondary" | null | undefined;
296
+ } & ClassProp) | undefined) => string;
297
+ export { badgeVariants }
298
+ export { badgeVariants as badgeVariants_alias_1 }
299
+
300
+ /** Root nav landmark for breadcrumb navigation. */
301
+ declare const Breadcrumb: React_2.ForwardRefExoticComponent<Omit<React_2.DetailedHTMLProps<React_2.HTMLAttributes<HTMLElement>, HTMLElement>, "ref"> & React_2.RefAttributes<HTMLElement>>;
302
+ export { Breadcrumb }
303
+ export { Breadcrumb as Breadcrumb_alias_1 }
304
+
305
+ /**
306
+ * Ellipsis for truncated breadcrumb trails.
307
+ * @returns A span containing a decorative SVG (aria-hidden) plus a sr-only "More pages" label for AT.
308
+ */
309
+ declare function BreadcrumbEllipsis({ className, ...props }: React_2.ComponentProps<"span">): JSX.Element;
310
+ export { BreadcrumbEllipsis }
311
+ export { BreadcrumbEllipsis as BreadcrumbEllipsis_alias_1 }
312
+
313
+ /** A single breadcrumb list item. */
314
+ declare const BreadcrumbItem: React_2.ForwardRefExoticComponent<Omit<React_2.DetailedHTMLProps<React_2.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & React_2.RefAttributes<HTMLLIElement>>;
315
+ export { BreadcrumbItem }
316
+ export { BreadcrumbItem as BreadcrumbItem_alias_1 }
317
+
318
+ /** A link inside a breadcrumb item. Use asChild to render e.g. Next.js Link. */
319
+ declare const BreadcrumbLink: React_2.ForwardRefExoticComponent<Omit<React_2.DetailedHTMLProps<React_2.AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, "ref"> & {
320
+ asChild?: boolean;
321
+ } & React_2.RefAttributes<HTMLAnchorElement>>;
322
+ export { BreadcrumbLink }
323
+ export { BreadcrumbLink as BreadcrumbLink_alias_1 }
324
+
325
+ /** Ordered list of breadcrumb items. */
326
+ declare const BreadcrumbList: React_2.ForwardRefExoticComponent<Omit<React_2.DetailedHTMLProps<React_2.OlHTMLAttributes<HTMLOListElement>, HTMLOListElement>, "ref"> & React_2.RefAttributes<HTMLOListElement>>;
327
+ export { BreadcrumbList }
328
+ export { BreadcrumbList as BreadcrumbList_alias_1 }
329
+
330
+ /** The final breadcrumb (current page). Not interactive. */
331
+ declare const BreadcrumbPage: React_2.ForwardRefExoticComponent<Omit<React_2.DetailedHTMLProps<React_2.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & React_2.RefAttributes<HTMLSpanElement>>;
332
+ export { BreadcrumbPage }
333
+ export { BreadcrumbPage as BreadcrumbPage_alias_1 }
334
+
335
+ declare const breadcrumbSchema: ComponentSchemaDefinition;
336
+ export { breadcrumbSchema }
337
+ export { breadcrumbSchema as breadcrumbSchema_alias_1 }
338
+
339
+ /**
340
+ * Visual separator between breadcrumb items (chevron by default).
341
+ * @returns An li rendering a decorative chevron icon
342
+ */
343
+ declare function BreadcrumbSeparator({ children, className, ...props }: React_2.ComponentProps<"li">): JSX.Element;
344
+ export { BreadcrumbSeparator }
345
+ export { BreadcrumbSeparator as BreadcrumbSeparator_alias_1 }
346
+
347
+ declare const Button: React_2.ForwardRefExoticComponent<ButtonProps & React_2.RefAttributes<HTMLButtonElement>>;
348
+ export { Button }
349
+ export { Button as Button_alias_1 }
350
+
351
+ declare interface ButtonProps extends React_2.ButtonHTMLAttributes<HTMLButtonElement>, ButtonVariantsProps {
352
+ asChild?: boolean;
353
+ loading?: boolean;
354
+ }
355
+ export { ButtonProps }
356
+ export { ButtonProps as ButtonProps_alias_1 }
357
+
358
+ declare const buttonSchema: ComponentSchemaDefinition;
359
+ export { buttonSchema }
360
+ export { buttonSchema as buttonSchema_alias_1 }
361
+
362
+ /**
363
+ * CVA variants for the Button component.
364
+ *
365
+ * Lives in its own module so RSC-safe consumers (`Pagination`, future
366
+ * link-styled buttons in static layouts) can import variants without
367
+ * pulling in the full `Button` runtime — `Button` itself is client-only
368
+ * because of `Slot` + `forwardRef` + the loading spinner. Splitting the
369
+ * variants out keeps `dist/pagination.js` free of `@radix-ui/react-slot`.
370
+ */
371
+ declare const buttonVariants: (props?: ({
372
+ variant?: "default" | "destructive" | "outline" | "secondary" | "ghost" | "link" | null | undefined;
373
+ size?: "default" | "sm" | "lg" | "icon" | null | undefined;
374
+ } & ClassProp) | undefined) => string;
375
+ export { buttonVariants }
376
+ export { buttonVariants as buttonVariants_alias_1 }
377
+ export { buttonVariants as buttonVariants_alias_2 }
378
+
379
+ export declare type ButtonVariantsProps = VariantProps<typeof buttonVariants>;
380
+
381
+ /**
382
+ * Calendar date grid built on react-day-picker v9. Forwards all DayPicker
383
+ * props. Pair `mode` + `selected` + `onSelect` for selection control;
384
+ * pass `captionLayout="dropdown"` with `startMonth`/`endMonth` for
385
+ * native year-dropdown navigation.
386
+ * @returns A themed react-day-picker instance with our dropdown overlay CSS.
387
+ */
388
+ declare function Calendar({ className, classNames, showOutsideDays, ...props }: React_2.ComponentProps<typeof DayPicker>): JSX.Element;
389
+
390
+ declare namespace Calendar {
391
+ var displayName: string;
392
+ }
393
+ export { Calendar }
394
+ export { Calendar as Calendar_alias_1 }
395
+
396
+ declare const calendarSchema: ComponentSchemaDefinition;
397
+ export { calendarSchema }
398
+ export { calendarSchema as calendarSchema_alias_1 }
399
+
400
+ /** A container card with subtle shadow and border. */
401
+ declare const Card: React_2.ForwardRefExoticComponent<React_2.HTMLAttributes<HTMLDivElement> & React_2.RefAttributes<HTMLDivElement>>;
402
+ export { Card }
403
+ export { Card as Card_alias_1 }
404
+
405
+ /** The main content area of a Card. */
406
+ declare const CardContent: React_2.ForwardRefExoticComponent<React_2.HTMLAttributes<HTMLDivElement> & React_2.RefAttributes<HTMLDivElement>>;
407
+ export { CardContent }
408
+ export { CardContent as CardContent_alias_1 }
409
+
410
+ /** A description element inside a CardHeader. */
411
+ declare const CardDescription: React_2.ForwardRefExoticComponent<React_2.HTMLAttributes<HTMLParagraphElement> & React_2.RefAttributes<HTMLParagraphElement>>;
412
+ export { CardDescription }
413
+ export { CardDescription as CardDescription_alias_1 }
414
+
415
+ /** The footer section of a Card. */
416
+ declare const CardFooter: React_2.ForwardRefExoticComponent<React_2.HTMLAttributes<HTMLDivElement> & React_2.RefAttributes<HTMLDivElement>>;
417
+ export { CardFooter }
418
+ export { CardFooter as CardFooter_alias_1 }
419
+
420
+ /** The header section of a Card. */
421
+ declare const CardHeader: React_2.ForwardRefExoticComponent<React_2.HTMLAttributes<HTMLDivElement> & React_2.RefAttributes<HTMLDivElement>>;
422
+ export { CardHeader }
423
+ export { CardHeader as CardHeader_alias_1 }
424
+
425
+ declare const cardSchema: ComponentSchemaDefinition;
426
+ export { cardSchema }
427
+ export { cardSchema as cardSchema_alias_1 }
428
+
429
+ /** The title element inside a CardHeader. */
430
+ declare const CardTitle: React_2.ForwardRefExoticComponent<React_2.HTMLAttributes<HTMLHeadingElement> & React_2.RefAttributes<HTMLHeadingElement>>;
431
+ export { CardTitle }
432
+ export { CardTitle as CardTitle_alias_1 }
433
+
434
+ declare const Checkbox: React_2.ForwardRefExoticComponent<Omit<CheckboxPrimitive.CheckboxProps & React_2.RefAttributes<HTMLButtonElement>, "ref"> & React_2.RefAttributes<HTMLButtonElement>>;
435
+ export { Checkbox }
436
+ export { Checkbox as Checkbox_alias_1 }
437
+
438
+ /**
439
+ * An accessible checkbox component built on Radix UI.
440
+ * Supports checked, unchecked, and indeterminate states with smooth animations.
441
+ */
442
+ declare type CheckboxProps = React_2.ComponentPropsWithoutRef<typeof CheckboxPrimitive.Root>;
443
+ export { CheckboxProps }
444
+ export { CheckboxProps as CheckboxProps_alias_1 }
445
+
446
+ declare const checkboxSchema: ComponentSchemaDefinition;
447
+ export { checkboxSchema }
448
+ export { checkboxSchema as checkboxSchema_alias_1 }
449
+
450
+ /**
451
+ * Renders a source citation chip. Uses an `<a>` when `url` is set so the
452
+ * chip is keyboard-focusable + opens in a new tab; falls back to a
453
+ * non-interactive span otherwise.
454
+ *
455
+ * @param props - title + optional url, page, index
456
+ * @returns An anchor or span styled as a chip
457
+ */
458
+ declare function Citation({ title, url, page, index, className, children }: CitationProps): JSX.Element;
459
+ export { Citation }
460
+ export { Citation as Citation_alias_1 }
461
+
462
+ /**
463
+ * Source attribution chip — renders a citation for a RAG hit, search
464
+ * result, or any external reference the assistant pulled from. Becomes a
465
+ * clickable anchor when `url` is provided; otherwise a static span.
466
+ *
467
+ * @example
468
+ * <Citation title="auth-overview.md" url={src.url} page={3} />
469
+ * @example
470
+ * <Cluster gap="xs">
471
+ * {sources.map((s, i) => (
472
+ * <Citation key={s.id} title={s.title} url={s.url} index={i + 1} />
473
+ * ))}
474
+ * </Cluster>
475
+ */
476
+ declare interface CitationProps {
477
+ title: string;
478
+ url?: string;
479
+ page?: number;
480
+ /** Numeric index for inline footnote-style display (e.g. "[1] auth.md"). */
481
+ index?: number;
482
+ className?: string;
483
+ children?: React_2.ReactNode;
484
+ }
485
+ export { CitationProps }
486
+ export { CitationProps as CitationProps_alias_1 }
487
+
488
+ declare const citationSchema: ComponentSchemaDefinition;
489
+ export { citationSchema }
490
+ export { citationSchema as citationSchema_alias_1 }
491
+
492
+ /**
493
+ * Horizontal flex flow with wrap. Children flow left-to-right and wrap to next line as needed.
494
+ * @param props - Cluster props including `gap`, `align`, and `justify` variant keys.
495
+ * @returns A flex row that wraps with consistent gap.
496
+ * @example
497
+ * ```tsx
498
+ * <Cluster gap="sm">
499
+ * <Badge>react</Badge>
500
+ * <Badge>typescript</Badge>
501
+ * <Badge>tailwind</Badge>
502
+ * </Cluster>
503
+ * ```
504
+ */
505
+ declare function Cluster({ className, gap, align, justify, ...props }: ClusterProps): JSX.Element;
506
+ export { Cluster }
507
+ export { Cluster as Cluster_alias_1 }
508
+
509
+ /** Cross-axis `align-items` values for horizontal flows. Includes `baseline`. */
510
+ export declare const clusterAlignVariants: {
511
+ readonly start: "items-start";
512
+ readonly center: "items-center";
513
+ readonly end: "items-end";
514
+ readonly stretch: "items-stretch";
515
+ readonly baseline: "items-baseline";
516
+ };
517
+
518
+ /** Props for the Cluster component. */
519
+ declare interface ClusterProps extends React_2.HTMLAttributes<HTMLDivElement>, VariantProps<typeof clusterVariants> {
520
+ }
521
+ export { ClusterProps }
522
+ export { ClusterProps as ClusterProps_alias_1 }
523
+
524
+ declare const clusterSchema: ComponentSchemaDefinition;
525
+ export { clusterSchema }
526
+ export { clusterSchema as clusterSchema_alias_1 }
527
+
528
+ /**
529
+ * CVA variants for Cluster — horizontal flex flow with wrap.
530
+ * `gap` and `justify` pull from shared layout-variant maps; `align` adds
531
+ * `baseline` (text-baseline alignment for mixed-size siblings).
532
+ */
533
+ declare const clusterVariants: (props?: ({
534
+ gap?: "sm" | "lg" | "md" | "xl" | "xs" | null | undefined;
535
+ align?: "center" | "start" | "end" | "stretch" | "baseline" | null | undefined;
536
+ justify?: "center" | "start" | "end" | "between" | null | undefined;
537
+ } & ClassProp) | undefined) => string;
538
+ export { clusterVariants }
539
+ export { clusterVariants as clusterVariants_alias_1 }
540
+
541
+ /**
542
+ * Merge class names with Tailwind CSS conflict resolution.
543
+ * @param inputs - Class values (strings, arrays, objects) to merge
544
+ * @returns A single merged class string with Tailwind conflicts resolved
545
+ */
546
+ declare function cn(...inputs: ClassValue[]): string;
547
+ export { cn }
548
+ export { cn as cn_alias_1 }
549
+
550
+ /**
551
+ * Async Server Component that highlights `code` server-side and emits the
552
+ * resulting HTML with a header + copy island.
553
+ *
554
+ * @param props - code, optional label/language/themes
555
+ * @returns A bordered card wrapping the highlighted code
556
+ */
557
+ declare function CodeBlock({ code, label, language, themes, className, }: CodeBlockProps): Promise<JSX.Element>;
558
+ export { CodeBlock }
559
+ export { CodeBlock as CodeBlock_alias_1 }
560
+
561
+ declare function CodeBlockCopy({ code, className, ...props }: CodeBlockCopyProps): JSX.Element;
562
+ export { CodeBlockCopy }
563
+ export { CodeBlockCopy as CodeBlockCopy_alias_1 }
564
+
565
+ /**
566
+ * Copy-to-clipboard button for the `CodeBlock` header. Lives in a
567
+ * client-only file so the surrounding `CodeBlock` (an async Server
568
+ * Component) can render server-side while this island hydrates on the
569
+ * client for `navigator.clipboard` access.
570
+ *
571
+ * @example
572
+ * <CodeBlockCopy code={code} />
573
+ */
574
+ declare interface CodeBlockCopyProps extends React_2.ButtonHTMLAttributes<HTMLButtonElement> {
575
+ /** The code text to copy. Must be plain text (not the highlighted HTML). */
576
+ code: string;
577
+ }
578
+ export { CodeBlockCopyProps }
579
+ export { CodeBlockCopyProps as CodeBlockCopyProps_alias_1 }
580
+
581
+ /**
582
+ * Syntax-highlighted code block with a language-label header and a copy
583
+ * button. Highlighting runs server-side via Shiki using a dual-theme
584
+ * (default: github-light / github-dark) so the same HTML flips on
585
+ * `data-theme`/`prefers-color-scheme` without client-side rehydration.
586
+ *
587
+ * Async Server Component — render inside RSC trees or pre-render in
588
+ * static contexts. For client-side streaming code blocks, plug Streamdown's
589
+ * built-in code rendering via `Markdown components={{ pre: … }}` instead.
590
+ *
591
+ * @example
592
+ * <CodeBlock label="pnpm" code="pnpm add @hex-core/components" />
593
+ * @example
594
+ * <CodeBlock language="tsx" code={src} />
595
+ */
596
+ declare interface CodeBlockProps {
597
+ code: string;
598
+ /** Optional header label (e.g. "pnpm", "tsx"). Inferred from `language` if omitted. */
599
+ label?: string;
600
+ /** Explicit Shiki grammar key. Overrides inference from `label`. */
601
+ language?: SupportedLang;
602
+ /** Override the default github-light / github-dark theme pair. */
603
+ themes?: {
604
+ light: string;
605
+ dark: string;
606
+ };
607
+ className?: string;
608
+ }
609
+ export { CodeBlockProps }
610
+ export { CodeBlockProps as CodeBlockProps_alias_1 }
611
+
612
+ declare const codeBlockSchema: ComponentSchemaDefinition;
613
+ export { codeBlockSchema }
614
+ export { codeBlockSchema as codeBlockSchema_alias_1 }
615
+
616
+ /** Root container controlling the expanded state of the content. */
617
+ declare const Collapsible: ForwardRefExoticComponent<CollapsiblePrimitive.CollapsibleProps & RefAttributes<HTMLDivElement>>;
618
+ export { Collapsible }
619
+ export { Collapsible as Collapsible_alias_1 }
620
+
621
+ /** The collapsible content shown/hidden by the trigger. */
622
+ declare const CollapsibleContent: ForwardRefExoticComponent<CollapsiblePrimitive.CollapsibleContentProps & RefAttributes<HTMLDivElement>>;
623
+ export { CollapsibleContent }
624
+ export { CollapsibleContent as CollapsibleContent_alias_1 }
625
+
626
+ declare const collapsibleSchema: ComponentSchemaDefinition;
627
+ export { collapsibleSchema }
628
+ export { collapsibleSchema as collapsibleSchema_alias_1 }
629
+
630
+ /** The element that toggles the Collapsible open/closed. */
631
+ declare const CollapsibleTrigger: ForwardRefExoticComponent<CollapsiblePrimitive.CollapsibleTriggerProps & RefAttributes<HTMLButtonElement>>;
632
+ export { CollapsibleTrigger }
633
+ export { CollapsibleTrigger as CollapsibleTrigger_alias_1 }
634
+
635
+ /**
636
+ * HSL-native color picker. Edits an HSL triplet directly via three sliders
637
+ * (H/S/L), with a hex input as a display adapter.
638
+ *
639
+ * Round-trip safe: triplet → hex → triplet preserves the slider state because
640
+ * sliders are the source of truth and hex updates them only when valid.
641
+ *
642
+ * @param props - Controlled component; `value` and `onChange` are required.
643
+ * @returns A trigger button that opens a popover with H/S/L sliders + hex input.
644
+ * @example
645
+ * ```tsx
646
+ * const [color, setColor] = React.useState("240 5.9% 10%");
647
+ * <ColorPicker value={color} onChange={setColor} aria-label="Primary color" />
648
+ * ```
649
+ */
650
+ declare function ColorPicker({ value, onChange, disabled, "aria-label": ariaLabel, className, }: ColorPickerProps): JSX.Element;
651
+ export { ColorPicker }
652
+ export { ColorPicker as ColorPicker_alias_1 }
653
+
654
+ /** Props for the ColorPicker component. */
655
+ declare interface ColorPickerProps {
656
+ /**
657
+ * Current color as an HSL triplet string (`"<H> <S>% <L>%"`, e.g. `"240 5.9% 10%"`).
658
+ * Match the format used by `@hex-core/tokens`; round-trip safe.
659
+ */
660
+ value: string;
661
+ /**
662
+ * Called with the next HSL triplet whenever the user drags a slider or commits a valid hex value.
663
+ * Not called for invalid hex input — the picker keeps the prior value until the input parses cleanly.
664
+ */
665
+ onChange: (value: string) => void;
666
+ /**
667
+ * Disable interaction. Native `disabled` attribute is set on the trigger so the
668
+ * popover doesn't open via mouse or keyboard activation. Tab focus still lands
669
+ * on the trigger per browser defaults; if you want to fully remove it from the
670
+ * tab order, wrap in a parent that handles `tabIndex` accordingly.
671
+ */
672
+ disabled?: boolean;
673
+ /** Accessible name for the trigger button (defaults to "Pick color"). */
674
+ "aria-label"?: string;
675
+ /** Additional class names merged onto the trigger. */
676
+ className?: string;
677
+ }
678
+ export { ColorPickerProps }
679
+ export { ColorPickerProps as ColorPickerProps_alias_1 }
680
+
681
+ declare const colorPickerSchema: ComponentSchemaDefinition;
682
+ export { colorPickerSchema }
683
+ export { colorPickerSchema as colorPickerSchema_alias_1 }
684
+
685
+ /**
686
+ * Searchable select input built on Command + Popover.
687
+ *
688
+ * Pass `options` with `{ value, label }` shape. The selected label is shown on
689
+ * the trigger; the popover contains a CommandInput and filtered CommandList.
690
+ * @returns A trigger button that opens a filtered option list.
691
+ */
692
+ declare function Combobox({ options, value, onChange, placeholder, searchPlaceholder, emptyText, disabled, className, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledBy, }: ComboboxProps): JSX.Element;
693
+
694
+ declare namespace Combobox {
695
+ var displayName: string;
696
+ }
697
+ export { Combobox }
698
+ export { Combobox as Combobox_alias_1 }
699
+
700
+ declare interface ComboboxOption {
701
+ /** The value returned from onChange (stable, unique). */
702
+ value: string;
703
+ /** The display label shown in the list and the trigger. */
704
+ label: string;
705
+ /** Mark as non-selectable. */
706
+ disabled?: boolean;
707
+ }
708
+ export { ComboboxOption }
709
+ export { ComboboxOption as ComboboxOption_alias_1 }
710
+
711
+ declare interface ComboboxProps {
712
+ /** The list of selectable options. */
713
+ options: ComboboxOption[];
714
+ /** Controlled selected value. */
715
+ value?: string;
716
+ /** Fired when the user picks an option: (value: string) => void */
717
+ onChange?: (value: string) => void;
718
+ /** Text shown on the trigger when nothing is selected. */
719
+ placeholder?: string;
720
+ /** Input placeholder inside the popover list. */
721
+ searchPlaceholder?: string;
722
+ /** Text shown when no options match the search. */
723
+ emptyText?: string;
724
+ /** Disable the trigger. */
725
+ disabled?: boolean;
726
+ /** Extra class names on the trigger button. */
727
+ className?: string;
728
+ /** Accessible label for the trigger (required when no adjacent visible label). */
729
+ "aria-label"?: string;
730
+ /** Id of an external visible label that names this combobox. */
731
+ "aria-labelledby"?: string;
732
+ }
733
+ export { ComboboxProps }
734
+ export { ComboboxProps as ComboboxProps_alias_1 }
735
+
736
+ declare const comboboxSchema: ComponentSchemaDefinition;
737
+ export { comboboxSchema }
738
+ export { comboboxSchema as comboboxSchema_alias_1 }
739
+
740
+ /** Root Command container — drives search, filtering, and keyboard navigation over items. */
741
+ declare const Command: React_2.ForwardRefExoticComponent<Omit<{
742
+ children?: React_2.ReactNode;
743
+ } & Pick<Pick<React_2.DetailedHTMLProps<React_2.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React_2.HTMLAttributes<HTMLDivElement>> & {
744
+ ref?: React_2.Ref<HTMLDivElement>;
745
+ } & {
746
+ asChild?: boolean;
747
+ }, "asChild" | "key" | keyof React_2.HTMLAttributes<HTMLDivElement>> & {
748
+ label?: string;
749
+ shouldFilter?: boolean;
750
+ filter?: (value: string, search: string, keywords?: string[]) => number;
751
+ defaultValue?: string;
752
+ value?: string;
753
+ onValueChange?: (value: string) => void;
754
+ loop?: boolean;
755
+ disablePointerSelection?: boolean;
756
+ vimBindings?: boolean;
757
+ } & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
758
+ export { Command }
759
+ export { Command as Command_alias_1 }
760
+
761
+ /**
762
+ * Command menu rendered inside a Dialog — a ⌘K-style launcher.
763
+ * @param props - Forwarded to the underlying Dialog (open, onOpenChange, etc.)
764
+ * @returns A Dialog containing a Command menu.
765
+ */
766
+ declare function CommandDialog({ title, description, children, ...props }: CommandDialogProps): JSX.Element;
767
+ export { CommandDialog }
768
+ export { CommandDialog as CommandDialog_alias_1 }
769
+
770
+ declare interface CommandDialogProps extends React_2.ComponentPropsWithoutRef<typeof Dialog> {
771
+ /** Command children (CommandInput + CommandList + CommandItem, etc.) */
772
+ children: React_2.ReactNode;
773
+ /** Accessible title for the dialog (screen-reader only by default). */
774
+ title?: string;
775
+ /** Accessible description for the dialog (screen-reader only by default). */
776
+ description?: string;
777
+ }
778
+
779
+ /** Rendered when no items match the current search. */
780
+ declare const CommandEmpty: React_2.ForwardRefExoticComponent<Omit<{
781
+ children?: React_2.ReactNode;
782
+ } & Pick<Pick<React_2.DetailedHTMLProps<React_2.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React_2.HTMLAttributes<HTMLDivElement>> & {
783
+ ref?: React_2.Ref<HTMLDivElement>;
784
+ } & {
785
+ asChild?: boolean;
786
+ }, "asChild" | "key" | keyof React_2.HTMLAttributes<HTMLDivElement>> & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
787
+ export { CommandEmpty }
788
+ export { CommandEmpty as CommandEmpty_alias_1 }
789
+
790
+ /** Logical group of items — renders a heading and filters as a unit. */
791
+ declare const CommandGroup: React_2.ForwardRefExoticComponent<Omit<{
792
+ children?: React_2.ReactNode;
793
+ } & Omit<Pick<Pick<React_2.DetailedHTMLProps<React_2.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React_2.HTMLAttributes<HTMLDivElement>> & {
794
+ ref?: React_2.Ref<HTMLDivElement>;
795
+ } & {
796
+ asChild?: boolean;
797
+ }, "asChild" | "key" | keyof React_2.HTMLAttributes<HTMLDivElement>>, "value" | "heading"> & {
798
+ heading?: React_2.ReactNode;
799
+ value?: string;
800
+ forceMount?: boolean;
801
+ } & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
802
+ export { CommandGroup }
803
+ export { CommandGroup as CommandGroup_alias_1 }
804
+
805
+ /** Search input for the Command menu. Fires onValueChange as the user types. */
806
+ declare const CommandInput: React_2.ForwardRefExoticComponent<Omit<Omit<Pick<Pick<React_2.DetailedHTMLProps<React_2.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "key" | keyof React_2.InputHTMLAttributes<HTMLInputElement>> & {
807
+ ref?: React_2.Ref<HTMLInputElement>;
808
+ } & {
809
+ asChild?: boolean;
810
+ }, "asChild" | "key" | keyof React_2.InputHTMLAttributes<HTMLInputElement>>, "type" | "value" | "onChange"> & {
811
+ value?: string;
812
+ onValueChange?: (search: string) => void;
813
+ } & React_2.RefAttributes<HTMLInputElement>, "ref"> & React_2.RefAttributes<HTMLInputElement>>;
814
+ export { CommandInput }
815
+ export { CommandInput as CommandInput_alias_1 }
816
+
817
+ /** Selectable item. onSelect fires on Enter or click. */
818
+ declare const CommandItem: React_2.ForwardRefExoticComponent<Omit<{
819
+ children?: React_2.ReactNode;
820
+ } & Omit<Pick<Pick<React_2.DetailedHTMLProps<React_2.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React_2.HTMLAttributes<HTMLDivElement>> & {
821
+ ref?: React_2.Ref<HTMLDivElement>;
822
+ } & {
823
+ asChild?: boolean;
824
+ }, "asChild" | "key" | keyof React_2.HTMLAttributes<HTMLDivElement>>, "disabled" | "value" | "onSelect"> & {
825
+ disabled?: boolean;
826
+ onSelect?: (value: string) => void;
827
+ value?: string;
828
+ keywords?: string[];
829
+ forceMount?: boolean;
830
+ } & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
831
+ export { CommandItem }
832
+ export { CommandItem as CommandItem_alias_1 }
833
+
834
+ /** Scrollable list that contains CommandGroup / CommandItem / CommandEmpty. */
835
+ declare const CommandList: React_2.ForwardRefExoticComponent<Omit<{
836
+ children?: React_2.ReactNode;
837
+ } & Pick<Pick<React_2.DetailedHTMLProps<React_2.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React_2.HTMLAttributes<HTMLDivElement>> & {
838
+ ref?: React_2.Ref<HTMLDivElement>;
839
+ } & {
840
+ asChild?: boolean;
841
+ }, "asChild" | "key" | keyof React_2.HTMLAttributes<HTMLDivElement>> & {
842
+ label?: string;
843
+ } & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
844
+ export { CommandList }
845
+ export { CommandList as CommandList_alias_1 }
846
+
847
+ declare const commandSchema: ComponentSchemaDefinition;
848
+ export { commandSchema }
849
+ export { commandSchema as commandSchema_alias_1 }
850
+
851
+ /**
852
+ * Horizontal rule between groups. Renders as a presentational `<div>` (no role)
853
+ * so it can sit inside CommandList (role=listbox) without violating ARIA's
854
+ * required-children rule for listbox. The line is purely decorative — cmdk's
855
+ * built-in Separator hardcodes `role="separator"`, which axe rejects in this
856
+ * context, so we render the divider directly.
857
+ *
858
+ * The `data-cmdk-separator` attribute is preserved so existing CSS / test
859
+ * selectors that target cmdk's separator continue to match.
860
+ */
861
+ declare const CommandSeparator: React_2.ForwardRefExoticComponent<React_2.HTMLAttributes<HTMLDivElement> & React_2.RefAttributes<HTMLDivElement>>;
862
+ export { CommandSeparator }
863
+ export { CommandSeparator as CommandSeparator_alias_1 }
864
+
865
+ /**
866
+ * Keyboard shortcut hint (e.g. '⌘K') aligned to the right of an item.
867
+ * @returns A muted inline span rendered at the end of a CommandItem.
868
+ */
869
+ declare function CommandShortcut({ className, ...props }: React_2.HTMLAttributes<HTMLSpanElement>): JSX.Element;
870
+
871
+ declare namespace CommandShortcut {
872
+ var displayName: string;
873
+ }
874
+ export { CommandShortcut }
875
+ export { CommandShortcut as CommandShortcut_alias_1 }
876
+
877
+ /**
878
+ * Renders a chat composer with a textarea + slot for action buttons.
879
+ * @param props - controlled value/handlers + slot children
880
+ * @returns A form element with a textarea and trailing slot
881
+ */
882
+ declare function Composer({ value, onValueChange, onSubmit, disabled, placeholder, submitOnEnter, textareaAriaLabel, children, className, ...rest }: ComposerProps): JSX.Element;
883
+ export { Composer }
884
+ export { Composer as Composer_alias_1 }
885
+
886
+ /**
887
+ * Multi-line text input + submission shell for chat composers. Headless on
888
+ * data flow — `value`/`onValueChange` are required so the consumer keeps
889
+ * input state wherever fits (a `useChat` hook, a parent form, local state).
890
+ *
891
+ * Submits on Enter (without Shift). Children render after the textarea —
892
+ * the canonical place for attachment buttons + a send button.
893
+ *
894
+ * Spreads remaining props onto the underlying `<form>`, so consumers can
895
+ * pass `aria-label`, `id`, `name`, `data-*`, and similar attributes.
896
+ *
897
+ * @example
898
+ * <Composer
899
+ * value={input}
900
+ * onValueChange={setInput}
901
+ * onSubmit={(v) => sendMessage(v)}
902
+ * placeholder="Ask anything…"
903
+ * >
904
+ * <Button type="submit">Send</Button>
905
+ * </Composer>
906
+ */
907
+ declare interface ComposerProps extends Omit<React_2.FormHTMLAttributes<HTMLFormElement>, "onSubmit" | "children"> {
908
+ value: string;
909
+ onValueChange: (value: string) => void;
910
+ onSubmit: (value: string) => void;
911
+ disabled?: boolean;
912
+ placeholder?: string;
913
+ /** Submit on Enter without Shift. Default true. */
914
+ submitOnEnter?: boolean;
915
+ /** Accessible name for the textarea. Defaults to `placeholder` when set, else "Message". */
916
+ textareaAriaLabel?: string;
917
+ /** Trailing slot — attachment buttons, send button, etc. */
918
+ children?: React_2.ReactNode;
919
+ }
920
+ export { ComposerProps }
921
+ export { ComposerProps as ComposerProps_alias_1 }
922
+
923
+ declare const composerSchema: ComponentSchemaDefinition;
924
+ export { composerSchema }
925
+ export { composerSchema as composerSchema_alias_1 }
926
+
927
+ /**
928
+ * A centered max-width wrapper for page content. Use to constrain reading-width sections.
929
+ * Pass `asChild` to render as a semantic landmark (`<main>`, `<section>`, etc.) instead of a plain `<div>`.
930
+ *
931
+ * @param props - Container props including `size`, `padding`, and optional `asChild`.
932
+ * @returns A wrapper element with `mx-auto`, max-width clamp, and optional horizontal padding.
933
+ * @example
934
+ * ```tsx
935
+ * <Container size="lg" padding="md" asChild>
936
+ * <main>
937
+ * <h1>Article title</h1>
938
+ * <p>Reading-width content...</p>
939
+ * </main>
940
+ * </Container>
941
+ * ```
942
+ */
943
+ declare function Container({ className, size, padding, asChild, ...props }: ContainerProps): JSX.Element;
944
+ export { Container }
945
+ export { Container as Container_alias_1 }
946
+
947
+ /** Props for the Container component. */
948
+ declare interface ContainerProps extends React_2.HTMLAttributes<HTMLDivElement>, VariantProps<typeof containerVariants> {
949
+ /**
950
+ * Render as a different element via Radix `Slot`. Pass `<Container asChild><main>...</main></Container>`
951
+ * to render the layout as a `<main>` (or `<section>`, `<article>`, etc.) and inherit landmark semantics.
952
+ */
953
+ asChild?: boolean;
954
+ }
955
+ export { ContainerProps }
956
+ export { ContainerProps as ContainerProps_alias_1 }
957
+
958
+ declare const containerSchema: ComponentSchemaDefinition;
959
+ export { containerSchema }
960
+ export { containerSchema as containerSchema_alias_1 }
961
+
962
+ /**
963
+ * CVA variants for Container — max-width wrapper bound to `--container-*` tokens.
964
+ * Variant names match token names (`sm`/`md`/`lg`/`xl`/`full`); `full` removes the clamp.
965
+ * Padding maps to `--space-*` tokens.
966
+ */
967
+ declare const containerVariants: (props?: ({
968
+ size?: "sm" | "lg" | "md" | "xl" | "full" | null | undefined;
969
+ padding?: "sm" | "lg" | "none" | "md" | null | undefined;
970
+ } & ClassProp) | undefined) => string;
971
+ export { containerVariants }
972
+ export { containerVariants as containerVariants_alias_1 }
973
+
974
+ /** Root container for a context menu (right-click menu). */
975
+ declare const ContextMenu: React_2.FC<ContextMenuPrimitive.ContextMenuProps>;
976
+ export { ContextMenu }
977
+ export { ContextMenu as ContextMenu_alias_1 }
978
+
979
+ /** A checkable menu item. */
980
+ declare const ContextMenuCheckboxItem: React_2.ForwardRefExoticComponent<Omit<ContextMenuPrimitive.ContextMenuCheckboxItemProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
981
+ export { ContextMenuCheckboxItem }
982
+ export { ContextMenuCheckboxItem as ContextMenuCheckboxItem_alias_1 }
983
+
984
+ /** The menu panel shown when the trigger is right-clicked. */
985
+ declare const ContextMenuContent: React_2.ForwardRefExoticComponent<Omit<ContextMenuPrimitive.ContextMenuContentProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
986
+ export { ContextMenuContent }
987
+ export { ContextMenuContent as ContextMenuContent_alias_1 }
988
+
989
+ /** Groups related items for a11y. */
990
+ declare const ContextMenuGroup: React_2.ForwardRefExoticComponent<ContextMenuPrimitive.ContextMenuGroupProps & React_2.RefAttributes<HTMLDivElement>>;
991
+ export { ContextMenuGroup }
992
+ export { ContextMenuGroup as ContextMenuGroup_alias_1 }
993
+
994
+ /** A clickable menu item. */
995
+ declare const ContextMenuItem: React_2.ForwardRefExoticComponent<Omit<ContextMenuPrimitive.ContextMenuItemProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & {
996
+ inset?: boolean;
997
+ } & React_2.RefAttributes<HTMLDivElement>>;
998
+ export { ContextMenuItem }
999
+ export { ContextMenuItem as ContextMenuItem_alias_1 }
1000
+
1001
+ /** A non-interactive heading label. */
1002
+ declare const ContextMenuLabel: React_2.ForwardRefExoticComponent<Omit<ContextMenuPrimitive.ContextMenuLabelProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & {
1003
+ inset?: boolean;
1004
+ } & React_2.RefAttributes<HTMLDivElement>>;
1005
+ export { ContextMenuLabel }
1006
+ export { ContextMenuLabel as ContextMenuLabel_alias_1 }
1007
+
1008
+ /** Portals content into the body. */
1009
+ declare const ContextMenuPortal: React_2.FC<ContextMenuPrimitive.ContextMenuPortalProps>;
1010
+ export { ContextMenuPortal }
1011
+ export { ContextMenuPortal as ContextMenuPortal_alias_1 }
1012
+
1013
+ /** Group for checkable radio items. */
1014
+ declare const ContextMenuRadioGroup: React_2.ForwardRefExoticComponent<ContextMenuPrimitive.ContextMenuRadioGroupProps & React_2.RefAttributes<HTMLDivElement>>;
1015
+ export { ContextMenuRadioGroup }
1016
+ export { ContextMenuRadioGroup as ContextMenuRadioGroup_alias_1 }
1017
+
1018
+ /** A radio menu item. */
1019
+ declare const ContextMenuRadioItem: React_2.ForwardRefExoticComponent<Omit<ContextMenuPrimitive.ContextMenuRadioItemProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
1020
+ export { ContextMenuRadioItem }
1021
+ export { ContextMenuRadioItem as ContextMenuRadioItem_alias_1 }
1022
+
1023
+ declare const contextMenuSchema: ComponentSchemaDefinition;
1024
+ export { contextMenuSchema }
1025
+ export { contextMenuSchema as contextMenuSchema_alias_1 }
1026
+
1027
+ /** Horizontal divider. */
1028
+ declare const ContextMenuSeparator: React_2.ForwardRefExoticComponent<Omit<ContextMenuPrimitive.ContextMenuSeparatorProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
1029
+ export { ContextMenuSeparator }
1030
+ export { ContextMenuSeparator as ContextMenuSeparator_alias_1 }
1031
+
1032
+ /**
1033
+ * Right-aligned shortcut text (e.g. ⌘⇧N).
1034
+ * @returns A span with muted typography
1035
+ */
1036
+ declare function ContextMenuShortcut({ className, ...props }: React_2.HTMLAttributes<HTMLSpanElement>): JSX.Element;
1037
+ export { ContextMenuShortcut }
1038
+ export { ContextMenuShortcut as ContextMenuShortcut_alias_1 }
1039
+
1040
+ /** The element that triggers the context menu on right-click. */
1041
+ declare const ContextMenuTrigger: React_2.ForwardRefExoticComponent<ContextMenuPrimitive.ContextMenuTriggerProps & React_2.RefAttributes<HTMLSpanElement>>;
1042
+ export { ContextMenuTrigger }
1043
+ export { ContextMenuTrigger as ContextMenuTrigger_alias_1 }
1044
+
1045
+ /**
1046
+ * Render a data-driven table from TanStack column definitions.
1047
+ * @param props - Columns, data, and optional accessible labelling (`caption` or `aria-label`)
1048
+ * @returns A styled Table rendered from the TanStack row model
1049
+ */
1050
+ declare function DataTable<TData>({ columns, data, caption, "aria-label": ariaLabel, }: DataTableProps<TData>): JSX.Element;
1051
+ export { DataTable }
1052
+ export { DataTable as DataTable_alias_1 }
1053
+
1054
+ /**
1055
+ * Generic DataTable wrapper that renders a TanStack Table model using Hex UI's
1056
+ * Table primitives. Pass columns + data; use TanStack hooks for sorting,
1057
+ * filtering, pagination, row-selection as needed.
1058
+ * @template TData - Row data type. Cell value types are inferred per column by TanStack.
1059
+ */
1060
+ declare interface DataTableProps<TData> {
1061
+ columns: ColumnDef<TData, unknown>[];
1062
+ data: TData[];
1063
+ /**
1064
+ * Visible caption rendered below the table. Announced by screen readers
1065
+ * when the user enters the table. Provide either `caption` or `aria-label`.
1066
+ */
1067
+ caption?: React_2.ReactNode;
1068
+ /**
1069
+ * Accessible label for the table when no visible caption is shown.
1070
+ * Forwarded as `aria-label` on the underlying `<table>` element. Kebab-case
1071
+ * to match the canonical ARIA prop convention used elsewhere in Hex UI.
1072
+ */
1073
+ "aria-label"?: string;
1074
+ }
1075
+ export { DataTableProps }
1076
+ export { DataTableProps as DataTableProps_alias_1 }
1077
+
1078
+ declare const dataTableSchema: ComponentSchemaDefinition;
1079
+ export { dataTableSchema }
1080
+ export { dataTableSchema as dataTableSchema_alias_1 }
1081
+
1082
+ /**
1083
+ * Date picker composed from Popover + Calendar + a styled trigger button.
1084
+ *
1085
+ * This is a minimal single-date picker. For multi/range, compose Calendar + Popover yourself.
1086
+ * @returns A button that opens a single-date calendar popover.
1087
+ */
1088
+ declare function DatePicker({ value, onChange, placeholder, dateFormat, disabled, className, "aria-label": ariaLabel, captionLayout, startMonth, endMonth, }: DatePickerProps): JSX.Element;
1089
+
1090
+ declare namespace DatePicker {
1091
+ var displayName: string;
1092
+ }
1093
+ export { DatePicker }
1094
+ export { DatePicker as DatePicker_alias_1 }
1095
+
1096
+ declare interface DatePickerProps {
1097
+ /** Controlled selected date. */
1098
+ value?: Date;
1099
+ /** Fired when the user picks a date in the calendar. */
1100
+ onChange?: (date: Date | undefined) => void;
1101
+ /** Placeholder shown when no date is selected. */
1102
+ placeholder?: string;
1103
+ /** date-fns format string for the trigger label. */
1104
+ dateFormat?: string;
1105
+ /** Disable the trigger. */
1106
+ disabled?: boolean;
1107
+ /** Extra class names on the trigger button. */
1108
+ className?: string;
1109
+ /** Accessible label for the trigger (required when no visible label is adjacent). */
1110
+ "aria-label"?: string;
1111
+ /**
1112
+ * Caption layout forwarded to react-day-picker. Use `"dropdown"` (or
1113
+ * `"dropdown-years"` / `"dropdown-months"`) to render native `<select>`
1114
+ * navigation — useful for birth-date pickers and far-out years.
1115
+ *
1116
+ * Always pair `dropdown` layouts with explicit `startMonth` and `endMonth`;
1117
+ * the RDP default span is ±100 years.
1118
+ */
1119
+ captionLayout?: "label" | "dropdown" | "dropdown-months" | "dropdown-years";
1120
+ /** Earliest month/year navigable in the calendar. Forwarded to react-day-picker. */
1121
+ startMonth?: Date;
1122
+ /** Latest month/year navigable in the calendar. Forwarded to react-day-picker. */
1123
+ endMonth?: Date;
1124
+ }
1125
+ export { DatePickerProps }
1126
+ export { DatePickerProps as DatePickerProps_alias_1 }
1127
+
1128
+ declare const datePickerSchema: ComponentSchemaDefinition;
1129
+ export { datePickerSchema }
1130
+ export { datePickerSchema as datePickerSchema_alias_1 }
1131
+
1132
+ /** Root container controlling open state of a modal dialog. */
1133
+ declare const Dialog: React_2.FC<DialogPrimitive.DialogProps>;
1134
+ export { Dialog }
1135
+ export { Dialog as Dialog_alias_1 }
1136
+
1137
+ /** Closes the dialog when rendered inside DialogContent. */
1138
+ declare const DialogClose: React_2.ForwardRefExoticComponent<DialogPrimitive.DialogCloseProps & React_2.RefAttributes<HTMLButtonElement>>;
1139
+ export { DialogClose }
1140
+ export { DialogClose as DialogClose_alias_1 }
1141
+
1142
+ /** The dialog content panel, centered on the overlay. Includes a close button by default. */
1143
+ declare const DialogContent: React_2.ForwardRefExoticComponent<DialogContentProps & React_2.RefAttributes<HTMLDivElement>>;
1144
+ export { DialogContent }
1145
+ export { DialogContent as DialogContent_alias_1 }
1146
+
1147
+ export declare interface DialogContentProps extends React_2.ComponentPropsWithoutRef<typeof DialogPrimitive.Content> {
1148
+ /**
1149
+ * When `true` (the default), DialogContent caps its height at viewport-2rem
1150
+ * and renders children inside a padded inner scroll container. The Close
1151
+ * button stays anchored to the (non-scrolling) outer panel so it remains
1152
+ * visible even when the user scrolls long content.
1153
+ *
1154
+ * Pass `scrollable={false}` to opt out — useful when the consumer manages
1155
+ * its own scroll surface (e.g. CommandDialog defers scroll to cmdk's
1156
+ * internal CommandList).
1157
+ */
1158
+ scrollable?: boolean;
1159
+ }
1160
+
1161
+ /** Accessible dialog description; Radix wires it to aria-describedby automatically. */
1162
+ declare const DialogDescription: React_2.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogDescriptionProps & React_2.RefAttributes<HTMLParagraphElement>, "ref"> & React_2.RefAttributes<HTMLParagraphElement>>;
1163
+ export { DialogDescription }
1164
+ export { DialogDescription as DialogDescription_alias_1 }
1165
+
1166
+ /**
1167
+ * Footer container inside DialogContent; aligns action buttons.
1168
+ * @returns A div that stacks buttons on mobile and right-aligns on desktop
1169
+ */
1170
+ declare function DialogFooter({ className, ...props }: React_2.HTMLAttributes<HTMLDivElement>): JSX.Element;
1171
+ export { DialogFooter }
1172
+ export { DialogFooter as DialogFooter_alias_1 }
1173
+
1174
+ /**
1175
+ * Header container inside DialogContent; stacks title and description.
1176
+ * @returns A div wrapping title/description with vertical rhythm
1177
+ */
1178
+ declare function DialogHeader({ className, ...props }: React_2.HTMLAttributes<HTMLDivElement>): JSX.Element;
1179
+ export { DialogHeader }
1180
+ export { DialogHeader as DialogHeader_alias_1 }
1181
+
1182
+ /** Dimmed backdrop rendered behind the dialog content. */
1183
+ declare const DialogOverlay: React_2.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogOverlayProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
1184
+ export { DialogOverlay }
1185
+ export { DialogOverlay as DialogOverlay_alias_1 }
1186
+
1187
+ /** Portals the dialog overlay and content into the body. */
1188
+ declare const DialogPortal: React_2.FC<DialogPrimitive.DialogPortalProps>;
1189
+ export { DialogPortal }
1190
+ export { DialogPortal as DialogPortal_alias_1 }
1191
+
1192
+ declare const dialogSchema: ComponentSchemaDefinition;
1193
+ export { dialogSchema }
1194
+ export { dialogSchema as dialogSchema_alias_1 }
1195
+
1196
+ /** Accessible dialog title; Radix wires it to aria-labelledby automatically. */
1197
+ declare const DialogTitle: React_2.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogTitleProps & React_2.RefAttributes<HTMLHeadingElement>, "ref"> & React_2.RefAttributes<HTMLHeadingElement>>;
1198
+ export { DialogTitle }
1199
+ export { DialogTitle as DialogTitle_alias_1 }
1200
+
1201
+ /** The element (usually a button) that opens the dialog when clicked. */
1202
+ declare const DialogTrigger: React_2.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & React_2.RefAttributes<HTMLButtonElement>>;
1203
+ export { DialogTrigger }
1204
+ export { DialogTrigger as DialogTrigger_alias_1 }
1205
+
1206
+ /**
1207
+ * Root container for a bottom drawer (vaul). Manages open state, drag, and snap points.
1208
+ * @returns A drawer root that coordinates overlay, content, and dismiss behavior.
1209
+ */
1210
+ declare function Drawer({ shouldScaleBackground, ...props }: DrawerRootProps): JSX.Element;
1211
+
1212
+ declare namespace Drawer {
1213
+ var displayName: string;
1214
+ }
1215
+ export { Drawer }
1216
+ export { Drawer as Drawer_alias_1 }
1217
+
1218
+ /** Closes the drawer when rendered inside DrawerContent. */
1219
+ declare const DrawerClose: React_2.ForwardRefExoticComponent<DialogCloseProps & React_2.RefAttributes<HTMLButtonElement>>;
1220
+ export { DrawerClose }
1221
+ export { DrawerClose as DrawerClose_alias_1 }
1222
+
1223
+ /** The drawer content panel. Slides up from the bottom and can be dragged down to dismiss. */
1224
+ declare const DrawerContent: React_2.ForwardRefExoticComponent<Omit<Omit<DialogContentProps_2 & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
1225
+ export { DrawerContent }
1226
+ export { DrawerContent as DrawerContent_alias_1 }
1227
+
1228
+ /** Accessible drawer description; vaul wires it to aria-describedby automatically. */
1229
+ declare const DrawerDescription: React_2.ForwardRefExoticComponent<Omit<DialogDescriptionProps & React_2.RefAttributes<HTMLParagraphElement>, "ref"> & React_2.RefAttributes<HTMLParagraphElement>>;
1230
+ export { DrawerDescription }
1231
+ export { DrawerDescription as DrawerDescription_alias_1 }
1232
+
1233
+ /**
1234
+ * Footer container inside DrawerContent; stacks action buttons.
1235
+ * @returns A div that stacks buttons vertically with consistent gutters.
1236
+ */
1237
+ declare function DrawerFooter({ className, ...props }: React_2.HTMLAttributes<HTMLDivElement>): JSX.Element;
1238
+ export { DrawerFooter }
1239
+ export { DrawerFooter as DrawerFooter_alias_1 }
1240
+
1241
+ /**
1242
+ * Header container inside DrawerContent; stacks title and description.
1243
+ * @returns A div with vertical rhythm.
1244
+ */
1245
+ declare function DrawerHeader({ className, ...props }: React_2.HTMLAttributes<HTMLDivElement>): JSX.Element;
1246
+ export { DrawerHeader }
1247
+ export { DrawerHeader as DrawerHeader_alias_1 }
1248
+
1249
+ /** Dimmed backdrop behind the drawer content. */
1250
+ declare const DrawerOverlay: React_2.ForwardRefExoticComponent<Omit<Omit<DialogOverlayProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
1251
+ export { DrawerOverlay }
1252
+ export { DrawerOverlay as DrawerOverlay_alias_1 }
1253
+
1254
+ /** Portals drawer overlay and content into the body. */
1255
+ declare const DrawerPortal: Portal;
1256
+ export { DrawerPortal }
1257
+ export { DrawerPortal as DrawerPortal_alias_1 }
1258
+
1259
+ declare type DrawerRootProps = React_2.ComponentPropsWithoutRef<typeof Drawer_2.Root>;
1260
+
1261
+ declare const drawerSchema: ComponentSchemaDefinition;
1262
+ export { drawerSchema }
1263
+ export { drawerSchema as drawerSchema_alias_1 }
1264
+
1265
+ /** Accessible drawer title; vaul wires it to aria-labelledby automatically. */
1266
+ declare const DrawerTitle: React_2.ForwardRefExoticComponent<Omit<DialogTitleProps & React_2.RefAttributes<HTMLHeadingElement>, "ref"> & React_2.RefAttributes<HTMLHeadingElement>>;
1267
+ export { DrawerTitle }
1268
+ export { DrawerTitle as DrawerTitle_alias_1 }
1269
+
1270
+ /** The element that opens the drawer when clicked. */
1271
+ declare const DrawerTrigger: React_2.ForwardRefExoticComponent<DialogTriggerProps & React_2.RefAttributes<HTMLButtonElement>>;
1272
+ export { DrawerTrigger }
1273
+ export { DrawerTrigger as DrawerTrigger_alias_1 }
1274
+
1275
+ /** Root container for a dropdown menu. */
1276
+ declare const DropdownMenu: React_2.FC<DropdownMenuPrimitive.DropdownMenuProps>;
1277
+ export { DropdownMenu }
1278
+ export { DropdownMenu as DropdownMenu_alias_1 }
1279
+
1280
+ /** A menu item with a checkbox state. */
1281
+ declare const DropdownMenuCheckboxItem: React_2.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuCheckboxItemProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
1282
+ export { DropdownMenuCheckboxItem }
1283
+ export { DropdownMenuCheckboxItem as DropdownMenuCheckboxItem_alias_1 }
1284
+
1285
+ /** The visible dropdown panel. */
1286
+ declare const DropdownMenuContent: React_2.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuContentProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
1287
+ export { DropdownMenuContent }
1288
+ export { DropdownMenuContent as DropdownMenuContent_alias_1 }
1289
+
1290
+ /** Groups related menu items for a11y. */
1291
+ declare const DropdownMenuGroup: React_2.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuGroupProps & React_2.RefAttributes<HTMLDivElement>>;
1292
+ export { DropdownMenuGroup }
1293
+ export { DropdownMenuGroup as DropdownMenuGroup_alias_1 }
1294
+
1295
+ /** A clickable menu item. */
1296
+ declare const DropdownMenuItem: React_2.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuItemProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & {
1297
+ inset?: boolean;
1298
+ } & React_2.RefAttributes<HTMLDivElement>>;
1299
+ export { DropdownMenuItem }
1300
+ export { DropdownMenuItem as DropdownMenuItem_alias_1 }
1301
+
1302
+ /** A non-interactive section heading inside the menu. */
1303
+ declare const DropdownMenuLabel: React_2.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuLabelProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & {
1304
+ inset?: boolean;
1305
+ } & React_2.RefAttributes<HTMLDivElement>>;
1306
+ export { DropdownMenuLabel }
1307
+ export { DropdownMenuLabel as DropdownMenuLabel_alias_1 }
1308
+
1309
+ /** Portals dropdown content into the body. */
1310
+ declare const DropdownMenuPortal: React_2.FC<DropdownMenuPrimitive.DropdownMenuPortalProps>;
1311
+ export { DropdownMenuPortal }
1312
+ export { DropdownMenuPortal as DropdownMenuPortal_alias_1 }
1313
+
1314
+ /** Group for checkable radio items (one selected at a time). */
1315
+ declare const DropdownMenuRadioGroup: React_2.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuRadioGroupProps & React_2.RefAttributes<HTMLDivElement>>;
1316
+ export { DropdownMenuRadioGroup }
1317
+ export { DropdownMenuRadioGroup as DropdownMenuRadioGroup_alias_1 }
1318
+
1319
+ /** A menu item in a radio group. */
1320
+ declare const DropdownMenuRadioItem: React_2.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuRadioItemProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
1321
+ export { DropdownMenuRadioItem }
1322
+ export { DropdownMenuRadioItem as DropdownMenuRadioItem_alias_1 }
1323
+
1324
+ declare const dropdownMenuSchema: ComponentSchemaDefinition;
1325
+ export { dropdownMenuSchema }
1326
+ export { dropdownMenuSchema as dropdownMenuSchema_alias_1 }
1327
+
1328
+ /** Horizontal divider between menu items. */
1329
+ declare const DropdownMenuSeparator: React_2.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSeparatorProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
1330
+ export { DropdownMenuSeparator }
1331
+ export { DropdownMenuSeparator as DropdownMenuSeparator_alias_1 }
1332
+
1333
+ /**
1334
+ * Right-aligned shortcut text (e.g. ⌘K) shown next to a menu item.
1335
+ * @returns A span with muted, tracked typography
1336
+ */
1337
+ declare function DropdownMenuShortcut({ className, ...props }: React_2.HTMLAttributes<HTMLSpanElement>): JSX.Element;
1338
+ export { DropdownMenuShortcut }
1339
+ export { DropdownMenuShortcut as DropdownMenuShortcut_alias_1 }
1340
+
1341
+ /** Nested submenu root. */
1342
+ declare const DropdownMenuSub: React_2.FC<DropdownMenuPrimitive.DropdownMenuSubProps>;
1343
+ export { DropdownMenuSub }
1344
+ export { DropdownMenuSub as DropdownMenuSub_alias_1 }
1345
+
1346
+ /** The element (button) that opens the dropdown. */
1347
+ declare const DropdownMenuTrigger: React_2.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuTriggerProps & React_2.RefAttributes<HTMLButtonElement>>;
1348
+ export { DropdownMenuTrigger }
1349
+ export { DropdownMenuTrigger as DropdownMenuTrigger_alias_1 }
1350
+
1351
+ /**
1352
+ * Drag-and-drop file input built on the native HTML5 drag-drop API plus a
1353
+ * visually-hidden (sr-only) `<input type="file">` for screen-reader and
1354
+ * keyboard access.
1355
+ *
1356
+ * Two interaction surfaces:
1357
+ * - The visible drop area is a `role="button"` div with `tabIndex=0` and the
1358
+ * required `aria-label`. Click, Enter, or Space proxies through to click the
1359
+ * hidden input, opening the system file dialog.
1360
+ * - The hidden input itself remains in the accessibility tree (sr-only, NOT
1361
+ * `aria-hidden`) so AT-driven file pickers can find it directly.
1362
+ *
1363
+ * Pass `children` as a node (default placeholder) or a function receiving
1364
+ * `{ isDragOver, isDisabled, openFileDialog }` for full layout control.
1365
+ * @returns A drop area + hidden file input pair that yields a File[].
1366
+ */
1367
+ declare function Dropzone({ onFilesSelected, onFilesRejected, accept, multiple, maxFiles, maxSize, disabled, children, className, "aria-label": ariaLabel, ...rest }: DropzoneProps): JSX.Element;
1368
+
1369
+ declare namespace Dropzone {
1370
+ var displayName: string;
1371
+ }
1372
+ export { Dropzone }
1373
+ export { Dropzone as Dropzone_alias_1 }
1374
+
1375
+ declare interface DropzoneProps extends Omit<React_2.HTMLAttributes<HTMLDivElement>, "onChange" | "onDrop" | "children"> {
1376
+ /** Fired with the accepted file list every time the user picks or drops files. */
1377
+ onFilesSelected?: (files: File[]) => void;
1378
+ /**
1379
+ * Fired when files are dropped/picked but ALL of them are filtered out by
1380
+ * `accept` / `maxSize` / `maxFiles`. Useful for surfacing "file too large"
1381
+ * or "wrong type" toasts to the user. Receives the rejected File[].
1382
+ */
1383
+ onFilesRejected?: (files: File[]) => void;
1384
+ /** `accept` attribute forwarded to the hidden file input (e.g. "image/*", ".csv"). */
1385
+ accept?: string;
1386
+ /** Allow multiple files. Default true. */
1387
+ multiple?: boolean;
1388
+ /** Maximum total file count (after dedupe). Excess files are dropped silently — surface in your handler. */
1389
+ maxFiles?: number;
1390
+ /** Maximum size per file in bytes. Files over the cap are filtered before onFilesSelected fires. */
1391
+ maxSize?: number;
1392
+ /** Disable interaction. */
1393
+ disabled?: boolean;
1394
+ /** Optional render override for the dropzone body. Receives drag state. */
1395
+ children?: React_2.ReactNode | ((state: DropzoneRenderState) => React_2.ReactNode);
1396
+ /** Required accessible name for the drop area. */
1397
+ "aria-label": string;
1398
+ }
1399
+ export { DropzoneProps }
1400
+ export { DropzoneProps as DropzoneProps_alias_1 }
1401
+
1402
+ declare interface DropzoneRenderState {
1403
+ isDragOver: boolean;
1404
+ isDisabled: boolean;
1405
+ openFileDialog: () => void;
1406
+ }
1407
+ export { DropzoneRenderState }
1408
+ export { DropzoneRenderState as DropzoneRenderState_alias_1 }
1409
+
1410
+ declare const dropzoneSchema: ComponentSchemaDefinition;
1411
+ export { dropzoneSchema }
1412
+ export { dropzoneSchema as dropzoneSchema_alias_1 }
1413
+
1414
+ /**
1415
+ * A "zero-state" surface for lists, dashboards, and search results that have
1416
+ * no content to show. Use to explain *why* the slot is empty and *what to do*
1417
+ * next; pair the `action` slot with a button that creates the missing record.
1418
+ *
1419
+ * Distinct from {@link Loading} (transient, has a measurable wait) and
1420
+ * {@link ErrorState} (something failed and may need a retry). If you're
1421
+ * thinking "show a message because the request just hasn't returned yet,"
1422
+ * reach for `Loading` — Empty is for "the request returned, and there's
1423
+ * nothing to show."
1424
+ *
1425
+ * @example
1426
+ * ```tsx
1427
+ * <Empty
1428
+ * icon={<InboxIcon />}
1429
+ * title="No messages yet"
1430
+ * description="When someone sends you a message, it'll show up here."
1431
+ * action={<Button>Compose</Button>}
1432
+ * />
1433
+ * ```
1434
+ *
1435
+ * @returns A region landmark labeled by the title.
1436
+ */
1437
+ declare function Empty({ className, size, icon, title, description, action, titleAs, ref, ...props }: EmptyProps): JSX.Element;
1438
+ export { Empty }
1439
+ export { Empty as Empty_alias_1 }
1440
+
1441
+ declare interface EmptyProps extends Omit<React_2.HTMLAttributes<HTMLDivElement>, "title">, VariantProps<typeof emptyVariants> {
1442
+ /** Forwarded ref onto the root region element. */
1443
+ ref?: React_2.Ref<HTMLDivElement>;
1444
+ /** Optional icon (typically an `<svg>`) rendered in a circular muted container. */
1445
+ icon?: React_2.ReactNode;
1446
+ /** Required heading copy. Becomes the region's accessible name via `aria-labelledby`. */
1447
+ title: React_2.ReactNode;
1448
+ /** Optional supporting copy that explains why the slot is empty + what to do next. */
1449
+ description?: React_2.ReactNode;
1450
+ /** Optional call-to-action — typically a `<Button>` that creates the missing record. */
1451
+ action?: React_2.ReactNode;
1452
+ /** Heading level for the title — pick to match surrounding hierarchy (default `h3`). */
1453
+ titleAs?: EmptyTitleAs;
1454
+ }
1455
+ export { EmptyProps }
1456
+ export { EmptyProps as EmptyProps_alias_1 }
1457
+
1458
+ declare const emptySchema: ComponentSchemaDefinition;
1459
+ export { emptySchema }
1460
+ export { emptySchema as emptySchema_alias_1 }
1461
+
1462
+ /** Heading element used to render the Empty title. Defaults to `h3`. */
1463
+ declare type EmptyTitleAs = "h2" | "h3" | "h4" | "h5" | "h6" | "p";
1464
+
1465
+ declare const emptyVariants: (props?: ({
1466
+ size?: "default" | "sm" | "lg" | null | undefined;
1467
+ } & ClassProp) | undefined) => string;
1468
+ export { emptyVariants }
1469
+ export { emptyVariants as emptyVariants_alias_1 }
1470
+
1471
+ /**
1472
+ * A surface for rendering a failed-fetch / failed-action state. Visually
1473
+ * similar to {@link Empty} but ships with a destructive-tone bias and
1474
+ * mounts with `role="alert"` so screen readers announce the failure on
1475
+ * first render.
1476
+ *
1477
+ * Distinct from {@link Empty} (request returned, no items) and
1478
+ * {@link Loading} (request still in flight). For inline form-field
1479
+ * errors, use Form's `<FormMessage>` instead. For blocking destructive
1480
+ * confirmations, use AlertDialog.
1481
+ *
1482
+ * @example
1483
+ * ```tsx
1484
+ * <ErrorState
1485
+ * icon={<AlertCircleIcon />}
1486
+ * title="Couldn't load messages"
1487
+ * message="The server didn't respond. Check your connection and try again."
1488
+ * action={<Button onClick={refetch}>Retry</Button>}
1489
+ * />
1490
+ * ```
1491
+ *
1492
+ * @returns A `role="alert"` region with an optional action slot.
1493
+ */
1494
+ declare function ErrorState({ className, variant, icon, title, message, action, ref, ...props }: ErrorStateProps): JSX.Element;
1495
+ export { ErrorState }
1496
+ export { ErrorState as ErrorState_alias_1 }
1497
+
1498
+ declare interface ErrorStateProps extends Omit<React_2.HTMLAttributes<HTMLDivElement>, "title">, VariantProps<typeof errorStateVariants> {
1499
+ /** Forwarded ref onto the alert region. */
1500
+ ref?: React_2.Ref<HTMLDivElement>;
1501
+ /** Optional icon (typically an alert / x-circle SVG). */
1502
+ icon?: React_2.ReactNode;
1503
+ /** Optional heading copy. Falls back to a generic "Something went wrong" if omitted. */
1504
+ title?: React_2.ReactNode;
1505
+ /** Required body copy explaining what failed. */
1506
+ message: React_2.ReactNode;
1507
+ /**
1508
+ * Optional call-to-action — typically a `<Button>` with `onClick={refetch}`.
1509
+ * Slot pattern (matching `Empty.action`) so consumers control the button's
1510
+ * variant / loading state / asChild composition without ErrorState
1511
+ * re-implementing those concerns.
1512
+ */
1513
+ action?: React_2.ReactNode;
1514
+ }
1515
+ export { ErrorStateProps }
1516
+ export { ErrorStateProps as ErrorStateProps_alias_1 }
1517
+
1518
+ declare const errorStateSchema: ComponentSchemaDefinition;
1519
+ export { errorStateSchema }
1520
+ export { errorStateSchema as errorStateSchema_alias_1 }
1521
+
1522
+ declare const errorStateVariants: (props?: ({
1523
+ variant?: "default" | "destructive" | null | undefined;
1524
+ } & ClassProp) | undefined) => string;
1525
+ export { errorStateVariants }
1526
+ export { errorStateVariants as errorStateVariants_alias_1 }
1527
+
1528
+ /**
1529
+ * Hierarchical tree view for files, folders, settings sections, or any nested
1530
+ * navigation. Built on the WAI-ARIA tree pattern: `role="tree"` root,
1531
+ * `role="treeitem"` per node, `role="group"` per child group, with
1532
+ * `aria-level` / `aria-expanded` / `aria-selected` reflecting state.
1533
+ *
1534
+ * Keyboard: Up/Down move between visible items; Right expands a folder or
1535
+ * moves to the first child; Left collapses or moves to the parent;
1536
+ * Enter/Space activate the focused node; Home/End jump to the first/last.
1537
+ *
1538
+ * Expanded state is uncontrolled by default (`defaultExpanded`). Pass
1539
+ * `expanded` + `onExpandedChange` for controlled mode.
1540
+ * @returns A keyboard-accessible nested tree.
1541
+ */
1542
+ declare function FileTree({ nodes, defaultExpanded, expanded: expandedProp, onExpandedChange, selected, onSelect, "aria-label": ariaLabel, className, }: FileTreeProps): JSX.Element;
1543
+
1544
+ declare namespace FileTree {
1545
+ var displayName: string;
1546
+ }
1547
+ export { FileTree }
1548
+ export { FileTree as FileTree_alias_1 }
1549
+
1550
+ declare interface FileTreeNode {
1551
+ /** Stable unique id used as React key + ARIA target. */
1552
+ id: string;
1553
+ /** Display name (file or folder). */
1554
+ name: string;
1555
+ /** Nested children. Presence (even if empty array) marks the node as a folder. */
1556
+ children?: FileTreeNode[];
1557
+ /** Optional icon override. Default chooses folder/file based on `children`. */
1558
+ icon?: React_2.ReactNode;
1559
+ /** Disable selection + expand toggle. */
1560
+ disabled?: boolean;
1561
+ }
1562
+ export { FileTreeNode }
1563
+ export { FileTreeNode as FileTreeNode_alias_1 }
1564
+
1565
+ declare interface FileTreeProps {
1566
+ /** Root nodes. */
1567
+ nodes: FileTreeNode[];
1568
+ /** Uncontrolled initial expanded ids. */
1569
+ defaultExpanded?: string[];
1570
+ /** Controlled expanded ids. */
1571
+ expanded?: string[];
1572
+ /** Fired when expanded set changes (array of ids). */
1573
+ onExpandedChange?: (ids: string[]) => void;
1574
+ /** Controlled selected node id. */
1575
+ selected?: string;
1576
+ /** Fired when the user activates a node (click, Enter, or Space). */
1577
+ onSelect?: (id: string) => void;
1578
+ /** Required accessible name for the tree container. */
1579
+ "aria-label": string;
1580
+ /** Extra class names on the root tree element. */
1581
+ className?: string;
1582
+ }
1583
+ export { FileTreeProps }
1584
+ export { FileTreeProps as FileTreeProps_alias_1 }
1585
+
1586
+ declare const fileTreeSchema: ComponentSchemaDefinition;
1587
+ export { fileTreeSchema }
1588
+ export { fileTreeSchema as fileTreeSchema_alias_1 }
1589
+
1590
+ /** Cross-axis `align-items` values for vertical/grid flows (column-like). */
1591
+ export declare const flexAlignVariants: {
1592
+ readonly start: "items-start";
1593
+ readonly center: "items-center";
1594
+ readonly end: "items-end";
1595
+ readonly stretch: "items-stretch";
1596
+ };
1597
+
1598
+ /** Root form provider. Wraps react-hook-form's FormProvider. */
1599
+ declare const Form: <TFieldValues extends FieldValues, TContext = any, TTransformedValues = TFieldValues>(props: FormProviderProps<TFieldValues, TContext, TTransformedValues>) => React_2.JSX.Element;
1600
+ export { Form }
1601
+ export { Form as Form_alias_1 }
1602
+
1603
+ /**
1604
+ * Format HSL components into an HSL triplet string (the canonical token format).
1605
+ * @param hsl - Numeric components.
1606
+ * @returns Triplet in the form `"<H> <S>% <L>%"`.
1607
+ */
1608
+ declare function formatHslTriplet({ h, s, l }: HslTriplet): string;
1609
+ export { formatHslTriplet }
1610
+ export { formatHslTriplet as formatHslTriplet_alias_1 }
1611
+
1612
+ /** Wraps the form control and wires id + aria-describedby + aria-invalid. */
1613
+ declare const FormControl: React_2.ForwardRefExoticComponent<Omit<SlotProps & React_2.RefAttributes<HTMLElement>, "ref"> & React_2.RefAttributes<HTMLElement>>;
1614
+ export { FormControl }
1615
+ export { FormControl as FormControl_alias_1 }
1616
+
1617
+ /** Optional helper text below the control. */
1618
+ declare const FormDescription: React_2.ForwardRefExoticComponent<React_2.HTMLAttributes<HTMLParagraphElement> & React_2.RefAttributes<HTMLParagraphElement>>;
1619
+ export { FormDescription }
1620
+ export { FormDescription as FormDescription_alias_1 }
1621
+
1622
+ /**
1623
+ * Binds a field name to a react-hook-form Controller.
1624
+ * Provides context so FormItem children can access field state.
1625
+ * @param props - Controller props including name, control, render
1626
+ * @returns A Controller with FormFieldContext
1627
+ */
1628
+ declare const FormField: <TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>>({ ...props }: ControllerProps<TFieldValues, TName>) => JSX.Element;
1629
+ export { FormField }
1630
+ export { FormField as FormField_alias_1 }
1631
+
1632
+ /** Wraps a single form field (label + control + description + message). */
1633
+ declare const FormItem: React_2.ForwardRefExoticComponent<React_2.HTMLAttributes<HTMLDivElement> & React_2.RefAttributes<HTMLDivElement>>;
1634
+ export { FormItem }
1635
+ export { FormItem as FormItem_alias_1 }
1636
+
1637
+ /** Accessible label wired to the FormItem's control. Turns red on error. */
1638
+ declare const FormLabel: React_2.ForwardRefExoticComponent<Omit<LabelPrimitive.LabelProps & React_2.RefAttributes<HTMLLabelElement>, "ref"> & React_2.RefAttributes<HTMLLabelElement>>;
1639
+ export { FormLabel }
1640
+ export { FormLabel as FormLabel_alias_1 }
1641
+
1642
+ /** Validation error message. Renders the error string when the field is invalid. */
1643
+ declare const FormMessage: React_2.ForwardRefExoticComponent<React_2.HTMLAttributes<HTMLParagraphElement> & React_2.RefAttributes<HTMLParagraphElement>>;
1644
+ export { FormMessage }
1645
+ export { FormMessage as FormMessage_alias_1 }
1646
+
1647
+ declare const formSchema: ComponentSchemaDefinition;
1648
+ export { formSchema }
1649
+ export { formSchema as formSchema_alias_1 }
1650
+
1651
+ /** Gap scale bound to `--gap-*` tokens. Used by Stack, Cluster, Grid. */
1652
+ export declare const gapVariants: {
1653
+ readonly xs: "gap-[var(--gap-xs,0.25rem)]";
1654
+ readonly sm: "gap-[var(--gap-sm,0.5rem)]";
1655
+ readonly md: "gap-[var(--gap-md,1rem)]";
1656
+ readonly lg: "gap-[var(--gap-lg,1.5rem)]";
1657
+ readonly xl: "gap-[var(--gap-xl,2rem)]";
1658
+ };
1659
+
1660
+ /**
1661
+ * CSS grid with column-count presets and consistent gap. Use for card grids,
1662
+ * dashboards, image galleries, and any layout where children should align to
1663
+ * shared row/column tracks.
1664
+ *
1665
+ * Pass `cols="auto-fit"` and `minColWidth` for responsive grids that fit as
1666
+ * many columns as the viewport allows without media queries.
1667
+ *
1668
+ * @param props - Grid props including `cols`, `gap`, `align`, and `minColWidth`.
1669
+ * @returns A CSS grid container.
1670
+ * @example
1671
+ * ```tsx
1672
+ * <Grid cols={3} gap="md">
1673
+ * {items.map((i) => <Card key={i.id}>{i.title}</Card>)}
1674
+ * </Grid>
1675
+ * <Grid cols="auto-fit" minColWidth="20rem" gap="lg">
1676
+ * {responsiveItems.map(...)}
1677
+ * </Grid>
1678
+ * ```
1679
+ */
1680
+ declare function Grid({ className, cols, gap, align, minColWidth, style, ...props }: GridProps): JSX.Element;
1681
+ export { Grid }
1682
+ export { Grid as Grid_alias_1 }
1683
+
1684
+ /** Props for the Grid component. */
1685
+ declare interface GridProps extends React_2.HTMLAttributes<HTMLDivElement>, VariantProps<typeof gridVariants> {
1686
+ /**
1687
+ * Minimum column width for `cols="auto-fit"`. Tracks repeat to fill the container,
1688
+ * never shrinking below this value. Ignored when `cols` is a fixed integer.
1689
+ * @default "16rem"
1690
+ */
1691
+ minColWidth?: string;
1692
+ }
1693
+ export { GridProps }
1694
+ export { GridProps as GridProps_alias_1 }
1695
+
1696
+ declare const gridSchema: ComponentSchemaDefinition;
1697
+ export { gridSchema }
1698
+ export { gridSchema as gridSchema_alias_1 }
1699
+
1700
+ /**
1701
+ * CVA variants for Grid — CSS grid with column-count presets and shared `gap`.
1702
+ * `cols` accepts 1/2/3/4/6 fixed columns or `"auto-fit"` for responsive auto-sizing
1703
+ * (in which case the consumer should pass `minColWidth` for the min track size).
1704
+ *
1705
+ * `cols` keys are TypeScript numeric literals (`cols={3}`) at the type level;
1706
+ * the schema's `enumValues` serializes them as strings for JSON-shape parity.
1707
+ */
1708
+ declare const gridVariants: (props?: ({
1709
+ cols?: 1 | 2 | 3 | 4 | 6 | "auto-fit" | null | undefined;
1710
+ gap?: "sm" | "lg" | "md" | "xl" | "xs" | null | undefined;
1711
+ align?: "center" | "start" | "end" | "stretch" | null | undefined;
1712
+ } & ClassProp) | undefined) => string;
1713
+ export { gridVariants }
1714
+ export { gridVariants as gridVariants_alias_1 }
1715
+
1716
+ /**
1717
+ * Convert a hex string to an HSL triplet.
1718
+ * Accepts 3-digit (`#abc`) or 6-digit (`#aabbcc`) hex with optional `#`.
1719
+ * @param hex - Hex color string.
1720
+ * @returns HSL triplet, or `null` if the input is malformed.
1721
+ */
1722
+ declare function hexToHslTriplet(hex: string): string | null;
1723
+ export { hexToHslTriplet }
1724
+ export { hexToHslTriplet as hexToHslTriplet_alias_1 }
1725
+
1726
+ /** Root container for a hover-card. */
1727
+ declare const HoverCard: React_2.FC<HoverCardPrimitive.HoverCardProps>;
1728
+ export { HoverCard }
1729
+ export { HoverCard as HoverCard_alias_1 }
1730
+
1731
+ /** The floating hover-card content panel. Richer than a tooltip. */
1732
+ declare const HoverCardContent: React_2.ForwardRefExoticComponent<Omit<HoverCardPrimitive.HoverCardContentProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
1733
+ export { HoverCardContent }
1734
+ export { HoverCardContent as HoverCardContent_alias_1 }
1735
+
1736
+ declare const hoverCardSchema: ComponentSchemaDefinition;
1737
+ export { hoverCardSchema }
1738
+ export { hoverCardSchema as hoverCardSchema_alias_1 }
1739
+
1740
+ /** The element that reveals the card on hover/focus. */
1741
+ declare const HoverCardTrigger: React_2.ForwardRefExoticComponent<HoverCardPrimitive.HoverCardTriggerProps & React_2.RefAttributes<HTMLAnchorElement>>;
1742
+ export { HoverCardTrigger }
1743
+ export { HoverCardTrigger as HoverCardTrigger_alias_1 }
1744
+
1745
+ /**
1746
+ * Convert HSL components to RGB.
1747
+ * @param h - Hue (0–360).
1748
+ * @param s - Saturation (0–100).
1749
+ * @param l - Lightness (0–100).
1750
+ * @returns RGB channels (0–255, rounded).
1751
+ */
1752
+ declare function hslToRgb(h: number, s: number, l: number): RgbColor;
1753
+ export { hslToRgb }
1754
+ export { hslToRgb as hslToRgb_alias_1 }
1755
+
1756
+ /**
1757
+ * Color conversion utilities for the HSL-triplet token format used across
1758
+ * `@hex-core/tokens` themes (`H S% L%`, e.g. `"240 5.9% 10%"` — no `hsl()`
1759
+ * wrapper, no commas).
1760
+ *
1761
+ * The triplet is the round-trip-safe serialization for Hex UI: tokens flow
1762
+ * triplet → CSS `hsl(var(--token))` → rendered color, and the ColorPicker
1763
+ * component edits triplets directly. Hex/RGB conversions are display
1764
+ * adapters, not the source of truth.
1765
+ */
1766
+ /** Parsed HSL components. `h` is degrees (0–360); `s` and `l` are percentages (0–100). */
1767
+ declare interface HslTriplet {
1768
+ h: number;
1769
+ s: number;
1770
+ l: number;
1771
+ }
1772
+ export { HslTriplet }
1773
+ export { HslTriplet as HslTriplet_alias_1 }
1774
+
1775
+ /**
1776
+ * Convert an HSL triplet to a 6-digit hex string.
1777
+ * @param triplet - HSL triplet (e.g. `"240 5.9% 10%"`).
1778
+ * @returns Lowercase hex string with leading `#` (e.g. `"#181a1f"`).
1779
+ */
1780
+ declare function hslTripletToHex(triplet: string): string;
1781
+ export { hslTripletToHex }
1782
+ export { hslTripletToHex as hslTripletToHex_alias_1 }
1783
+
1784
+ declare const Input: React_2.ForwardRefExoticComponent<InputProps & React_2.RefAttributes<HTMLInputElement>>;
1785
+ export { Input }
1786
+ export { Input as Input_alias_1 }
1787
+
1788
+ /** Root OTP input. Wraps input-otp's OTPInput and exposes slot context to children. */
1789
+ declare const InputOTP: React_2.ForwardRefExoticComponent<InputOTPProps & React_2.RefAttributes<HTMLInputElement>>;
1790
+ export { InputOTP }
1791
+ export { InputOTP as InputOTP_alias_1 }
1792
+
1793
+ /** Groups slots together; place between runs of slots to add visual dividers. */
1794
+ declare const InputOTPGroup: React_2.ForwardRefExoticComponent<Omit<React_2.DetailedHTMLProps<React_2.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
1795
+ export { InputOTPGroup }
1796
+ export { InputOTPGroup as InputOTPGroup_alias_1 }
1797
+
1798
+ /** Props for the root InputOTP component (mirrors input-otp's OTPInput). */
1799
+ declare type InputOTPProps = React_2.ComponentPropsWithoutRef<typeof OTPInput>;
1800
+ export { InputOTPProps }
1801
+ export { InputOTPProps as InputOTPProps_alias_1 }
1802
+
1803
+ declare const inputOTPSchema: ComponentSchemaDefinition;
1804
+ export { inputOTPSchema }
1805
+ export { inputOTPSchema as inputOTPSchema_alias_1 }
1806
+
1807
+ /** Visual separator between slot groups (a bullet by default). */
1808
+ declare const InputOTPSeparator: React_2.ForwardRefExoticComponent<Omit<React_2.DetailedHTMLProps<React_2.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
1809
+ export { InputOTPSeparator }
1810
+ export { InputOTPSeparator as InputOTPSeparator_alias_1 }
1811
+
1812
+ /** A single character slot. Reads its state from OTPInputContext. */
1813
+ declare const InputOTPSlot: React_2.ForwardRefExoticComponent<InputOTPSlotProps & React_2.RefAttributes<HTMLDivElement>>;
1814
+ export { InputOTPSlot }
1815
+ export { InputOTPSlot as InputOTPSlot_alias_1 }
1816
+
1817
+ declare interface InputOTPSlotProps extends React_2.ComponentPropsWithoutRef<"div"> {
1818
+ /** Index of the slot in the underlying OTP value. */
1819
+ index: number;
1820
+ }
1821
+
1822
+ declare type InputProps = React_2.InputHTMLAttributes<HTMLInputElement>;
1823
+ export { InputProps }
1824
+ export { InputProps as InputProps_alias_1 }
1825
+
1826
+ declare const inputSchema: ComponentSchemaDefinition;
1827
+ export { inputSchema }
1828
+ export { inputSchema as inputSchema_alias_1 }
1829
+
1830
+ /** `justify-content` values shared by Stack and Cluster. */
1831
+ export declare const justifyVariants: {
1832
+ readonly start: "justify-start";
1833
+ readonly center: "justify-center";
1834
+ readonly end: "justify-end";
1835
+ readonly between: "justify-between";
1836
+ };
1837
+
1838
+ declare const Label: React_2.ForwardRefExoticComponent<LabelProps & React_2.RefAttributes<HTMLLabelElement>>;
1839
+ export { Label }
1840
+ export { Label as Label_alias_1 }
1841
+
1842
+ declare interface LabelProps extends React_2.ComponentPropsWithoutRef<typeof LabelPrimitive.Root>, VariantProps<typeof labelVariants> {
1843
+ }
1844
+ export { LabelProps }
1845
+ export { LabelProps as LabelProps_alias_1 }
1846
+
1847
+ declare const labelSchema: ComponentSchemaDefinition;
1848
+ export { labelSchema }
1849
+ export { labelSchema as labelSchema_alias_1 }
1850
+
1851
+ declare const labelVariants: (props?: ClassProp | undefined) => string;
1852
+
1853
+ /**
1854
+ * A composed loading-placeholder pattern for lists, cards, and stacks.
1855
+ * Renders N {@link Skeleton} rows pre-arranged for the chosen layout —
1856
+ * Skeleton is the atom (one shaped pulse), Loading is the molecule
1857
+ * (the canonical pattern most surfaces want).
1858
+ *
1859
+ * Distinct from {@link Empty} (request returned, no items) and
1860
+ * {@link ErrorState} (request failed). If you need a single shaped
1861
+ * pulse for a specific element (an avatar circle, a heading line),
1862
+ * reach for `Skeleton` directly. If the wait has a measurable
1863
+ * percent-done, reach for `Progress` instead.
1864
+ *
1865
+ * @example
1866
+ * ```tsx
1867
+ * <Loading rows={5} variant="list" />
1868
+ * ```
1869
+ *
1870
+ * @returns A `role="status"` region with `aria-live="polite"` and the
1871
+ * announced label (default "Loading…") rendered sr-only.
1872
+ */
1873
+ declare function Loading({ className, variant, rows, label, ref, ...props }: LoadingProps): JSX.Element;
1874
+ export { Loading }
1875
+ export { Loading as Loading_alias_1 }
1876
+
1877
+ /**
1878
+ * Renders an animated loading indicator with optional label.
1879
+ * @param props - variant + label
1880
+ * @returns A status div with role="status"
1881
+ */
1882
+ declare function LoadingIndicator({ variant, size, label, className, ...props }: LoadingIndicatorProps): JSX.Element;
1883
+ export { LoadingIndicator }
1884
+ export { LoadingIndicator as LoadingIndicator_alias_1 }
1885
+
1886
+ /**
1887
+ * Streaming/typing feedback for an in-flight LLM turn. Three motion variants
1888
+ * — `dots` (bouncing trio), `pulse` (single throbbing circle), `bar`
1889
+ * (horizontal sweep). Pure CSS, no JS — RSC-safe.
1890
+ *
1891
+ * @example
1892
+ * {isLoading && <LoadingIndicator label="Thinking…" />}
1893
+ */
1894
+ declare interface LoadingIndicatorProps extends React_2.HTMLAttributes<HTMLDivElement>, VariantProps<typeof loadingIndicatorVariants> {
1895
+ /** Animation style. Default `dots`. */
1896
+ variant?: "dots" | "pulse" | "bar";
1897
+ /** Optional adjacent label, e.g. "Thinking…" or "Searching docs…". */
1898
+ label?: string;
1899
+ }
1900
+ export { LoadingIndicatorProps }
1901
+ export { LoadingIndicatorProps as LoadingIndicatorProps_alias_1 }
1902
+
1903
+ declare const loadingIndicatorSchema: ComponentSchemaDefinition;
1904
+ export { loadingIndicatorSchema }
1905
+ export { loadingIndicatorSchema as loadingIndicatorSchema_alias_1 }
1906
+
1907
+ declare const loadingIndicatorVariants: (props?: ({
1908
+ size?: "sm" | "md" | null | undefined;
1909
+ } & ClassProp) | undefined) => string;
1910
+ export { loadingIndicatorVariants }
1911
+ export { loadingIndicatorVariants as loadingIndicatorVariants_alias_1 }
1912
+
1913
+ declare interface LoadingProps extends Omit<React_2.HTMLAttributes<HTMLDivElement>, "role">, VariantProps<typeof loadingVariants> {
1914
+ /** Forwarded ref onto the status region. */
1915
+ ref?: React_2.Ref<HTMLDivElement>;
1916
+ /**
1917
+ * Number of placeholder rows to render. Each row may contain multiple
1918
+ * Skeleton elements depending on `variant` — `list` emits 1 Skeleton
1919
+ * per row; `card` emits 3 (heading + 2 body lines); `stack` emits 3
1920
+ * (avatar + 2 text lines). Default 3.
1921
+ */
1922
+ rows?: number;
1923
+ /** Optional sr-only label that screen readers announce. Default "Loading…". */
1924
+ label?: string;
1925
+ }
1926
+ export { LoadingProps }
1927
+ export { LoadingProps as LoadingProps_alias_1 }
1928
+
1929
+ declare const loadingSchema: ComponentSchemaDefinition;
1930
+ export { loadingSchema }
1931
+ export { loadingSchema as loadingSchema_alias_1 }
1932
+
1933
+ declare const loadingVariants: (props?: ({
1934
+ variant?: "list" | "card" | "stack" | null | undefined;
1935
+ } & ClassProp) | undefined) => string;
1936
+ export { loadingVariants }
1937
+ export { loadingVariants as loadingVariants_alias_1 }
1938
+
1939
+ /**
1940
+ * Renders streaming-safe markdown.
1941
+ * @param props - children string + optional Streamdown overrides
1942
+ * @returns A Streamdown root scoped with prose styles
1943
+ */
1944
+ declare function Markdown({ children, className }: MarkdownProps): JSX.Element;
1945
+ export { Markdown }
1946
+ export { Markdown as Markdown_alias_1 }
1947
+
1948
+ /**
1949
+ * Streaming-safe markdown renderer. Wraps Vercel's `streamdown` so partial
1950
+ * input mid-stream — unclosed code fences, half-typed tags, dangling
1951
+ * brackets — renders gracefully instead of throwing or flashing raw text.
1952
+ *
1953
+ * Public prop surface is intentionally minimal (`children` + `className`)
1954
+ * so this primitive's DTS doesn't drag in `streamdown`'s full type graph.
1955
+ * Doing so would transitively pull Shiki's 600-literal `BundledLanguage`
1956
+ * union into the rollup-dts pass and exhaust heap. For per-element
1957
+ * overrides (custom `pre`, `code`, `a`, `img`, mermaid, math, line
1958
+ * numbers, plugins, etc.) drop down to `Streamdown` directly:
1959
+ *
1960
+ * ```tsx
1961
+ * import { Streamdown } from "streamdown";
1962
+ * import { CodeBlock } from "@hex-core/components";
1963
+ * <Streamdown components={{ pre: (p) => <CodeBlock {...p} /> }}>{md}</Streamdown>
1964
+ * ```
1965
+ *
1966
+ * @example
1967
+ * <Message role="assistant">
1968
+ * <Markdown>{streamingText}</Markdown>
1969
+ * </Message>
1970
+ */
1971
+ declare interface MarkdownProps {
1972
+ /** Raw markdown. May be a partial chunk during streaming. */
1973
+ children: string;
1974
+ className?: string;
1975
+ }
1976
+ export { MarkdownProps }
1977
+ export { MarkdownProps as MarkdownProps_alias_1 }
1978
+
1979
+ declare const markdownSchema: ComponentSchemaDefinition;
1980
+ export { markdownSchema }
1981
+ export { markdownSchema as markdownSchema_alias_1 }
1982
+
1983
+ /** Top-level menu bar (File / Edit / View style). */
1984
+ declare const Menubar: React_2.ForwardRefExoticComponent<Omit<MenubarPrimitive.MenubarProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
1985
+ export { Menubar }
1986
+ export { Menubar as Menubar_alias_1 }
1987
+
1988
+ /** The menu panel shown when a trigger opens. */
1989
+ declare const MenubarContent: React_2.ForwardRefExoticComponent<Omit<MenubarPrimitive.MenubarContentProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
1990
+ export { MenubarContent }
1991
+ export { MenubarContent as MenubarContent_alias_1 }
1992
+
1993
+ /** Groups related items inside a menu content. */
1994
+ declare const MenubarGroup: typeof MenubarPrimitive.Group;
1995
+ export { MenubarGroup }
1996
+ export { MenubarGroup as MenubarGroup_alias_1 }
1997
+
1998
+ /** A clickable menu item. */
1999
+ declare const MenubarItem: React_2.ForwardRefExoticComponent<Omit<MenubarPrimitive.MenubarItemProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & {
2000
+ inset?: boolean;
2001
+ } & React_2.RefAttributes<HTMLDivElement>>;
2002
+ export { MenubarItem }
2003
+ export { MenubarItem as MenubarItem_alias_1 }
2004
+
2005
+ /** A non-interactive heading label. */
2006
+ declare const MenubarLabel: React_2.ForwardRefExoticComponent<Omit<MenubarPrimitive.MenubarLabelProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & {
2007
+ inset?: boolean;
2008
+ } & React_2.RefAttributes<HTMLDivElement>>;
2009
+ export { MenubarLabel }
2010
+ export { MenubarLabel as MenubarLabel_alias_1 }
2011
+
2012
+ /** A top-level menu in the bar (e.g. "File"). */
2013
+ declare const MenubarMenu: typeof MenubarPrimitive.Menu;
2014
+ export { MenubarMenu }
2015
+ export { MenubarMenu as MenubarMenu_alias_1 }
2016
+
2017
+ /** Portals menu content into the body. */
2018
+ declare const MenubarPortal: typeof MenubarPrimitive.Portal;
2019
+ export { MenubarPortal }
2020
+ export { MenubarPortal as MenubarPortal_alias_1 }
2021
+
2022
+ /** Group for checkable radio items. */
2023
+ declare const MenubarRadioGroup: typeof MenubarPrimitive.RadioGroup;
2024
+ export { MenubarRadioGroup }
2025
+ export { MenubarRadioGroup as MenubarRadioGroup_alias_1 }
2026
+
2027
+ declare const menubarSchema: ComponentSchemaDefinition;
2028
+ export { menubarSchema }
2029
+ export { menubarSchema as menubarSchema_alias_1 }
2030
+
2031
+ /** Horizontal divider. */
2032
+ declare const MenubarSeparator: React_2.ForwardRefExoticComponent<Omit<MenubarPrimitive.MenubarSeparatorProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
2033
+ export { MenubarSeparator }
2034
+ export { MenubarSeparator as MenubarSeparator_alias_1 }
2035
+
2036
+ /**
2037
+ * Right-aligned keyboard shortcut text.
2038
+ * @returns A span with muted typography
2039
+ */
2040
+ declare function MenubarShortcut({ className, ...props }: React_2.HTMLAttributes<HTMLSpanElement>): JSX.Element;
2041
+ export { MenubarShortcut }
2042
+ export { MenubarShortcut as MenubarShortcut_alias_1 }
2043
+
2044
+ /** The clickable menu label in the bar. */
2045
+ declare const MenubarTrigger: React_2.ForwardRefExoticComponent<Omit<MenubarPrimitive.MenubarTriggerProps & React_2.RefAttributes<HTMLButtonElement>, "ref"> & React_2.RefAttributes<HTMLButtonElement>>;
2046
+ export { MenubarTrigger }
2047
+ export { MenubarTrigger as MenubarTrigger_alias_1 }
2048
+
2049
+ /**
2050
+ * Renders a chat-message row scoped to one speaker.
2051
+ * @param props - role + content
2052
+ * @returns A styled div tagged with `data-role={role}`
2053
+ */
2054
+ declare function Message({ role, className, children, ...props }: MessageProps): JSX.Element;
2055
+ export { Message }
2056
+ export { Message as Message_alias_1 }
2057
+
2058
+ /**
2059
+ * Renders the action-button row.
2060
+ * @param props - children buttons
2061
+ * @returns A flex container styled for in-message actions
2062
+ */
2063
+ declare function MessageActions({ className, children, ...props }: MessageActionsProps): JSX.Element;
2064
+ export { MessageActions }
2065
+ export { MessageActions as MessageActions_alias_1 }
2066
+
2067
+ /**
2068
+ * Inline action row beneath a message — typically holds copy / regenerate /
2069
+ * thumbs-up / thumbs-down buttons. Pure container: it sets the layout and
2070
+ * leaves the buttons (and their handlers) to the consumer.
2071
+ *
2072
+ * Renders below the message body with subtle hover-reveal styling — the
2073
+ * row is dimmed by default and brightens when the parent hovers.
2074
+ *
2075
+ * @example
2076
+ * <Message role="assistant">
2077
+ * <Markdown>{text}</Markdown>
2078
+ * <MessageActions>
2079
+ * <Button variant="ghost" size="icon" onClick={() => copy(text)}><CopyIcon /></Button>
2080
+ * <Button variant="ghost" size="icon" onClick={onRegenerate}><RetryIcon /></Button>
2081
+ * </MessageActions>
2082
+ * </Message>
2083
+ */
2084
+ declare interface MessageActionsProps extends React_2.HTMLAttributes<HTMLDivElement> {
2085
+ children: React_2.ReactNode;
2086
+ }
2087
+ export { MessageActionsProps }
2088
+ export { MessageActionsProps as MessageActionsProps_alias_1 }
2089
+
2090
+ declare const messageActionsSchema: ComponentSchemaDefinition;
2091
+ export { messageActionsSchema }
2092
+ export { messageActionsSchema as messageActionsSchema_alias_1 }
2093
+
2094
+ /**
2095
+ * Renders the scrolling message viewport.
2096
+ * @param props - children + autoScroll toggle
2097
+ * @returns A scrollable div that auto-pins to bottom when streaming
2098
+ */
2099
+ declare function MessageList({ autoScroll, className, children, ...props }: MessageListProps): JSX.Element;
2100
+ export { MessageList }
2101
+ export { MessageList as MessageList_alias_1 }
2102
+
2103
+ /**
2104
+ * Auto-scrolling viewport for a stream of chat messages. When `autoScroll`
2105
+ * is true (default), the container pins to the bottom whenever its content
2106
+ * changes — including during streaming token updates. Detects whether the
2107
+ * user has scrolled away from the bottom and pauses auto-scroll until they
2108
+ * scroll back, so reading earlier turns doesn't fight the stream.
2109
+ *
2110
+ * @example
2111
+ * <MessageList>
2112
+ * {messages.map((m) => <Message key={m.id} role={m.role}>{m.content}</Message>)}
2113
+ * </MessageList>
2114
+ */
2115
+ declare interface MessageListProps extends React_2.HTMLAttributes<HTMLDivElement> {
2116
+ /** Auto-scroll to bottom on content change (when user is already near the bottom). Default: true. */
2117
+ autoScroll?: boolean;
2118
+ children: React_2.ReactNode;
2119
+ }
2120
+ export { MessageListProps }
2121
+ export { MessageListProps as MessageListProps_alias_1 }
2122
+
2123
+ declare const messageListSchema: ComponentSchemaDefinition;
2124
+ export { messageListSchema }
2125
+ export { messageListSchema as messageListSchema_alias_1 }
2126
+
2127
+ /**
2128
+ * Single chat message row. Renders content with role-specific styling and a
2129
+ * `data-role` attribute so consumers can target arbitrary roles via CSS.
2130
+ *
2131
+ * Headless: accepts any `children`. Pair with `Markdown` + `CodeBlock` for
2132
+ * assistant turns, with `ToolCall` for agent steps, or with plain strings.
2133
+ *
2134
+ * @example
2135
+ * <Message role="user">What's the weather?</Message>
2136
+ * @example
2137
+ * <Message role="assistant">
2138
+ * <Markdown>{streamingText}</Markdown>
2139
+ * <ToolCall name="getWeather" state="result" args={...} result={...} />
2140
+ * </Message>
2141
+ */
2142
+ declare interface MessageProps extends Omit<React_2.HTMLAttributes<HTMLDivElement>, "role">, VariantProps<typeof messageVariants> {
2143
+ /** Speaker — drives variant styling and the `data-role` attribute. */
2144
+ role: Role;
2145
+ children: React_2.ReactNode;
2146
+ }
2147
+ export { MessageProps }
2148
+ export { MessageProps as MessageProps_alias_1 }
2149
+
2150
+ declare const messageSchema: ComponentSchemaDefinition;
2151
+ export { messageSchema }
2152
+ export { messageSchema as messageSchema_alias_1 }
2153
+
2154
+ declare const messageVariants: (props?: ({
2155
+ role?: "user" | "system" | "assistant" | "tool" | null | undefined;
2156
+ } & ClassProp) | undefined) => string;
2157
+ export { messageVariants }
2158
+ export { messageVariants as messageVariants_alias_1 }
2159
+
2160
+ /**
2161
+ * Searchable multi-select input built on Command + Popover.
2162
+ *
2163
+ * Pass `options` with `{ value, label }` and bind `value` (string[]) +
2164
+ * `onChange`. The trigger shows "{n} selected" once any option is picked, with
2165
+ * the comma-separated label list mirrored into the `title` attribute for
2166
+ * pointer/screen-reader fallback. Each option is announced with `aria-selected`.
2167
+ * @returns A trigger button that opens a multi-select option list.
2168
+ */
2169
+ declare function MultiCombobox({ options, value, onChange, placeholder, searchPlaceholder, emptyText, maxSelected, closeOnSelect, disabled, className, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledBy, }: MultiComboboxProps): JSX.Element;
2170
+
2171
+ declare namespace MultiCombobox {
2172
+ var displayName: string;
2173
+ }
2174
+ export { MultiCombobox }
2175
+ export { MultiCombobox as MultiCombobox_alias_1 }
2176
+
2177
+ declare interface MultiComboboxOption {
2178
+ /** The value returned in the onChange array (stable, unique). */
2179
+ value: string;
2180
+ /** The display label shown in the list and the trigger. */
2181
+ label: string;
2182
+ /** Mark as non-selectable. */
2183
+ disabled?: boolean;
2184
+ }
2185
+ export { MultiComboboxOption }
2186
+ export { MultiComboboxOption as MultiComboboxOption_alias_1 }
2187
+
2188
+ declare interface MultiComboboxProps {
2189
+ /** The list of selectable options. */
2190
+ options: MultiComboboxOption[];
2191
+ /** Controlled selected values. */
2192
+ value?: string[];
2193
+ /** Fired when the user toggles an option: (values: string[]) => void */
2194
+ onChange?: (values: string[]) => void;
2195
+ /** Text shown on the trigger when nothing is selected. */
2196
+ placeholder?: string;
2197
+ /** Input placeholder inside the popover list. */
2198
+ searchPlaceholder?: string;
2199
+ /** Text shown when no options match the search. */
2200
+ emptyText?: string;
2201
+ /** Soft cap on selections. Once reached, unselected options become non-selectable. */
2202
+ maxSelected?: number;
2203
+ /** Close the popover after every pick. Default false (multi-select UX expects staying open). */
2204
+ closeOnSelect?: boolean;
2205
+ /** Disable the trigger. */
2206
+ disabled?: boolean;
2207
+ /** Extra class names on the trigger button. */
2208
+ className?: string;
2209
+ /** Accessible label for the trigger (required when no adjacent visible label). */
2210
+ "aria-label"?: string;
2211
+ /** Id of an external visible label that names this combobox. */
2212
+ "aria-labelledby"?: string;
2213
+ }
2214
+ export { MultiComboboxProps }
2215
+ export { MultiComboboxProps as MultiComboboxProps_alias_1 }
2216
+
2217
+ declare const multiComboboxSchema: ComponentSchemaDefinition;
2218
+ export { multiComboboxSchema }
2219
+ export { multiComboboxSchema as multiComboboxSchema_alias_1 }
2220
+
2221
+ /** Root container for a navigation menu. Renders a viewport for content panels. */
2222
+ declare const NavigationMenu: React_2.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuProps & React_2.RefAttributes<HTMLElement>, "ref"> & React_2.RefAttributes<HTMLElement>>;
2223
+ export { NavigationMenu }
2224
+ export { NavigationMenu as NavigationMenu_alias_1 }
2225
+
2226
+ /** The content panel (e.g. mega-menu). */
2227
+ declare const NavigationMenuContent: React_2.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuContentProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
2228
+ export { NavigationMenuContent }
2229
+ export { NavigationMenuContent as NavigationMenuContent_alias_1 }
2230
+
2231
+ /** Visual indicator (arrow) pointing at the active trigger. */
2232
+ declare const NavigationMenuIndicator: React_2.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuIndicatorProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
2233
+ export { NavigationMenuIndicator }
2234
+ export { NavigationMenuIndicator as NavigationMenuIndicator_alias_1 }
2235
+
2236
+ /** A single top-level item (wraps trigger + content). */
2237
+ declare const NavigationMenuItem: React_2.ForwardRefExoticComponent<NavigationMenuPrimitive.NavigationMenuItemProps & React_2.RefAttributes<HTMLLIElement>>;
2238
+ export { NavigationMenuItem }
2239
+ export { NavigationMenuItem as NavigationMenuItem_alias_1 }
2240
+
2241
+ /** A direct link (no content panel). */
2242
+ declare const NavigationMenuLink: React_2.ForwardRefExoticComponent<NavigationMenuPrimitive.NavigationMenuLinkProps & React_2.RefAttributes<HTMLAnchorElement>>;
2243
+ export { NavigationMenuLink }
2244
+ export { NavigationMenuLink as NavigationMenuLink_alias_1 }
2245
+
2246
+ /** List of top-level NavigationMenu items. */
2247
+ declare const NavigationMenuList: React_2.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuListProps & React_2.RefAttributes<HTMLUListElement>, "ref"> & React_2.RefAttributes<HTMLUListElement>>;
2248
+ export { NavigationMenuList }
2249
+ export { NavigationMenuList as NavigationMenuList_alias_1 }
2250
+
2251
+ declare const navigationMenuSchema: ComponentSchemaDefinition;
2252
+ export { navigationMenuSchema }
2253
+ export { navigationMenuSchema as navigationMenuSchema_alias_1 }
2254
+
2255
+ /** The clickable trigger that opens a nav-menu content panel. */
2256
+ declare const NavigationMenuTrigger: React_2.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuTriggerProps & React_2.RefAttributes<HTMLButtonElement>, "ref"> & React_2.RefAttributes<HTMLButtonElement>>;
2257
+ export { NavigationMenuTrigger }
2258
+ export { NavigationMenuTrigger as NavigationMenuTrigger_alias_1 }
2259
+
2260
+ declare const navigationMenuTriggerStyle: (props?: ClassProp | undefined) => string;
2261
+ export { navigationMenuTriggerStyle }
2262
+ export { navigationMenuTriggerStyle as navigationMenuTriggerStyle_alias_1 }
2263
+
2264
+ /** The viewport that hosts the active content panel. Rendered inside NavigationMenu. */
2265
+ declare const NavigationMenuViewport: React_2.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuViewportProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
2266
+ export { NavigationMenuViewport }
2267
+ export { NavigationMenuViewport as NavigationMenuViewport_alias_1 }
2268
+
2269
+ /**
2270
+ * Root nav landmark for pagination controls.
2271
+ * @returns A centered nav element with aria-label='pagination'
2272
+ */
2273
+ declare function Pagination({ className, ...props }: React_2.ComponentProps<"nav">): JSX.Element;
2274
+ export { Pagination }
2275
+ export { Pagination as Pagination_alias_1 }
2276
+
2277
+ /** Ordered list wrapper for pagination links. */
2278
+ declare const PaginationContent: React_2.ForwardRefExoticComponent<Omit<React_2.DetailedHTMLProps<React_2.HTMLAttributes<HTMLUListElement>, HTMLUListElement>, "ref"> & React_2.RefAttributes<HTMLUListElement>>;
2279
+ export { PaginationContent }
2280
+ export { PaginationContent as PaginationContent_alias_1 }
2281
+
2282
+ /**
2283
+ * Ellipsis placeholder for truncated page ranges (e.g. 1 … 5 6 7 … 99).
2284
+ * @returns A span containing a decorative SVG (aria-hidden) plus a sr-only "More pages" label for AT.
2285
+ */
2286
+ declare function PaginationEllipsis({ className, ...props }: React_2.ComponentProps<"span">): JSX.Element;
2287
+ export { PaginationEllipsis }
2288
+ export { PaginationEllipsis as PaginationEllipsis_alias_1 }
2289
+
2290
+ /** A pagination list item wrapper. */
2291
+ declare const PaginationItem: React_2.ForwardRefExoticComponent<Omit<React_2.DetailedHTMLProps<React_2.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & React_2.RefAttributes<HTMLLIElement>>;
2292
+ export { PaginationItem }
2293
+ export { PaginationItem as PaginationItem_alias_1 }
2294
+
2295
+ /**
2296
+ * A pagination link styled as a button. Mark the current page with isActive.
2297
+ * @returns An anchor element styled via buttonVariants
2298
+ */
2299
+ declare function PaginationLink({ className, isActive, size, ...props }: PaginationLinkProps): JSX.Element;
2300
+ export { PaginationLink }
2301
+ export { PaginationLink as PaginationLink_alias_1 }
2302
+
2303
+ declare type PaginationLinkProps = {
2304
+ isActive?: boolean;
2305
+ } & Pick<ButtonVariantsProps, "size"> & React_2.ComponentProps<"a">;
2306
+
2307
+ /**
2308
+ * Next-page link with chevron-right icon.
2309
+ * @returns A PaginationLink with aria-label='Go to next page'
2310
+ */
2311
+ declare function PaginationNext({ className, ...props }: React_2.ComponentProps<typeof PaginationLink>): JSX.Element;
2312
+ export { PaginationNext }
2313
+ export { PaginationNext as PaginationNext_alias_1 }
2314
+
2315
+ /**
2316
+ * Previous-page link with chevron-left icon.
2317
+ * @returns A PaginationLink with aria-label='Go to previous page'
2318
+ */
2319
+ declare function PaginationPrevious({ className, ...props }: React_2.ComponentProps<typeof PaginationLink>): JSX.Element;
2320
+ export { PaginationPrevious }
2321
+ export { PaginationPrevious as PaginationPrevious_alias_1 }
2322
+
2323
+ declare const paginationSchema: ComponentSchemaDefinition;
2324
+ export { paginationSchema }
2325
+ export { paginationSchema as paginationSchema_alias_1 }
2326
+
2327
+ /**
2328
+ * Parse an HSL triplet string into numeric components.
2329
+ *
2330
+ * Note: malformed input silently coerces to `{0,0,0}` (pure black) rather than
2331
+ * returning an error signal. Callers that need to distinguish "user typed
2332
+ * black" from "user typed garbage" should validate the input format first.
2333
+ * `hexToHslTriplet` returns `null` for malformed hex; this asymmetry is
2334
+ * intentional — triplets feed CSS variables where any non-color value would
2335
+ * already break rendering.
2336
+ *
2337
+ * @param triplet - String in the form `"<H> <S>% <L>%"` (e.g. `"240 5.9% 10%"`).
2338
+ * @returns Numeric components, or `{0,0,0}` if the input is malformed.
2339
+ */
2340
+ declare function parseHslTriplet(triplet: string): HslTriplet;
2341
+ export { parseHslTriplet }
2342
+ export { parseHslTriplet as parseHslTriplet_alias_1 }
2343
+
2344
+ /** Root container for a popover. */
2345
+ declare const Popover: React_2.FC<PopoverPrimitive.PopoverProps>;
2346
+ export { Popover }
2347
+ export { Popover as Popover_alias_1 }
2348
+
2349
+ /** Helper to explicitly anchor the popover to a different element. */
2350
+ declare const PopoverAnchor: React_2.ForwardRefExoticComponent<PopoverPrimitive.PopoverAnchorProps & React_2.RefAttributes<HTMLDivElement>>;
2351
+ export { PopoverAnchor }
2352
+ export { PopoverAnchor as PopoverAnchor_alias_1 }
2353
+
2354
+ /** The floating popover content panel. */
2355
+ declare const PopoverContent: React_2.ForwardRefExoticComponent<Omit<PopoverPrimitive.PopoverContentProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
2356
+ export { PopoverContent }
2357
+ export { PopoverContent as PopoverContent_alias_1 }
2358
+
2359
+ declare const popoverSchema: ComponentSchemaDefinition;
2360
+ export { popoverSchema }
2361
+ export { popoverSchema as popoverSchema_alias_1 }
2362
+
2363
+ /** The element that anchors and opens the popover. */
2364
+ declare const PopoverTrigger: React_2.ForwardRefExoticComponent<PopoverPrimitive.PopoverTriggerProps & React_2.RefAttributes<HTMLButtonElement>>;
2365
+ export { PopoverTrigger }
2366
+ export { PopoverTrigger as PopoverTrigger_alias_1 }
2367
+
2368
+ /**
2369
+ * A horizontal progress bar from 0–100%.
2370
+ * Built on Radix UI Progress for aria-valuenow/max wiring.
2371
+ */
2372
+ declare const Progress: React_2.ForwardRefExoticComponent<Omit<ProgressPrimitive.ProgressProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
2373
+ export { Progress }
2374
+ export { Progress as Progress_alias_1 }
2375
+
2376
+ declare const progressSchema: ComponentSchemaDefinition;
2377
+ export { progressSchema }
2378
+ export { progressSchema as progressSchema_alias_1 }
2379
+
2380
+ /** Root container for a radio group. Pair with one or more RadioGroupItem. */
2381
+ declare const RadioGroup: React_2.ForwardRefExoticComponent<Omit<RadioGroupPrimitive.RadioGroupProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
2382
+ export { RadioGroup }
2383
+ export { RadioGroup as RadioGroup_alias_1 }
2384
+
2385
+ /** A single radio option within a RadioGroup. */
2386
+ declare const RadioGroupItem: React_2.ForwardRefExoticComponent<Omit<RadioGroupPrimitive.RadioGroupItemProps & React_2.RefAttributes<HTMLButtonElement>, "ref"> & React_2.RefAttributes<HTMLButtonElement>>;
2387
+ export { RadioGroupItem }
2388
+ export { RadioGroupItem as RadioGroupItem_alias_1 }
2389
+
2390
+ declare const radioGroupSchema: ComponentSchemaDefinition;
2391
+ export { radioGroupSchema }
2392
+ export { radioGroupSchema as radioGroupSchema_alias_1 }
2393
+
2394
+ /**
2395
+ * Renders a collapsible thinking-trace block.
2396
+ * @param props - children + optional duration
2397
+ * @returns A Collapsible with a labelled header and content body
2398
+ */
2399
+ declare function Reasoning({ children, defaultOpen, durationMs, label, className, }: ReasoningProps): JSX.Element;
2400
+ export { Reasoning }
2401
+ export { Reasoning as Reasoning_alias_1 }
2402
+
2403
+ /**
2404
+ * Collapsible "thinking" block. Designed for Anthropic-style reasoning
2405
+ * traces or Chain-of-Thought scratchpads — content the user can optionally
2406
+ * inspect without it dominating the response. Header shows a label and the
2407
+ * thinking duration if provided.
2408
+ *
2409
+ * Headless on content: pass any `children`. Pair with `Markdown` if the
2410
+ * reasoning is markdown-formatted.
2411
+ *
2412
+ * @example
2413
+ * <Reasoning durationMs={4200}>
2414
+ * <Markdown>{thinking}</Markdown>
2415
+ * </Reasoning>
2416
+ */
2417
+ declare interface ReasoningProps {
2418
+ children: React_2.ReactNode;
2419
+ defaultOpen?: boolean;
2420
+ /** Time spent thinking, in milliseconds. Renders as "Thought for 4.2s". */
2421
+ durationMs?: number;
2422
+ /** Override the default "Thinking" / "Thought for X" label. */
2423
+ label?: string;
2424
+ className?: string;
2425
+ }
2426
+ export { ReasoningProps }
2427
+ export { ReasoningProps as ReasoningProps_alias_1 }
2428
+
2429
+ declare const reasoningSchema: ComponentSchemaDefinition;
2430
+ export { reasoningSchema }
2431
+ export { reasoningSchema as reasoningSchema_alias_1 }
2432
+
2433
+ /**
2434
+ * Draggable separator between panels. Optionally renders a grab-grip dot.
2435
+ * @returns A slim, focusable resize handle.
2436
+ */
2437
+ declare function ResizableHandle({ withHandle, className, ...props }: ResizableHandleProps): JSX.Element;
2438
+
2439
+ declare namespace ResizableHandle {
2440
+ var displayName: string;
2441
+ }
2442
+ export { ResizableHandle }
2443
+ export { ResizableHandle as ResizableHandle_alias_1 }
2444
+
2445
+ declare interface ResizableHandleProps extends React_2.ComponentPropsWithoutRef<typeof Separator_2> {
2446
+ /** Show a grab-grip on the handle for affordance. */
2447
+ withHandle?: boolean;
2448
+ }
2449
+
2450
+ /** A single resizable panel. Configure via defaultSize, minSize, maxSize. */
2451
+ declare const ResizablePanel: typeof Panel;
2452
+ export { ResizablePanel }
2453
+ export { ResizablePanel as ResizablePanel_alias_1 }
2454
+
2455
+ /**
2456
+ * Root container for a group of resizable panels.
2457
+ * @returns A flex container that coordinates panel sizing.
2458
+ */
2459
+ declare function ResizablePanelGroup({ className, ...props }: React_2.ComponentPropsWithoutRef<typeof Group>): JSX.Element;
2460
+
2461
+ declare namespace ResizablePanelGroup {
2462
+ var displayName: string;
2463
+ }
2464
+ export { ResizablePanelGroup }
2465
+ export { ResizablePanelGroup as ResizablePanelGroup_alias_1 }
2466
+
2467
+ declare const resizableSchema: ComponentSchemaDefinition;
2468
+ export { resizableSchema }
2469
+ export { resizableSchema as resizableSchema_alias_1 }
2470
+
2471
+ /** Parsed RGB components. Each channel is 0–255. */
2472
+ declare interface RgbColor {
2473
+ r: number;
2474
+ g: number;
2475
+ b: number;
2476
+ }
2477
+ export { RgbColor }
2478
+ export { RgbColor as RgbColor_alias_1 }
2479
+
2480
+ /**
2481
+ * Convert RGB components to HSL.
2482
+ * @param r - Red (0–255).
2483
+ * @param g - Green (0–255).
2484
+ * @param b - Blue (0–255).
2485
+ * @returns HSL components (h: 0–360, s: 0–100, l: 0–100).
2486
+ */
2487
+ declare function rgbToHsl(r: number, g: number, b: number): HslTriplet;
2488
+ export { rgbToHsl }
2489
+ export { rgbToHsl as rgbToHsl_alias_1 }
2490
+
2491
+ /**
2492
+ * Shared type primitives for the `ai` component category. Kept SDK-agnostic
2493
+ * so a single `MessageProps`/`ToolCallProps` shape adapts to AI SDK
2494
+ * (`UIMessage.parts`), LangChain (`BaseMessage`), Mastra agent outputs, and
2495
+ * any custom backend with a thin caller-side mapping function.
2496
+ */
2497
+ /** Speaker of a message. Matches AI SDK + LangChain role conventions. */
2498
+ declare type Role = "user" | "assistant" | "system" | "tool";
2499
+ export { Role }
2500
+ export { Role as Role_alias_1 }
2501
+ export { Role as Role_alias_2 }
2502
+
2503
+ /** A scrollable area with custom-styled scrollbars. Content must be explicitly sized. */
2504
+ declare const ScrollArea: React_2.ForwardRefExoticComponent<ScrollAreaProps & React_2.RefAttributes<HTMLDivElement>>;
2505
+ export { ScrollArea }
2506
+ export { ScrollArea as ScrollArea_alias_1 }
2507
+
2508
+ export declare interface ScrollAreaProps extends React_2.ComponentPropsWithoutRef<typeof ScrollAreaPrimitive.Root> {
2509
+ /**
2510
+ * tabIndex applied to the scroll viewport so keyboard users can scroll
2511
+ * without a pointer. Defaults to `0` (focusable) — pass `-1` to skip the
2512
+ * viewport in the tab order when ScrollArea wraps purely decorative or
2513
+ * already-keyboard-reachable content.
2514
+ */
2515
+ viewportTabIndex?: number;
2516
+ }
2517
+
2518
+ declare const scrollAreaSchema: ComponentSchemaDefinition;
2519
+ export { scrollAreaSchema }
2520
+ export { scrollAreaSchema as scrollAreaSchema_alias_1 }
2521
+
2522
+ /** Styled scrollbar track + thumb. Rendered inside ScrollArea automatically. */
2523
+ declare const ScrollBar: React_2.ForwardRefExoticComponent<Omit<ScrollAreaPrimitive.ScrollAreaScrollbarProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
2524
+ export { ScrollBar }
2525
+ export { ScrollBar as ScrollBar_alias_1 }
2526
+
2527
+ /** Root container controlling the select's state. */
2528
+ declare const Select: React_2.FC<SelectPrimitive.SelectProps>;
2529
+ export { Select }
2530
+ export { Select as Select_alias_1 }
2531
+
2532
+ /** The dropdown panel containing selectable options. */
2533
+ declare const SelectContent: React_2.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectContentProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
2534
+ export { SelectContent }
2535
+ export { SelectContent as SelectContent_alias_1 }
2536
+
2537
+ /** Groups a set of related SelectItem elements. */
2538
+ declare const SelectGroup: React_2.ForwardRefExoticComponent<SelectPrimitive.SelectGroupProps & React_2.RefAttributes<HTMLDivElement>>;
2539
+ export { SelectGroup }
2540
+ export { SelectGroup as SelectGroup_alias_1 }
2541
+
2542
+ /** A selectable option. */
2543
+ declare const SelectItem: React_2.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectItemProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
2544
+ export { SelectItem }
2545
+ export { SelectItem as SelectItem_alias_1 }
2546
+
2547
+ /** A non-interactive label within a SelectGroup. */
2548
+ declare const SelectLabel: React_2.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectLabelProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
2549
+ export { SelectLabel }
2550
+ export { SelectLabel as SelectLabel_alias_1 }
2551
+
2552
+ declare const selectSchema: ComponentSchemaDefinition;
2553
+ export { selectSchema }
2554
+ export { selectSchema as selectSchema_alias_1 }
2555
+
2556
+ /** Horizontal divider between groups inside SelectContent. */
2557
+ declare const SelectSeparator: React_2.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectSeparatorProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
2558
+ export { SelectSeparator }
2559
+ export { SelectSeparator as SelectSeparator_alias_1 }
2560
+
2561
+ /** The button users click to open the dropdown. */
2562
+ declare const SelectTrigger: React_2.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectTriggerProps & React_2.RefAttributes<HTMLButtonElement>, "ref"> & React_2.RefAttributes<HTMLButtonElement>>;
2563
+ export { SelectTrigger }
2564
+ export { SelectTrigger as SelectTrigger_alias_1 }
2565
+
2566
+ /** Renders the selected value (or placeholder) inside the trigger. */
2567
+ declare const SelectValue: React_2.ForwardRefExoticComponent<SelectPrimitive.SelectValueProps & React_2.RefAttributes<HTMLSpanElement>>;
2568
+ export { SelectValue }
2569
+ export { SelectValue as SelectValue_alias_1 }
2570
+
2571
+ declare const Separator: React_2.ForwardRefExoticComponent<Omit<SeparatorPrimitive.SeparatorProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
2572
+ export { Separator }
2573
+ export { Separator as Separator_alias_1 }
2574
+
2575
+ /**
2576
+ * A visual divider between content sections.
2577
+ * Built on Radix UI Separator for proper accessibility semantics.
2578
+ */
2579
+ declare type SeparatorProps = React_2.ComponentPropsWithoutRef<typeof SeparatorPrimitive.Root>;
2580
+ export { SeparatorProps }
2581
+ export { SeparatorProps as SeparatorProps_alias_1 }
2582
+
2583
+ declare const separatorSchema: ComponentSchemaDefinition;
2584
+ export { separatorSchema }
2585
+ export { separatorSchema as separatorSchema_alias_1 }
2586
+
2587
+ /** Root container controlling open state of a side sheet. */
2588
+ declare const Sheet: React_2.FC<DialogPrimitive.DialogProps>;
2589
+ export { Sheet }
2590
+ export { Sheet as Sheet_alias_1 }
2591
+
2592
+ /** Closes the sheet when rendered inside SheetContent. */
2593
+ declare const SheetClose: React_2.ForwardRefExoticComponent<DialogPrimitive.DialogCloseProps & React_2.RefAttributes<HTMLButtonElement>>;
2594
+ export { SheetClose }
2595
+ export { SheetClose as SheetClose_alias_1 }
2596
+
2597
+ /** The sheet content panel that slides in from a side of the viewport. */
2598
+ declare const SheetContent: React_2.ForwardRefExoticComponent<SheetContentProps & React_2.RefAttributes<HTMLDivElement>>;
2599
+ export { SheetContent }
2600
+ export { SheetContent as SheetContent_alias_1 }
2601
+
2602
+ declare interface SheetContentProps extends React_2.ComponentPropsWithoutRef<typeof DialogPrimitive.Content>, VariantProps<typeof sheetVariants> {
2603
+ }
2604
+
2605
+ /** Accessible sheet description; Radix wires it to aria-describedby automatically. */
2606
+ declare const SheetDescription: React_2.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogDescriptionProps & React_2.RefAttributes<HTMLParagraphElement>, "ref"> & React_2.RefAttributes<HTMLParagraphElement>>;
2607
+ export { SheetDescription }
2608
+ export { SheetDescription as SheetDescription_alias_1 }
2609
+
2610
+ /**
2611
+ * Footer container inside SheetContent; aligns action buttons.
2612
+ * @returns A div that stacks buttons on mobile and right-aligns on desktop.
2613
+ */
2614
+ declare function SheetFooter({ className, ...props }: React_2.HTMLAttributes<HTMLDivElement>): JSX.Element;
2615
+ export { SheetFooter }
2616
+ export { SheetFooter as SheetFooter_alias_1 }
2617
+
2618
+ /**
2619
+ * Header container inside SheetContent; stacks title and description.
2620
+ * @returns A div with vertical rhythm.
2621
+ */
2622
+ declare function SheetHeader({ className, ...props }: React_2.HTMLAttributes<HTMLDivElement>): JSX.Element;
2623
+ export { SheetHeader }
2624
+ export { SheetHeader as SheetHeader_alias_1 }
2625
+
2626
+ /** Dimmed backdrop rendered behind the sheet content. */
2627
+ declare const SheetOverlay: React_2.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogOverlayProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
2628
+ export { SheetOverlay }
2629
+ export { SheetOverlay as SheetOverlay_alias_1 }
2630
+
2631
+ /** Portals the sheet overlay and content into the body. */
2632
+ declare const SheetPortal: React_2.FC<DialogPrimitive.DialogPortalProps>;
2633
+ export { SheetPortal }
2634
+ export { SheetPortal as SheetPortal_alias_1 }
2635
+
2636
+ declare const sheetSchema: ComponentSchemaDefinition;
2637
+ export { sheetSchema }
2638
+ export { sheetSchema as sheetSchema_alias_1 }
2639
+
2640
+ /** Accessible sheet title; Radix wires it to aria-labelledby automatically. */
2641
+ declare const SheetTitle: React_2.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogTitleProps & React_2.RefAttributes<HTMLHeadingElement>, "ref"> & React_2.RefAttributes<HTMLHeadingElement>>;
2642
+ export { SheetTitle }
2643
+ export { SheetTitle as SheetTitle_alias_1 }
2644
+
2645
+ /** The element (usually a button) that opens the sheet. */
2646
+ declare const SheetTrigger: React_2.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & React_2.RefAttributes<HTMLButtonElement>>;
2647
+ export { SheetTrigger }
2648
+ export { SheetTrigger as SheetTrigger_alias_1 }
2649
+
2650
+ declare const sheetVariants: (props?: ({
2651
+ side?: "top" | "right" | "bottom" | "left" | null | undefined;
2652
+ } & ClassProp) | undefined) => string;
2653
+
2654
+ /**
2655
+ * App-shell sidebar. Reads open state from SidebarProvider and animates width.
2656
+ * @returns An aside element that expands/collapses.
2657
+ */
2658
+ declare const Sidebar: React_2.ForwardRefExoticComponent<SidebarProps & React_2.RefAttributes<HTMLElement>>;
2659
+ export { Sidebar }
2660
+ export { Sidebar as Sidebar_alias_1 }
2661
+
2662
+ /** Scrollable main area of the sidebar. */
2663
+ declare const SidebarContent: React_2.ForwardRefExoticComponent<React_2.HTMLAttributes<HTMLDivElement> & React_2.RefAttributes<HTMLDivElement>>;
2664
+ export { SidebarContent }
2665
+ export { SidebarContent as SidebarContent_alias_1 }
2666
+
2667
+ declare interface SidebarContextValue {
2668
+ /** Current open/collapsed state. */
2669
+ open: boolean;
2670
+ /** Toggle or set open state. */
2671
+ setOpen: (open: boolean) => void;
2672
+ }
2673
+
2674
+ /** Footer container at the bottom of the sidebar. */
2675
+ declare const SidebarFooter: React_2.ForwardRefExoticComponent<React_2.HTMLAttributes<HTMLDivElement> & React_2.RefAttributes<HTMLDivElement>>;
2676
+ export { SidebarFooter }
2677
+ export { SidebarFooter as SidebarFooter_alias_1 }
2678
+
2679
+ /** Header container at the top of the sidebar. */
2680
+ declare const SidebarHeader: React_2.ForwardRefExoticComponent<React_2.HTMLAttributes<HTMLDivElement> & React_2.RefAttributes<HTMLDivElement>>;
2681
+ export { SidebarHeader }
2682
+ export { SidebarHeader as SidebarHeader_alias_1 }
2683
+
2684
+ /**
2685
+ * Single selectable row inside SidebarContent. Compose icon + label in children.
2686
+ * @returns An accessible button (or Slot) styled as a sidebar row.
2687
+ */
2688
+ declare const SidebarItem: React_2.ForwardRefExoticComponent<SidebarItemProps & React_2.RefAttributes<HTMLButtonElement>>;
2689
+ export { SidebarItem }
2690
+ export { SidebarItem as SidebarItem_alias_1 }
2691
+
2692
+ declare interface SidebarItemProps extends React_2.ButtonHTMLAttributes<HTMLButtonElement> {
2693
+ /** Render as the child element (next/link, etc.) via Slot. */
2694
+ asChild?: boolean;
2695
+ /** Mark as the current/selected item. */
2696
+ active?: boolean;
2697
+ }
2698
+
2699
+ declare interface SidebarProps extends React_2.HTMLAttributes<HTMLElement>, Pick<VariantProps<typeof sidebarVariants>, "side"> {
2700
+ }
2701
+
2702
+ /**
2703
+ * Hosts sidebar state. Wrap your app shell (Sidebar + main content) in this.
2704
+ * @returns A flex container with a SidebarContext provider.
2705
+ */
2706
+ declare function SidebarProvider({ open: openProp, defaultOpen, onOpenChange, children, className, }: SidebarProviderProps): JSX.Element;
2707
+
2708
+ declare namespace SidebarProvider {
2709
+ var displayName: string;
2710
+ }
2711
+ export { SidebarProvider }
2712
+ export { SidebarProvider as SidebarProvider_alias_1 }
2713
+
2714
+ declare interface SidebarProviderProps {
2715
+ /** Controlled open state. */
2716
+ open?: boolean;
2717
+ /** Uncontrolled initial open state (defaults to true). */
2718
+ defaultOpen?: boolean;
2719
+ /** Callback fired when open state changes. */
2720
+ onOpenChange?: (open: boolean) => void;
2721
+ /** Children — typically a Sidebar + app content sibling. */
2722
+ children: React_2.ReactNode;
2723
+ /** Extra class names on the provider wrapper. */
2724
+ className?: string;
2725
+ }
2726
+
2727
+ declare const sidebarSchema: ComponentSchemaDefinition;
2728
+ export { sidebarSchema }
2729
+ export { sidebarSchema as sidebarSchema_alias_1 }
2730
+
2731
+ /**
2732
+ * Toggles the sidebar open/closed. Renders a button by default; use asChild to style.
2733
+ * @returns A button that flips SidebarProvider state.
2734
+ */
2735
+ declare const SidebarTrigger: React_2.ForwardRefExoticComponent<SidebarTriggerProps & React_2.RefAttributes<HTMLButtonElement>>;
2736
+ export { SidebarTrigger }
2737
+ export { SidebarTrigger as SidebarTrigger_alias_1 }
2738
+
2739
+ declare interface SidebarTriggerProps extends React_2.ButtonHTMLAttributes<HTMLButtonElement> {
2740
+ /** Render as the child element (Button, etc.) using Radix Slot. */
2741
+ asChild?: boolean;
2742
+ }
2743
+
2744
+ declare const sidebarVariants: (props?: ({
2745
+ side?: "right" | "left" | null | undefined;
2746
+ state?: "closed" | "open" | null | undefined;
2747
+ } & ClassProp) | undefined) => string;
2748
+
2749
+ /**
2750
+ * A placeholder shimmer element shown while content is loading.
2751
+ * Pair with explicit width/height via className.
2752
+ * @returns A div with pulsing muted background
2753
+ */
2754
+ declare function Skeleton({ className, ...props }: React_2.HTMLAttributes<HTMLDivElement>): JSX.Element;
2755
+ export { Skeleton }
2756
+ export { Skeleton as Skeleton_alias_1 }
2757
+
2758
+ declare const skeletonSchema: ComponentSchemaDefinition;
2759
+ export { skeletonSchema }
2760
+ export { skeletonSchema as skeletonSchema_alias_1 }
2761
+
2762
+ /**
2763
+ * A range input with one or more draggable thumbs.
2764
+ * Built on Radix UI Slider with keyboard controls (arrows, Home, End, PageUp/Down).
2765
+ */
2766
+ declare const Slider: React_2.ForwardRefExoticComponent<SliderProps & React_2.RefAttributes<HTMLSpanElement>>;
2767
+ export { Slider }
2768
+ export { Slider as Slider_alias_1 }
2769
+
2770
+ export declare interface SliderProps extends React_2.ComponentPropsWithoutRef<typeof SliderPrimitive.Root> {
2771
+ /**
2772
+ * Per-thumb accessible labels. When the slider has multiple thumbs, pass
2773
+ * one entry per thumb (e.g. ["Minimum", "Maximum"]). For a single-thumb
2774
+ * slider, the Root's `aria-label` / `aria-labelledby` is mirrored onto
2775
+ * the thumb automatically — pass `thumbLabels` only when those defaults
2776
+ * are insufficient.
2777
+ */
2778
+ thumbLabels?: string[];
2779
+ }
2780
+
2781
+ declare const sliderSchema: ComponentSchemaDefinition;
2782
+ export { sliderSchema }
2783
+ export { sliderSchema as sliderSchema_alias_1 }
2784
+
2785
+ declare const sonnerSchema: ComponentSchemaDefinition;
2786
+ export { sonnerSchema }
2787
+ export { sonnerSchema as sonnerSchema_alias_1 }
2788
+
2789
+ /**
2790
+ * A declarative whitespace block. Use when you want to insert space between two
2791
+ * siblings without relying on margin or gap (e.g. inside a flex container that
2792
+ * doesn't own the spacing decision).
2793
+ *
2794
+ * Renders an empty `<div>` with `aria-hidden` since it has no semantic content.
2795
+ *
2796
+ * @param props - Spacer props including `size` and `axis` variant keys.
2797
+ * @returns An empty div with the requested dimension.
2798
+ * @example
2799
+ * ```tsx
2800
+ * <h1>Title</h1>
2801
+ * <Spacer size="lg" />
2802
+ * <p>Body</p>
2803
+ * ```
2804
+ */
2805
+ declare function Spacer({ className, size, axis, ...props }: SpacerProps): JSX.Element;
2806
+ export { Spacer }
2807
+ export { Spacer as Spacer_alias_1 }
2808
+
2809
+ /** Props for the Spacer component. */
2810
+ declare interface SpacerProps extends Omit<React_2.HTMLAttributes<HTMLDivElement>, "children">, VariantProps<typeof spacerVariants> {
2811
+ }
2812
+ export { SpacerProps }
2813
+ export { SpacerProps as SpacerProps_alias_1 }
2814
+
2815
+ declare const spacerSchema: ComponentSchemaDefinition;
2816
+ export { spacerSchema }
2817
+ export { spacerSchema as spacerSchema_alias_1 }
2818
+
2819
+ /**
2820
+ * CVA variants for Spacer — declarative whitespace.
2821
+ * `size` sets `--spacer-size` to a `--space-*` token (with inline fallback);
2822
+ * `axis` consumes that var via the bracket form used everywhere else in the
2823
+ * package, so the height or width can never collapse to zero if the size
2824
+ * variant is dropped.
2825
+ */
2826
+ declare const spacerVariants: (props?: ({
2827
+ size?: "sm" | "lg" | "md" | "xl" | "xs" | null | undefined;
2828
+ axis?: "both" | "horizontal" | "vertical" | null | undefined;
2829
+ } & ClassProp) | undefined) => string;
2830
+ export { spacerVariants }
2831
+ export { spacerVariants as spacerVariants_alias_1 }
2832
+
2833
+ /**
2834
+ * Vertical flex flow with token-bound gap. Children stack top-to-bottom.
2835
+ * @param props - Stack props including `gap`, `align`, and `justify` variant keys.
2836
+ * @returns A flex column with consistent vertical spacing.
2837
+ * @example
2838
+ * ```tsx
2839
+ * <Stack gap="lg">
2840
+ * <h2>Section title</h2>
2841
+ * <p>Paragraph one.</p>
2842
+ * <p>Paragraph two.</p>
2843
+ * </Stack>
2844
+ * ```
2845
+ */
2846
+ declare function Stack({ className, gap, align, justify, ...props }: StackProps): JSX.Element;
2847
+ export { Stack }
2848
+ export { Stack as Stack_alias_1 }
2849
+
2850
+ /** Props for the Stack component. */
2851
+ declare interface StackProps extends React_2.HTMLAttributes<HTMLDivElement>, VariantProps<typeof stackVariants> {
2852
+ }
2853
+ export { StackProps }
2854
+ export { StackProps as StackProps_alias_1 }
2855
+
2856
+ declare const stackSchema: ComponentSchemaDefinition;
2857
+ export { stackSchema }
2858
+ export { stackSchema as stackSchema_alias_1 }
2859
+
2860
+ /**
2861
+ * CVA variants for Stack — vertical flex flow. `gap`, `align`, and `justify`
2862
+ * pull from the shared layout-variant maps so any change to the gap scale
2863
+ * propagates to Cluster and Grid simultaneously.
2864
+ */
2865
+ declare const stackVariants: (props?: ({
2866
+ gap?: "sm" | "lg" | "md" | "xl" | "xs" | null | undefined;
2867
+ align?: "center" | "start" | "end" | "stretch" | null | undefined;
2868
+ justify?: "center" | "start" | "end" | "between" | null | undefined;
2869
+ } & ClassProp) | undefined) => string;
2870
+ export { stackVariants }
2871
+ export { stackVariants as stackVariants_alias_1 }
2872
+
2873
+ /**
2874
+ * Linear progress indicator for multi-step flows (form wizards, onboarding,
2875
+ * checkout). Pure semantic HTML — `<ol>` of `<li>` with `aria-current="step"`
2876
+ * on the current item; per-step `status` overrides allow marking "error".
2877
+ *
2878
+ * Pass `onStepClick` to make completed/non-disabled steps interactive.
2879
+ * @returns An accessible ordered step list.
2880
+ */
2881
+ declare function Stepper({ steps, current, orientation, size, onStepClick, "aria-label": ariaLabel, className, ...rest }: StepperProps): JSX.Element;
2882
+
2883
+ declare namespace Stepper {
2884
+ var displayName: string;
2885
+ }
2886
+ export { Stepper }
2887
+ export { Stepper as Stepper_alias_1 }
2888
+
2889
+ declare interface StepperProps extends Omit<React_2.HTMLAttributes<HTMLOListElement>, "aria-label" | "onClick"> {
2890
+ /** Ordered list of steps. */
2891
+ steps: StepperStep[];
2892
+ /** Index of the current step (controlled). */
2893
+ current: number;
2894
+ /** Layout direction. */
2895
+ orientation?: "horizontal" | "vertical";
2896
+ /** Indicator size. */
2897
+ size?: "sm" | "md";
2898
+ /** When provided, each step is rendered as a clickable button. */
2899
+ onStepClick?: (index: number) => void;
2900
+ /** Required accessible name for the ordered list. */
2901
+ "aria-label": string;
2902
+ }
2903
+ export { StepperProps }
2904
+ export { StepperProps as StepperProps_alias_1 }
2905
+
2906
+ declare const stepperSchema: ComponentSchemaDefinition;
2907
+ export { stepperSchema }
2908
+ export { stepperSchema as stepperSchema_alias_1 }
2909
+
2910
+ declare interface StepperStep {
2911
+ /** Stable unique id used as the React key. */
2912
+ id: string;
2913
+ /** Step name shown next to the indicator. */
2914
+ label: string;
2915
+ /** Optional secondary text under the label. */
2916
+ description?: string;
2917
+ /** Disable the step (only applies when onStepClick is provided). */
2918
+ disabled?: boolean;
2919
+ /**
2920
+ * Override the index-derived status. Use `"error"` to mark a failed step
2921
+ * (e.g. validation failure in a form wizard); `"complete"` / `"current"` /
2922
+ * `"upcoming"` are derived from `current` by default.
2923
+ */
2924
+ status?: StepStatus;
2925
+ }
2926
+ export { StepperStep }
2927
+ export { StepperStep as StepperStep_alias_1 }
2928
+
2929
+ declare type StepStatus = "complete" | "current" | "upcoming" | "error";
2930
+ export { StepStatus }
2931
+ export { StepStatus as StepStatus_alias_1 }
2932
+
2933
+ /**
2934
+ * Renders a clickable suggestion chip.
2935
+ * @param props - value/onSelect + children
2936
+ * @returns A styled button element
2937
+ */
2938
+ declare function Suggestion({ value, onSelect, children, className, type, onClick, ...props }: SuggestionProps): JSX.Element;
2939
+ export { Suggestion }
2940
+ export { Suggestion as Suggestion_alias_1 }
2941
+
2942
+ /**
2943
+ * Prompt pill / quick-action chip. Click forwards `value` (or the rendered
2944
+ * string children) to `onSelect` — typically wired to drop the suggestion
2945
+ * into a `Composer` or fire it directly through `useChat.append`.
2946
+ *
2947
+ * Stateless: no submission logic, no networking. Composer (or its parent)
2948
+ * decides whether `onSelect` populates the input or auto-sends.
2949
+ *
2950
+ * @example
2951
+ * <Cluster gap="sm">
2952
+ * {prompts.map((p) => (
2953
+ * <Suggestion key={p} value={p} onSelect={setInput}>{p}</Suggestion>
2954
+ * ))}
2955
+ * </Cluster>
2956
+ */
2957
+ declare interface SuggestionProps extends Omit<React_2.ButtonHTMLAttributes<HTMLButtonElement>, "onSelect" | "value"> {
2958
+ /** Payload passed to `onSelect`. Defaults to the rendered children if a string. */
2959
+ value?: string;
2960
+ onSelect: (value: string) => void;
2961
+ children: React_2.ReactNode;
2962
+ }
2963
+ export { SuggestionProps }
2964
+ export { SuggestionProps as SuggestionProps_alias_1 }
2965
+
2966
+ declare const suggestionSchema: ComponentSchemaDefinition;
2967
+ export { suggestionSchema }
2968
+ export { suggestionSchema as suggestionSchema_alias_1 }
2969
+
2970
+ /**
2971
+ * Languages we surface in the prop type. Plain literal union of real
2972
+ * Shiki grammar IDs — kept literal (not `Extract<BundledLanguage, …>`)
2973
+ * because Shiki's full bundled-language union is 600+ literals, and
2974
+ * deriving from it forced the rollup-dts pass past a 4GB heap. The
2975
+ * literals here are all standard Shiki grammar IDs; if Shiki removes
2976
+ * one upstream, `codeToHtml` will throw at runtime — acceptable trade.
2977
+ */
2978
+ declare type SupportedLang = "bash" | "ts" | "tsx" | "js" | "jsx" | "json" | "css" | "html" | "md" | "py" | "text";
2979
+ export { SupportedLang }
2980
+ export { SupportedLang as SupportedLang_alias_1 }
2981
+
2982
+ declare const Switch: React_2.ForwardRefExoticComponent<Omit<SwitchPrimitive.SwitchProps & React_2.RefAttributes<HTMLButtonElement>, "ref"> & React_2.RefAttributes<HTMLButtonElement>>;
2983
+ export { Switch }
2984
+ export { Switch as Switch_alias_1 }
2985
+
2986
+ /**
2987
+ * An accessible toggle switch built on Radix UI.
2988
+ * Use for instant on/off settings that take effect immediately.
2989
+ */
2990
+ declare type SwitchProps = React_2.ComponentPropsWithoutRef<typeof SwitchPrimitive.Root>;
2991
+ export { SwitchProps }
2992
+ export { SwitchProps as SwitchProps_alias_1 }
2993
+
2994
+ declare const switchSchema: ComponentSchemaDefinition;
2995
+ export { switchSchema }
2996
+ export { switchSchema as switchSchema_alias_1 }
2997
+
2998
+ /** A responsive container + styled HTML table. */
2999
+ declare const Table: React_2.ForwardRefExoticComponent<React_2.HTMLAttributes<HTMLTableElement> & React_2.RefAttributes<HTMLTableElement>>;
3000
+ export { Table }
3001
+ export { Table as Table_alias_1 }
3002
+
3003
+ /** `<tbody>` wrapper removing bottom border on last row. */
3004
+ declare const TableBody: React_2.ForwardRefExoticComponent<React_2.HTMLAttributes<HTMLTableSectionElement> & React_2.RefAttributes<HTMLTableSectionElement>>;
3005
+ export { TableBody }
3006
+ export { TableBody as TableBody_alias_1 }
3007
+
3008
+ /**
3009
+ * Visible `<caption>` rendered below the table. The parent `<Table>` sets
3010
+ * `caption-bottom`, so the caption is announced first by screen readers when
3011
+ * entering the table, then visually placed below the rows.
3012
+ */
3013
+ declare const TableCaption: React_2.ForwardRefExoticComponent<React_2.HTMLAttributes<HTMLTableCaptionElement> & React_2.RefAttributes<HTMLTableCaptionElement>>;
3014
+ export { TableCaption }
3015
+ export { TableCaption as TableCaption_alias_1 }
3016
+
3017
+ /** `<td>` with consistent padding. */
3018
+ declare const TableCell: React_2.ForwardRefExoticComponent<React_2.TdHTMLAttributes<HTMLTableCellElement> & React_2.RefAttributes<HTMLTableCellElement>>;
3019
+ export { TableCell }
3020
+ export { TableCell as TableCell_alias_1 }
3021
+
3022
+ /** `<tfoot>` wrapper with muted background. */
3023
+ declare const TableFooter: React_2.ForwardRefExoticComponent<React_2.HTMLAttributes<HTMLTableSectionElement> & React_2.RefAttributes<HTMLTableSectionElement>>;
3024
+ export { TableFooter }
3025
+ export { TableFooter as TableFooter_alias_1 }
3026
+
3027
+ /** `<th>` with left-aligned muted text. */
3028
+ declare const TableHead: React_2.ForwardRefExoticComponent<React_2.ThHTMLAttributes<HTMLTableCellElement> & React_2.RefAttributes<HTMLTableCellElement>>;
3029
+ export { TableHead }
3030
+ export { TableHead as TableHead_alias_1 }
3031
+
3032
+ /** `<thead>` wrapper with bottom border. */
3033
+ declare const TableHeader: React_2.ForwardRefExoticComponent<React_2.HTMLAttributes<HTMLTableSectionElement> & React_2.RefAttributes<HTMLTableSectionElement>>;
3034
+ export { TableHeader }
3035
+ export { TableHeader as TableHeader_alias_1 }
3036
+
3037
+ /** `<tr>` with hover + selected states. */
3038
+ declare const TableRow: React_2.ForwardRefExoticComponent<React_2.HTMLAttributes<HTMLTableRowElement> & React_2.RefAttributes<HTMLTableRowElement>>;
3039
+ export { TableRow }
3040
+ export { TableRow as TableRow_alias_1 }
3041
+
3042
+ declare const tableSchema: ComponentSchemaDefinition;
3043
+ export { tableSchema }
3044
+ export { tableSchema as tableSchema_alias_1 }
3045
+
3046
+ /** Root container for a tabbed interface. */
3047
+ declare const Tabs: React_2.ForwardRefExoticComponent<TabsPrimitive.TabsProps & React_2.RefAttributes<HTMLDivElement>>;
3048
+ export { Tabs }
3049
+ export { Tabs as Tabs_alias_1 }
3050
+
3051
+ /** The content panel associated with a tab trigger. */
3052
+ declare const TabsContent: React_2.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsContentProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
3053
+ export { TabsContent }
3054
+ export { TabsContent as TabsContent_alias_1 }
3055
+
3056
+ /** A horizontal list of tab triggers. */
3057
+ declare const TabsList: React_2.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsListProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
3058
+ export { TabsList }
3059
+ export { TabsList as TabsList_alias_1 }
3060
+
3061
+ declare const tabsSchema: ComponentSchemaDefinition;
3062
+ export { tabsSchema }
3063
+ export { tabsSchema as tabsSchema_alias_1 }
3064
+
3065
+ /** A clickable tab trigger that activates its associated content panel. */
3066
+ declare const TabsTrigger: React_2.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsTriggerProps & React_2.RefAttributes<HTMLButtonElement>, "ref"> & React_2.RefAttributes<HTMLButtonElement>>;
3067
+ export { TabsTrigger }
3068
+ export { TabsTrigger as TabsTrigger_alias_1 }
3069
+
3070
+ /**
3071
+ * An interactive tag / chip primitive — Badge with an optional dismiss
3072
+ * affordance. Mirrors {@link Badge}'s CVA variants so the visual sibling
3073
+ * is obvious; adds a built-in close button when `onRemove` is provided.
3074
+ *
3075
+ * For non-interactive labels (status indicators, counts) use {@link Badge}
3076
+ * directly. For "click to filter" state-bearing chips, use Toggle or
3077
+ * ToggleGroup — Tag is for "this token represents a value the user can
3078
+ * dismiss" (filters, multi-select selections, draft attachments).
3079
+ *
3080
+ * @example
3081
+ * ```tsx
3082
+ * <Tag variant="secondary" onRemove={() => removeFilter("urgent")}>
3083
+ * Urgent
3084
+ * </Tag>
3085
+ * ```
3086
+ *
3087
+ * @returns A span containing the label + optional icon + optional close button.
3088
+ */
3089
+ declare function Tag({ className, variant, icon, onRemove, removeLabel, children, ref, ...props }: TagProps): JSX.Element;
3090
+ export { Tag }
3091
+ export { Tag as Tag_alias_1 }
3092
+
3093
+ declare interface TagProps extends Omit<React_2.HTMLAttributes<HTMLSpanElement>, "onRemove">, VariantProps<typeof tagVariants> {
3094
+ /** Forwarded ref onto the root span element. */
3095
+ ref?: React_2.Ref<HTMLSpanElement>;
3096
+ /** Optional leading icon (`<svg>` or component). Sized 12×12. */
3097
+ icon?: React_2.ReactNode;
3098
+ /**
3099
+ * Click handler for the close button. When provided, an inline ✕ button
3100
+ * is rendered after the children with an `aria-label` derived from the
3101
+ * children's string content (or a generic "Remove" if no string can be
3102
+ * extracted). Pass undefined for a non-interactive Tag — at that point,
3103
+ * prefer Badge directly.
3104
+ */
3105
+ onRemove?: () => void;
3106
+ /** Override the auto-derived `aria-label` on the close button. */
3107
+ removeLabel?: string;
3108
+ }
3109
+ export { TagProps }
3110
+ export { TagProps as TagProps_alias_1 }
3111
+
3112
+ declare const tagSchema: ComponentSchemaDefinition;
3113
+ export { tagSchema }
3114
+ export { tagSchema as tagSchema_alias_1 }
3115
+
3116
+ declare const tagVariants: (props?: ({
3117
+ variant?: "default" | "destructive" | "outline" | "secondary" | null | undefined;
3118
+ } & ClassProp) | undefined) => string;
3119
+ export { tagVariants }
3120
+ export { tagVariants as tagVariants_alias_1 }
3121
+
3122
+ declare const Textarea: React_2.ForwardRefExoticComponent<TextareaProps & React_2.RefAttributes<HTMLTextAreaElement>>;
3123
+ export { Textarea }
3124
+ export { Textarea as Textarea_alias_1 }
3125
+
3126
+ /**
3127
+ * A styled multi-line text input with smooth focus transitions and shadow effects.
3128
+ * Extends the native HTML textarea element with Hex UI styling.
3129
+ */
3130
+ declare type TextareaProps = React_2.TextareaHTMLAttributes<HTMLTextAreaElement>;
3131
+ export { TextareaProps }
3132
+ export { TextareaProps as TextareaProps_alias_1 }
3133
+
3134
+ declare const textareaSchema: ComponentSchemaDefinition;
3135
+ export { textareaSchema }
3136
+ export { textareaSchema as textareaSchema_alias_1 }
3137
+
3138
+ /**
3139
+ * Vertical chronological event feed (activity log, audit trail, release notes).
3140
+ * Pure semantic HTML — `<ol>` of `<li>`. Events expose an optional icon, a
3141
+ * status color, a timestamp, and a description; status is purely visual, no
3142
+ * aria-current is set since events are historical, not navigational.
3143
+ *
3144
+ * For Gantt-style project timelines, build a custom layout — Timeline is for
3145
+ * event feeds, not scheduling.
3146
+ * @returns An accessible vertical event list.
3147
+ */
3148
+ declare function Timeline({ events, size, "aria-label": ariaLabel, className, ...rest }: TimelineProps): JSX.Element;
3149
+
3150
+ declare namespace Timeline {
3151
+ var displayName: string;
3152
+ }
3153
+ export { Timeline }
3154
+ export { Timeline as Timeline_alias_1 }
3155
+
3156
+ declare interface TimelineEvent {
3157
+ /** Stable unique id used as the React key. */
3158
+ id: string;
3159
+ /** Headline for the event. */
3160
+ title: string;
3161
+ /** Optional timestamp/metadata (e.g. "2 hours ago", "2026-04-27 14:30"). */
3162
+ timestamp?: React_2.ReactNode;
3163
+ /** Optional secondary text/body. */
3164
+ description?: React_2.ReactNode;
3165
+ /** Optional icon override for the indicator. Replaces the default dot. */
3166
+ icon?: React_2.ReactNode;
3167
+ /** Color variant for the indicator. */
3168
+ status?: TimelineStatus;
3169
+ }
3170
+ export { TimelineEvent }
3171
+ export { TimelineEvent as TimelineEvent_alias_1 }
3172
+
3173
+ declare interface TimelineProps extends Omit<React_2.HTMLAttributes<HTMLOListElement>, "aria-label"> {
3174
+ /** Ordered list of chronological events. */
3175
+ events: TimelineEvent[];
3176
+ /** Indicator size — `"md"` by default. */
3177
+ size?: "sm" | "md";
3178
+ /** Required accessible name for the ordered list. */
3179
+ "aria-label": string;
3180
+ }
3181
+ export { TimelineProps }
3182
+ export { TimelineProps as TimelineProps_alias_1 }
3183
+
3184
+ declare const timelineSchema: ComponentSchemaDefinition;
3185
+ export { timelineSchema }
3186
+ export { timelineSchema as timelineSchema_alias_1 }
3187
+
3188
+ declare type TimelineStatus = "default" | "success" | "warning" | "error" | "info";
3189
+ export { TimelineStatus }
3190
+ export { TimelineStatus as TimelineStatus_alias_1 }
3191
+
3192
+ /**
3193
+ * Time input — styled wrapper around the native `<input type="time">` so the
3194
+ * browser handles 12/24-hour locale, keyboard arrow stepping, and screen-reader
3195
+ * announcement. Value is a `"HH:MM"` (or `"HH:MM:SS"` when `step={1}`) string.
3196
+ *
3197
+ * For free-form composite hour/minute fields with explicit AM/PM segments,
3198
+ * compose Input + Select yourself — the native input covers ~95% of TimePicker
3199
+ * use cases with full a11y, including keyboard-driven hour/minute spinning.
3200
+ * @returns A token-styled native time input.
3201
+ */
3202
+ declare const TimePicker: React_2.ForwardRefExoticComponent<TimePickerProps & React_2.RefAttributes<HTMLInputElement>>;
3203
+ export { TimePicker }
3204
+ export { TimePicker as TimePicker_alias_1 }
3205
+
3206
+ declare interface TimePickerProps extends Omit<React_2.InputHTMLAttributes<HTMLInputElement>, "type" | "value" | "onChange" | "size"> {
3207
+ /** Controlled time value as `"HH:MM"` or `"HH:MM:SS"` (24-hour). */
3208
+ value?: string;
3209
+ /** Fired with the new `"HH:MM"` (or `"HH:MM:SS"`) string when the user picks a time. */
3210
+ onChange?: (value: string) => void;
3211
+ /**
3212
+ * Step in seconds — `60` shows HH:MM only (default), `1` shows HH:MM:SS.
3213
+ * Smaller values change the spinner increment in supported browsers.
3214
+ */
3215
+ step?: number;
3216
+ /** Earliest selectable time as `"HH:MM"`. */
3217
+ min?: string;
3218
+ /** Latest selectable time as `"HH:MM"`. */
3219
+ max?: string;
3220
+ /** Disable the input. */
3221
+ disabled?: boolean;
3222
+ /** Accessible label for the trigger (required when no adjacent visible <label>). */
3223
+ "aria-label"?: string;
3224
+ }
3225
+ export { TimePickerProps }
3226
+ export { TimePickerProps as TimePickerProps_alias_1 }
3227
+
3228
+ declare const timePickerSchema: ComponentSchemaDefinition;
3229
+ export { timePickerSchema }
3230
+ export { timePickerSchema as timePickerSchema_alias_1 }
3231
+
3232
+ export { toast }
3233
+ export { toast as toast_alias_1 }
3234
+
3235
+ /**
3236
+ * The global toast container. Render once in your app root.
3237
+ * Re-export of Sonner's Toaster styled to use Hex UI theme tokens.
3238
+ * @param props - Sonner Toaster props (position, richColors, etc.)
3239
+ * @returns A styled portal container for toast notifications
3240
+ */
3241
+ declare function Toaster({ ...props }: ToasterProps): JSX.Element;
3242
+ export { Toaster }
3243
+ export { Toaster as Toaster_alias_1 }
3244
+
3245
+ declare type ToasterProps = React.ComponentProps<typeof Toaster_2>;
3246
+
3247
+ /**
3248
+ * A two-state button. Stays pressed when toggled on.
3249
+ * @returns A styled Radix Toggle root
3250
+ */
3251
+ declare const Toggle: React_2.ForwardRefExoticComponent<Omit<TogglePrimitive.ToggleProps & React_2.RefAttributes<HTMLButtonElement>, "ref"> & VariantProps<(props?: ({
3252
+ variant?: "default" | "outline" | null | undefined;
3253
+ size?: "default" | "sm" | "lg" | null | undefined;
3254
+ } & ClassProp) | undefined) => string> & React_2.RefAttributes<HTMLButtonElement>>;
3255
+ export { Toggle }
3256
+ export { Toggle as Toggle_alias_1 }
3257
+
3258
+ /** Root container for a set of toggles (single-select or multi-select). */
3259
+ declare const ToggleGroup: React_2.ForwardRefExoticComponent<((Omit<ToggleGroupPrimitive.ToggleGroupSingleProps & React_2.RefAttributes<HTMLDivElement>, "ref"> | Omit<ToggleGroupPrimitive.ToggleGroupMultipleProps & React_2.RefAttributes<HTMLDivElement>, "ref">) & VariantProps<(props?: ({
3260
+ variant?: "default" | "outline" | null | undefined;
3261
+ size?: "default" | "sm" | "lg" | null | undefined;
3262
+ } & ClassProp) | undefined) => string>) & React_2.RefAttributes<HTMLDivElement>>;
3263
+ export { ToggleGroup }
3264
+ export { ToggleGroup as ToggleGroup_alias_1 }
3265
+
3266
+ /** A single toggle option within a ToggleGroup. Inherits variant/size from context. */
3267
+ declare const ToggleGroupItem: React_2.ForwardRefExoticComponent<Omit<ToggleGroupPrimitive.ToggleGroupItemProps & React_2.RefAttributes<HTMLButtonElement>, "ref"> & VariantProps<(props?: ({
3268
+ variant?: "default" | "outline" | null | undefined;
3269
+ size?: "default" | "sm" | "lg" | null | undefined;
3270
+ } & ClassProp) | undefined) => string> & React_2.RefAttributes<HTMLButtonElement>>;
3271
+ export { ToggleGroupItem }
3272
+ export { ToggleGroupItem as ToggleGroupItem_alias_1 }
3273
+
3274
+ declare const toggleGroupSchema: ComponentSchemaDefinition;
3275
+ export { toggleGroupSchema }
3276
+ export { toggleGroupSchema as toggleGroupSchema_alias_1 }
3277
+
3278
+ declare const toggleSchema: ComponentSchemaDefinition;
3279
+ export { toggleSchema }
3280
+ export { toggleSchema as toggleSchema_alias_1 }
3281
+
3282
+ declare const toggleVariants: (props?: ({
3283
+ variant?: "default" | "outline" | null | undefined;
3284
+ size?: "default" | "sm" | "lg" | null | undefined;
3285
+ } & ClassProp) | undefined) => string;
3286
+ export { toggleVariants }
3287
+ export { toggleVariants as toggleVariants_alias_1 }
3288
+
3289
+ /**
3290
+ * Root toolbar element. Wraps Radix `Toolbar.Root` with the canonical
3291
+ * Hex Core token + visual styling. Pass children consisting of
3292
+ * `ToolbarButton`, `ToolbarToggleGroup`, `ToolbarSeparator`, and
3293
+ * `ToolbarLink` — Radix handles arrow-key roving focus across them
3294
+ * automatically.
3295
+ *
3296
+ * @example
3297
+ * ```tsx
3298
+ * <Toolbar aria-label="Editor controls">
3299
+ * <ToolbarButton onClick={onUndo}>Undo</ToolbarButton>
3300
+ * <ToolbarButton onClick={onRedo}>Redo</ToolbarButton>
3301
+ * <ToolbarSeparator />
3302
+ * <ToolbarToggleGroup type="single" defaultValue="left">
3303
+ * <ToolbarToggleItem value="left">Left</ToolbarToggleItem>
3304
+ * <ToolbarToggleItem value="center">Center</ToolbarToggleItem>
3305
+ * <ToolbarToggleItem value="right">Right</ToolbarToggleItem>
3306
+ * </ToolbarToggleGroup>
3307
+ * </Toolbar>
3308
+ * ```
3309
+ */
3310
+ declare function Toolbar({ className, orientation, ref, ...props }: ToolbarProps): JSX.Element;
3311
+ export { Toolbar }
3312
+ export { Toolbar as Toolbar_alias_1 }
3313
+
3314
+ /** A push button inside the toolbar. */
3315
+ declare function ToolbarButton({ className, ref, ...props }: React_2.ComponentPropsWithoutRef<typeof ToolbarPrimitive.Button> & {
3316
+ ref?: React_2.Ref<React_2.ElementRef<typeof ToolbarPrimitive.Button>>;
3317
+ }): JSX.Element;
3318
+ export { ToolbarButton }
3319
+ export { ToolbarButton as ToolbarButton_alias_1 }
3320
+
3321
+ /** A link inside the toolbar — renders an `<a>` with toolbar focus semantics. */
3322
+ declare function ToolbarLink({ className, ref, ...props }: React_2.ComponentPropsWithoutRef<typeof ToolbarPrimitive.Link> & {
3323
+ ref?: React_2.Ref<React_2.ElementRef<typeof ToolbarPrimitive.Link>>;
3324
+ }): JSX.Element;
3325
+ export { ToolbarLink }
3326
+ export { ToolbarLink as ToolbarLink_alias_1 }
3327
+
3328
+ /**
3329
+ * Toolbar root props. `aria-label` is required — Radix Toolbar.Root
3330
+ * mounts as a `role="toolbar"` landmark, and AT users will hear an
3331
+ * unlabelled "toolbar" landmark when no visible heading sits adjacent.
3332
+ * If a visible heading IS present, pair it via `aria-labelledby` instead.
3333
+ */
3334
+ declare interface ToolbarProps extends Omit<React_2.ComponentPropsWithoutRef<typeof ToolbarPrimitive.Root>, "aria-label"> {
3335
+ /** Forwarded ref onto the Radix `Toolbar.Root`. */
3336
+ ref?: React_2.Ref<React_2.ElementRef<typeof ToolbarPrimitive.Root>>;
3337
+ /** Required accessible name for the toolbar landmark. */
3338
+ "aria-label": string;
3339
+ }
3340
+ export { ToolbarProps }
3341
+ export { ToolbarProps as ToolbarProps_alias_1 }
3342
+
3343
+ declare const toolbarSchema: ComponentSchemaDefinition;
3344
+ export { toolbarSchema }
3345
+ export { toolbarSchema as toolbarSchema_alias_1 }
3346
+
3347
+ /** A vertical (or horizontal, in vertical toolbars) divider. */
3348
+ declare function ToolbarSeparator({ className, ref, ...props }: React_2.ComponentPropsWithoutRef<typeof ToolbarPrimitive.Separator> & {
3349
+ ref?: React_2.Ref<React_2.ElementRef<typeof ToolbarPrimitive.Separator>>;
3350
+ }): JSX.Element;
3351
+ export { ToolbarSeparator }
3352
+ export { ToolbarSeparator as ToolbarSeparator_alias_1 }
3353
+
3354
+ /** A group of mutually-exclusive (`type='single'`) or independent (`type='multiple'`) toggle items. */
3355
+ declare function ToolbarToggleGroup({ className, ref, ...props }: React_2.ComponentPropsWithoutRef<typeof ToolbarPrimitive.ToggleGroup> & {
3356
+ ref?: React_2.Ref<React_2.ElementRef<typeof ToolbarPrimitive.ToggleGroup>>;
3357
+ }): JSX.Element;
3358
+ export { ToolbarToggleGroup }
3359
+ export { ToolbarToggleGroup as ToolbarToggleGroup_alias_1 }
3360
+
3361
+ /** Individual toggle item — exposes `data-state="on"` for the on style. */
3362
+ declare function ToolbarToggleItem({ className, ref, ...props }: React_2.ComponentPropsWithoutRef<typeof ToolbarPrimitive.ToggleItem> & {
3363
+ ref?: React_2.Ref<React_2.ElementRef<typeof ToolbarPrimitive.ToggleItem>>;
3364
+ }): JSX.Element;
3365
+ export { ToolbarToggleItem }
3366
+ export { ToolbarToggleItem as ToolbarToggleItem_alias_1 }
3367
+
3368
+ declare const toolbarVariants: (props?: ({
3369
+ orientation?: "horizontal" | "vertical" | null | undefined;
3370
+ } & ClassProp) | undefined) => string;
3371
+ export { toolbarVariants }
3372
+ export { toolbarVariants as toolbarVariants_alias_1 }
3373
+
3374
+ /**
3375
+ * Renders a tool-invocation card with collapsible details.
3376
+ * @param props - tool name, state, optional args/result
3377
+ * @returns A Collapsible wrapping a header + JSON body
3378
+ */
3379
+ declare function ToolCall({ name, state, args, result, defaultOpen, className, }: ToolCallProps): JSX.Element;
3380
+ export { ToolCall }
3381
+ export { ToolCall as ToolCall_alias_1 }
3382
+
3383
+ /**
3384
+ * Collapsible card displaying a tool / function invocation. Header shows the
3385
+ * tool name and lifecycle state badge; body reveals the JSON-stringified
3386
+ * arguments and result on expand.
3387
+ *
3388
+ * Display-only — the component does not run the tool. Wire it up in the
3389
+ * consumer (AI SDK `tool-*` parts → ToolCall props, LangChain
3390
+ * `AIMessage.tool_calls` → ToolCall props).
3391
+ *
3392
+ * @example
3393
+ * <ToolCall
3394
+ * name="searchDocs"
3395
+ * state="result"
3396
+ * args={{ query: "auth" }}
3397
+ * result={{ hits: 12 }}
3398
+ * />
3399
+ */
3400
+ declare interface ToolCallProps {
3401
+ name: string;
3402
+ state: ToolCallState;
3403
+ args?: unknown;
3404
+ result?: unknown;
3405
+ defaultOpen?: boolean;
3406
+ className?: string;
3407
+ }
3408
+ export { ToolCallProps }
3409
+ export { ToolCallProps as ToolCallProps_alias_1 }
3410
+
3411
+ declare const toolCallSchema: ComponentSchemaDefinition;
3412
+ export { toolCallSchema }
3413
+ export { toolCallSchema as toolCallSchema_alias_1 }
3414
+
3415
+ /**
3416
+ * Lifecycle of a tool/function invocation, surfaced as the `state` prop on
3417
+ * `ToolCall`. `pending` = queued, `running` = executing, `result` = returned
3418
+ * a value, `error` = threw. Picked to align with AI SDK v5 `tool-*` parts.
3419
+ */
3420
+ declare type ToolCallState = "pending" | "running" | "result" | "error";
3421
+ export { ToolCallState }
3422
+ export { ToolCallState as ToolCallState_alias_1 }
3423
+ export { ToolCallState as ToolCallState_alias_2 }
3424
+
3425
+ /** Root container for a single tooltip. */
3426
+ declare const Tooltip: React_2.FC<TooltipPrimitive.TooltipProps>;
3427
+ export { Tooltip }
3428
+ export { Tooltip as Tooltip_alias_1 }
3429
+
3430
+ /** The floating tooltip content (small, hover-reveal info). */
3431
+ declare const TooltipContent: React_2.ForwardRefExoticComponent<Omit<TooltipPrimitive.TooltipContentProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
3432
+ export { TooltipContent }
3433
+ export { TooltipContent as TooltipContent_alias_1 }
3434
+
3435
+ /** Provider required at the root of the app or tree where tooltips are used. */
3436
+ declare const TooltipProvider: React_2.FC<TooltipPrimitive.TooltipProviderProps>;
3437
+ export { TooltipProvider }
3438
+ export { TooltipProvider as TooltipProvider_alias_1 }
3439
+
3440
+ declare const tooltipSchema: ComponentSchemaDefinition;
3441
+ export { tooltipSchema }
3442
+ export { tooltipSchema as tooltipSchema_alias_1 }
3443
+
3444
+ /** The element that shows the tooltip on hover/focus. */
3445
+ declare const TooltipTrigger: React_2.ForwardRefExoticComponent<TooltipPrimitive.TooltipTriggerProps & React_2.RefAttributes<HTMLButtonElement>>;
3446
+ export { TooltipTrigger }
3447
+ export { TooltipTrigger as TooltipTrigger_alias_1 }
3448
+
3449
+ /**
3450
+ * Generic hierarchical list with roving-tabindex keyboard navigation —
3451
+ * arrow keys move focus, → expands, ← collapses, Home / End jump to
3452
+ * first / last visible row, Enter / Space activates the focused node.
3453
+ *
3454
+ * Distinct from {@link FileTree} (which adds folder/file icon-by-extension
3455
+ * logic baked in) and {@link Accordion} (two-level groupings without
3456
+ * item-selection semantics).
3457
+ *
3458
+ * @example
3459
+ * ```tsx
3460
+ * <Tree
3461
+ * aria-label="Org chart"
3462
+ * data={[
3463
+ * { id: "ceo", label: "CEO", children: [
3464
+ * { id: "cto", label: "CTO", children: [
3465
+ * { id: "eng-lead", label: "Eng Lead" },
3466
+ * ]},
3467
+ * { id: "cmo", label: "CMO" },
3468
+ * ]},
3469
+ * ]}
3470
+ * defaultExpanded={["ceo"]}
3471
+ * onSelect={(id) => console.log(id)}
3472
+ * />
3473
+ * ```
3474
+ */
3475
+ declare function Tree({ data, defaultExpanded, expanded: expandedProp, onExpandedChange, selected: selectedProp, onSelect, "aria-label": ariaLabel, className, ref, }: TreeProps): JSX.Element;
3476
+ export { Tree }
3477
+ export { Tree as Tree_alias_1 }
3478
+
3479
+ /**
3480
+ * One node in a Tree. Generic — the shape is content-agnostic so consumers
3481
+ * can render org charts, taxonomy pickers, navigation trees, etc.
3482
+ *
3483
+ * For filesystem-shaped data (with file-extension icon logic baked in),
3484
+ * prefer {@link FileTree} instead.
3485
+ */
3486
+ declare interface TreeNode {
3487
+ /** Stable unique id used as React key + ARIA target. */
3488
+ id: string;
3489
+ /** Display name. */
3490
+ label: React_2.ReactNode;
3491
+ /** Nested children. Presence (even empty array) marks the node as a parent. */
3492
+ children?: TreeNode[];
3493
+ /** Optional icon (default: a chevron + dot). */
3494
+ icon?: React_2.ReactNode;
3495
+ /** Disable selection + expand toggle. */
3496
+ disabled?: boolean;
3497
+ }
3498
+ export { TreeNode }
3499
+ export { TreeNode as TreeNode_alias_1 }
3500
+
3501
+ declare interface TreeProps {
3502
+ /** Forwarded ref onto the root `<ul role="tree">`. */
3503
+ ref?: React_2.Ref<HTMLUListElement>;
3504
+ /** Root nodes. */
3505
+ data: TreeNode[];
3506
+ /** Uncontrolled initial expanded ids. */
3507
+ defaultExpanded?: string[];
3508
+ /** Controlled expanded ids. */
3509
+ expanded?: string[];
3510
+ /** Fired when expanded set changes (array of ids). */
3511
+ onExpandedChange?: (ids: string[]) => void;
3512
+ /** Controlled selected node id. */
3513
+ selected?: string;
3514
+ /** Fired when the user activates a node (click, Enter, or Space). */
3515
+ onSelect?: (id: string) => void;
3516
+ /** Required accessible name. */
3517
+ "aria-label": string;
3518
+ /** Optional additional class names. */
3519
+ className?: string;
3520
+ }
3521
+ export { TreeProps }
3522
+ export { TreeProps as TreeProps_alias_1 }
3523
+
3524
+ declare const treeSchema: ComponentSchemaDefinition;
3525
+ export { treeSchema }
3526
+ export { treeSchema as treeSchema_alias_1 }
3527
+
3528
+ /**
3529
+ * Hook that returns the current field's id, name, error, and derived aria ids.
3530
+ * Must be called inside a FormField + FormItem subtree.
3531
+ * @returns Field state + aria descriptors
3532
+ */
3533
+ declare function useFormField(): {
3534
+ invalid: boolean;
3535
+ isDirty: boolean;
3536
+ isTouched: boolean;
3537
+ isValidating: boolean;
3538
+ error?: FieldError;
3539
+ id: string;
3540
+ name: string;
3541
+ formItemId: string;
3542
+ formDescriptionId: string;
3543
+ formMessageId: string;
3544
+ };
3545
+ export { useFormField }
3546
+ export { useFormField as useFormField_alias_1 }
3547
+
3548
+ /**
3549
+ * Reads sidebar state from context. Throws if used outside SidebarProvider.
3550
+ * @returns `{ open, setOpen }` bound to the nearest SidebarProvider.
3551
+ */
3552
+ declare function useSidebar(): SidebarContextValue;
3553
+ export { useSidebar }
3554
+ export { useSidebar as useSidebar_alias_1 }
3555
+
3556
+ export { }