@botiverse/raft-ui 0.10.7 → 0.12.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,1089 @@
1
+ import { Dialog } from "@base-ui/react/dialog";
2
+ import { VariantProps } from "tailwind-variants/lite";
3
+ import { CSSProperties, ComponentPropsWithRef, ElementType, ReactNode } from "react";
4
+ import { Button } from "@base-ui/react/button";
5
+ import { useRender } from "@base-ui/react/use-render";
6
+ import { Tooltip } from "@base-ui/react/tooltip";
7
+ import { Checkbox } from "@base-ui/react/checkbox";
8
+ import { Avatar } from "@base-ui/react";
9
+ import { Menu } from "@base-ui/react/menu";
10
+ import { Toggle } from "@base-ui/react/toggle";
11
+ import { Toolbar } from "@base-ui/react/toolbar";
12
+ //#region src/lib/styled-props.d.ts
13
+ /**
14
+ * Base UI components type `className` as `string | ((state) => string)`, but our
15
+ * tv() recipes only accept a plain string. `StyledProps` narrows a Base UI
16
+ * component's props to a string `className` so they can flow into a recipe.
17
+ *
18
+ * The state-callback form is intentionally dropped: our components express every
19
+ * state through `data-*` variants in the recipe, so a caller never needs it.
20
+ */
21
+ type StyledProps<P> = Omit<P, "className" | "style"> & {
22
+ className?: string;
23
+ style?: CSSProperties;
24
+ };
25
+ //#endregion
26
+ //#region src/lib/data-attributes.d.ts
27
+ type DataAttributes = Record<`data-${string}`, string | undefined>;
28
+ //#endregion
29
+ //#region src/components/button/button.d.ts
30
+ declare const buttonVariants: import("tailwind-variants/lite").TVReturnType<{
31
+ variant: {
32
+ primary: {
33
+ root: string[];
34
+ };
35
+ accent: {
36
+ root: string[];
37
+ };
38
+ warning: {
39
+ root: string[];
40
+ };
41
+ danger: {
42
+ root: string[];
43
+ };
44
+ default: {
45
+ root: string[];
46
+ };
47
+ outline: {
48
+ root: string[];
49
+ };
50
+ information: {
51
+ root: string[];
52
+ };
53
+ muted: {
54
+ root: string[];
55
+ };
56
+ success: {
57
+ root: string[];
58
+ };
59
+ "danger-secondary": {
60
+ root: string[];
61
+ };
62
+ "danger-outline": {
63
+ root: string[];
64
+ };
65
+ ghost: {
66
+ root: string[];
67
+ };
68
+ "on-frame": {
69
+ root: string[];
70
+ };
71
+ };
72
+ size: {
73
+ xs: {
74
+ root: string[];
75
+ };
76
+ sm: {
77
+ root: string[];
78
+ };
79
+ md: {
80
+ root: string[];
81
+ };
82
+ lg: {
83
+ root: string[];
84
+ };
85
+ xl: {
86
+ root: string[];
87
+ };
88
+ "icon-xs": {
89
+ root: string[];
90
+ };
91
+ "icon-sm": {
92
+ root: string[];
93
+ };
94
+ "icon-md": {
95
+ root: string[];
96
+ };
97
+ "icon-lg": {
98
+ root: string[];
99
+ };
100
+ };
101
+ }, {
102
+ root: string[];
103
+ content: string;
104
+ loadingIndicator: string;
105
+ }, undefined, {
106
+ variant: {
107
+ primary: {
108
+ root: string[];
109
+ };
110
+ accent: {
111
+ root: string[];
112
+ };
113
+ warning: {
114
+ root: string[];
115
+ };
116
+ danger: {
117
+ root: string[];
118
+ };
119
+ default: {
120
+ root: string[];
121
+ };
122
+ outline: {
123
+ root: string[];
124
+ };
125
+ information: {
126
+ root: string[];
127
+ };
128
+ muted: {
129
+ root: string[];
130
+ };
131
+ success: {
132
+ root: string[];
133
+ };
134
+ "danger-secondary": {
135
+ root: string[];
136
+ };
137
+ "danger-outline": {
138
+ root: string[];
139
+ };
140
+ ghost: {
141
+ root: string[];
142
+ };
143
+ "on-frame": {
144
+ root: string[];
145
+ };
146
+ };
147
+ size: {
148
+ xs: {
149
+ root: string[];
150
+ };
151
+ sm: {
152
+ root: string[];
153
+ };
154
+ md: {
155
+ root: string[];
156
+ };
157
+ lg: {
158
+ root: string[];
159
+ };
160
+ xl: {
161
+ root: string[];
162
+ };
163
+ "icon-xs": {
164
+ root: string[];
165
+ };
166
+ "icon-sm": {
167
+ root: string[];
168
+ };
169
+ "icon-md": {
170
+ root: string[];
171
+ };
172
+ "icon-lg": {
173
+ root: string[];
174
+ };
175
+ };
176
+ }, {
177
+ root: string[];
178
+ content: string;
179
+ loadingIndicator: string;
180
+ }, import("tailwind-variants/lite").TVReturnTypeLike<{
181
+ variant: {
182
+ primary: {
183
+ root: string[];
184
+ };
185
+ accent: {
186
+ root: string[];
187
+ };
188
+ warning: {
189
+ root: string[];
190
+ };
191
+ danger: {
192
+ root: string[];
193
+ };
194
+ default: {
195
+ root: string[];
196
+ };
197
+ outline: {
198
+ root: string[];
199
+ };
200
+ information: {
201
+ root: string[];
202
+ };
203
+ muted: {
204
+ root: string[];
205
+ };
206
+ success: {
207
+ root: string[];
208
+ };
209
+ "danger-secondary": {
210
+ root: string[];
211
+ };
212
+ "danger-outline": {
213
+ root: string[];
214
+ };
215
+ ghost: {
216
+ root: string[];
217
+ };
218
+ "on-frame": {
219
+ root: string[];
220
+ };
221
+ };
222
+ size: {
223
+ xs: {
224
+ root: string[];
225
+ };
226
+ sm: {
227
+ root: string[];
228
+ };
229
+ md: {
230
+ root: string[];
231
+ };
232
+ lg: {
233
+ root: string[];
234
+ };
235
+ xl: {
236
+ root: string[];
237
+ };
238
+ "icon-xs": {
239
+ root: string[];
240
+ };
241
+ "icon-sm": {
242
+ root: string[];
243
+ };
244
+ "icon-md": {
245
+ root: string[];
246
+ };
247
+ "icon-lg": {
248
+ root: string[];
249
+ };
250
+ };
251
+ }, {
252
+ root: string[];
253
+ content: string;
254
+ loadingIndicator: string;
255
+ }>>;
256
+ type ButtonProps = StyledProps<Button.Props> & VariantProps<typeof buttonVariants> & DataAttributes & {
257
+ loading?: boolean;
258
+ loadingLabel?: string;
259
+ };
260
+ declare function Button$1({ variant, size, loading, loadingLabel, disabled, className, children, render, nativeButton, ...props }: ButtonProps): import("react").JSX.Element;
261
+ //#endregion
262
+ //#region src/components/dialog/dialog.d.ts
263
+ type DialogProps = Dialog.Root.Props;
264
+ declare function Dialog$1({ children, ...props }: DialogProps): import("react").JSX.Element;
265
+ type DialogTriggerProps = Dialog.Trigger.Props;
266
+ declare function DialogTrigger(props: DialogTriggerProps): import("react").JSX.Element;
267
+ type DialogPortalProps = Dialog.Portal.Props;
268
+ declare function DialogPortal(props: DialogPortalProps): import("react").JSX.Element;
269
+ type DialogOverlayProps = StyledProps<Dialog.Backdrop.Props> & {
270
+ layer?: 0 | 1;
271
+ };
272
+ declare function DialogOverlay({ className, layer, ...props }: DialogOverlayProps): import("react").JSX.Element;
273
+ type DialogContentProps = StyledProps<Dialog.Popup.Props> & {
274
+ portalProps?: DialogPortalProps;
275
+ overlay?: false | DialogOverlayProps;
276
+ size?: "sm" | "md" | "lg" | "wide";
277
+ layer?: 0 | 1;
278
+ };
279
+ declare function DialogContent({ className, children, portalProps, overlay, size, layer, ...props }: DialogContentProps): import("react").JSX.Element;
280
+ type DialogCloseProps = Dialog.Close.Props & Pick<ButtonProps, "variant" | "size"> & {
281
+ className?: string;
282
+ children?: ReactNode;
283
+ };
284
+ declare function DialogClose({ className, variant, size, children, render, "aria-label": ariaLabel, ...props }: DialogCloseProps): import("react").JSX.Element;
285
+ type DialogHeaderProps = ComponentPropsWithRef<"div"> & {
286
+ /** A pinned bar of a scrolling (`size="wide"`) dialog. */
287
+ bar?: boolean;
288
+ };
289
+ declare function DialogHeader({ className, bar, ...props }: DialogHeaderProps): import("react").JSX.Element;
290
+ type DialogBodyProps = ComponentPropsWithRef<"div"> & {
291
+ /** A pinned bar of a scrolling (`size="wide"`) dialog. */
292
+ bar?: boolean;
293
+ };
294
+ declare function DialogBody({ className, bar, ...props }: DialogBodyProps): import("react").JSX.Element;
295
+ type DialogFooterProps = ComponentPropsWithRef<"div"> & {
296
+ /** A pinned bar of a scrolling (`size="wide"`) dialog. */
297
+ bar?: boolean;
298
+ };
299
+ declare function DialogFooter({ className, bar, ...props }: DialogFooterProps): import("react").JSX.Element;
300
+ type DialogTitleProps = StyledProps<Dialog.Title.Props>;
301
+ declare function DialogTitle({ className, ...props }: DialogTitleProps): import("react").JSX.Element;
302
+ type DialogDescriptionProps = StyledProps<Dialog.Description.Props>;
303
+ declare function DialogDescription({ className, ...props }: DialogDescriptionProps): import("react").JSX.Element;
304
+ type DialogSurfaceProps = useRender.ComponentProps<"div">;
305
+ /**
306
+ * The dialog's frame — the popover layer, the dialog radius, the seam ring
307
+ * and the float shadow — for a centred modal whose lifecycle the app owns
308
+ * (its own backdrop, Escape and focus handling). It neither positions nor
309
+ * animates itself: the host centres it, and a centred modal has no motion.
310
+ * DialogContent draws the same frame for a Base UI dialog.
311
+ */
312
+ declare function DialogSurface({ className, render, ...props }: DialogSurfaceProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
313
+ type DialogNavProps = useRender.ComponentProps<"nav">;
314
+ /** The section list of a wide (`size="wide"`) dialog, inside a `bar` body. */
315
+ declare function DialogNav({ className, render, ...props }: DialogNavProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
316
+ //#endregion
317
+ //#region src/lib/presence.d.ts
318
+ /**
319
+ * The five status lights of the design system. Each colour is a fixed
320
+ * meaning: online green, busy (an agent at work) yellow, error orange,
321
+ * offline stone, an external agent cyan. One map, read by Status and by the
322
+ * avatar's dot through the same `--status-color`.
323
+ */
324
+ declare const PRESENCE_COLOR: {
325
+ readonly online: "[--status-color:var(--presence-online)]";
326
+ readonly busy: "[--status-color:var(--presence-busy)]";
327
+ readonly error: "[--status-color:var(--presence-error)]";
328
+ readonly offline: "[--status-color:var(--presence-offline)]";
329
+ readonly external: "[--status-color:var(--presence-external)]";
330
+ };
331
+ type Presence = keyof typeof PRESENCE_COLOR;
332
+ //#endregion
333
+ //#region src/components/checkbox/checkbox.d.ts
334
+ type CheckboxProps = StyledProps<Checkbox.Root.Props> & {
335
+ shape?: "square" | "circle";
336
+ };
337
+ declare function Checkbox$1({ shape, className, ...props }: CheckboxProps): import("react").JSX.Element;
338
+ //#endregion
339
+ //#region src/components/checkbox/checkbox-indicator.d.ts
340
+ declare const checkboxIndicator: import("tailwind-variants/lite").TVReturnType<{
341
+ shape: {
342
+ square: "";
343
+ circle: {
344
+ root: string;
345
+ };
346
+ };
347
+ checked: {
348
+ true: {
349
+ root: string;
350
+ };
351
+ false: {
352
+ root: string;
353
+ };
354
+ };
355
+ disabled: {
356
+ true: {
357
+ root: string;
358
+ };
359
+ false: "";
360
+ };
361
+ previewOnHover: {
362
+ true: "";
363
+ false: "";
364
+ };
365
+ }, {
366
+ root: string[];
367
+ }, undefined, {
368
+ shape: {
369
+ square: "";
370
+ circle: {
371
+ root: string;
372
+ };
373
+ };
374
+ checked: {
375
+ true: {
376
+ root: string;
377
+ };
378
+ false: {
379
+ root: string;
380
+ };
381
+ };
382
+ disabled: {
383
+ true: {
384
+ root: string;
385
+ };
386
+ false: "";
387
+ };
388
+ previewOnHover: {
389
+ true: "";
390
+ false: "";
391
+ };
392
+ }, {
393
+ root: string[];
394
+ }, import("tailwind-variants/lite").TVReturnTypeLike<{
395
+ shape: {
396
+ square: "";
397
+ circle: {
398
+ root: string;
399
+ };
400
+ };
401
+ checked: {
402
+ true: {
403
+ root: string;
404
+ };
405
+ false: {
406
+ root: string;
407
+ };
408
+ };
409
+ disabled: {
410
+ true: {
411
+ root: string;
412
+ };
413
+ false: "";
414
+ };
415
+ previewOnHover: {
416
+ true: "";
417
+ false: "";
418
+ };
419
+ }, {
420
+ root: string[];
421
+ }>>;
422
+ type CheckboxIndicatorMark = "check" | "minus";
423
+ type CheckboxIndicatorProps = ComponentPropsWithRef<"span"> & Omit<VariantProps<typeof checkboxIndicator>, "checked"> & {
424
+ checked: boolean;
425
+ mark?: CheckboxIndicatorMark;
426
+ };
427
+ declare function CheckboxIndicator({ checked, mark, shape, disabled, previewOnHover, className, ...props }: CheckboxIndicatorProps): import("react").JSX.Element;
428
+ //#endregion
429
+ //#region src/components/badge/badge.d.ts
430
+ declare const badge: import("tailwind-variants/lite").TVReturnType<{
431
+ appearance: {
432
+ solid: {
433
+ root: string[];
434
+ };
435
+ soft: {
436
+ root: string[];
437
+ };
438
+ outline: {
439
+ root: string[];
440
+ };
441
+ };
442
+ variant: {
443
+ default: "";
444
+ primary: "";
445
+ information: "";
446
+ muted: "";
447
+ accent: "";
448
+ success: "";
449
+ warning: "";
450
+ danger: "";
451
+ };
452
+ }, {
453
+ root: string[];
454
+ }, undefined, {
455
+ appearance: {
456
+ solid: {
457
+ root: string[];
458
+ };
459
+ soft: {
460
+ root: string[];
461
+ };
462
+ outline: {
463
+ root: string[];
464
+ };
465
+ };
466
+ variant: {
467
+ default: "";
468
+ primary: "";
469
+ information: "";
470
+ muted: "";
471
+ accent: "";
472
+ success: "";
473
+ warning: "";
474
+ danger: "";
475
+ };
476
+ }, {
477
+ root: string[];
478
+ }, import("tailwind-variants/lite").TVReturnTypeLike<{
479
+ appearance: {
480
+ solid: {
481
+ root: string[];
482
+ };
483
+ soft: {
484
+ root: string[];
485
+ };
486
+ outline: {
487
+ root: string[];
488
+ };
489
+ };
490
+ variant: {
491
+ default: "";
492
+ primary: "";
493
+ information: "";
494
+ muted: "";
495
+ accent: "";
496
+ success: "";
497
+ warning: "";
498
+ danger: "";
499
+ };
500
+ }, {
501
+ root: string[];
502
+ }>>;
503
+ type BadgeProps = useRender.ComponentProps<"span"> & VariantProps<typeof badge>;
504
+ declare function BadgeRoot({ appearance, variant, className, render, ...props }: BadgeProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
505
+ declare function Experimental(props: Omit<BadgeProps, "appearance" | "variant">): import("react").JSX.Element;
506
+ declare const Badge: typeof BadgeRoot & {
507
+ Experimental: typeof Experimental;
508
+ };
509
+ //#endregion
510
+ //#region src/components/kbd/kbd.d.ts
511
+ type KbdProps = ComponentPropsWithRef<"kbd">;
512
+ declare function Kbd({ className, ...props }: KbdProps): import("react").JSX.Element;
513
+ type KbdGroupProps = ComponentPropsWithRef<"span">;
514
+ declare function KbdGroup({ className, ...props }: KbdGroupProps): import("react").JSX.Element;
515
+ //#endregion
516
+ //#region src/components/dropdown-menu/dropdown-menu.d.ts
517
+ type DropdownMenuProps = Menu.Root.Props;
518
+ declare function DropdownMenu(props: DropdownMenuProps): import("react").JSX.Element;
519
+ type DropdownMenuSubmenuProps = Menu.SubmenuRoot.Props;
520
+ declare function DropdownMenuSubmenu(props: DropdownMenuSubmenuProps): import("react").JSX.Element;
521
+ type DropdownMenuTriggerProps = StyledProps<Menu.Trigger.Props>;
522
+ declare function DropdownMenuTrigger({ className, render, ...props }: DropdownMenuTriggerProps): import("react").JSX.Element;
523
+ type DropdownMenuPortalProps = Menu.Portal.Props;
524
+ declare function DropdownMenuPortal(props: DropdownMenuPortalProps): import("react").JSX.Element;
525
+ type DropdownMenuPopupProps = ComponentPropsWithRef<"div">;
526
+ declare function DropdownMenuPopup({ className, ...props }: DropdownMenuPopupProps): import("react").JSX.Element;
527
+ type DropdownMenuContentProps = StyledProps<Menu.Popup.Props> & Pick<Menu.Positioner.Props, "align" | "alignOffset" | "anchor" | "arrowPadding" | "collisionAvoidance" | "collisionBoundary" | "collisionPadding" | "disableAnchorTracking" | "positionMethod" | "side" | "sideOffset" | "sticky"> & {
528
+ portalProps?: DropdownMenuPortalProps;
529
+ };
530
+ declare function DropdownMenuContent({ align, alignOffset, anchor, arrowPadding, collisionAvoidance, collisionBoundary, collisionPadding, disableAnchorTracking, positionMethod, side, sideOffset, sticky, portalProps, className, ...props }: DropdownMenuContentProps): import("react").JSX.Element;
531
+ type DropdownMenuItemProps = StyledProps<Menu.Item.Props>;
532
+ declare function DropdownMenuItem({ className, ...props }: DropdownMenuItemProps): import("react").JSX.Element;
533
+ type DropdownMenuItemLabelProps = StyledProps<ComponentPropsWithRef<"span">>;
534
+ declare function DropdownMenuItemLabel({ className, ...props }: DropdownMenuItemLabelProps): import("react").JSX.Element;
535
+ type DropdownMenuFooterProps = StyledProps<ComponentPropsWithRef<"div">>;
536
+ declare function DropdownMenuFooter({ className, ...props }: DropdownMenuFooterProps): import("react").JSX.Element;
537
+ type DropdownMenuSubmenuTriggerProps = StyledProps<Menu.SubmenuTrigger.Props>;
538
+ declare function DropdownMenuSubmenuTrigger({ children, className, ...props }: DropdownMenuSubmenuTriggerProps): import("react").JSX.Element;
539
+ type DropdownMenuLabelProps = StyledProps<ComponentPropsWithRef<"div">>;
540
+ declare function DropdownMenuLabel({ className, ...props }: DropdownMenuLabelProps): import("react").JSX.Element;
541
+ type DropdownMenuShortcutProps = KbdProps;
542
+ declare function DropdownMenuShortcut({ className, ...props }: DropdownMenuShortcutProps): import("react").JSX.Element;
543
+ type DropdownMenuItemCountProps = BadgeProps;
544
+ declare function DropdownMenuItemCount({ className, ...props }: DropdownMenuItemCountProps): import("react").JSX.Element;
545
+ type DropdownMenuSeparatorProps = StyledProps<Menu.Separator.Props>;
546
+ declare function DropdownMenuSeparator({ className, ...props }: DropdownMenuSeparatorProps): import("react").JSX.Element;
547
+ type DropdownMenuRadioGroupProps = StyledProps<Menu.RadioGroup.Props>;
548
+ declare function DropdownMenuRadioGroup({ ...props }: DropdownMenuRadioGroupProps): import("react").JSX.Element;
549
+ type DropdownMenuRadioItemProps = StyledProps<Menu.RadioItem.Props>;
550
+ declare function DropdownMenuRadioItem({ className, children, ...props }: DropdownMenuRadioItemProps): import("react").JSX.Element;
551
+ type DropdownMenuRadioItemIndicatorProps = StyledProps<Menu.RadioItemIndicator.Props>;
552
+ declare function DropdownMenuRadioItemIndicator({ className, ...props }: DropdownMenuRadioItemIndicatorProps): import("react").JSX.Element;
553
+ type DropdownMenuCheckboxItemProps = StyledProps<Menu.CheckboxItem.Props>;
554
+ declare function DropdownMenuCheckboxItem({ className, children, ...props }: DropdownMenuCheckboxItemProps): import("react").JSX.Element;
555
+ type DropdownMenuCheckboxItemIndicatorProps = StyledProps<Menu.CheckboxItemIndicator.Props>;
556
+ declare function DropdownMenuCheckboxItemIndicator({ className, ...props }: DropdownMenuCheckboxItemIndicatorProps): import("react").JSX.Element;
557
+ //#endregion
558
+ //#region src/components/tooltip/tooltip.d.ts
559
+ type TooltipProviderProps = Tooltip.Provider.Props;
560
+ declare function TooltipProvider({ delay, ...props }: TooltipProviderProps): import("react").JSX.Element;
561
+ type TooltipProps = Tooltip.Root.Props;
562
+ declare function Tooltip$1(props: TooltipProps): import("react").JSX.Element;
563
+ type TooltipTriggerProps = StyledProps<Tooltip.Trigger.Props>;
564
+ declare function TooltipTrigger({ className, ...props }: TooltipTriggerProps): import("react").JSX.Element;
565
+ type TooltipPortalProps = Tooltip.Portal.Props;
566
+ declare function TooltipPortal(props: TooltipPortalProps): import("react").JSX.Element;
567
+ type TooltipContentProps = StyledProps<Tooltip.Popup.Props> & Pick<Tooltip.Positioner.Props, "align" | "alignOffset" | "anchor" | "arrowPadding" | "collisionAvoidance" | "collisionBoundary" | "collisionPadding" | "disableAnchorTracking" | "positionMethod" | "side" | "sideOffset" | "sticky"> & {
568
+ container?: TooltipPortalProps["container"];
569
+ portalProps?: TooltipPortalProps;
570
+ };
571
+ declare function TooltipContent({ align, alignOffset, anchor, arrowPadding, collisionAvoidance, collisionBoundary, collisionPadding, disableAnchorTracking, positionMethod, side, sideOffset, sticky, container, portalProps, className, children, ...props }: TooltipContentProps): import("react").JSX.Element;
572
+ //#endregion
573
+ //#region src/components/avatar/avatar.d.ts
574
+ declare const avatar: import("tailwind-variants/lite").TVReturnType<{
575
+ type: {
576
+ agent: {
577
+ root: string[];
578
+ };
579
+ human: {
580
+ root: string[];
581
+ };
582
+ };
583
+ size: {
584
+ xl: {
585
+ root: string[];
586
+ };
587
+ lg: {
588
+ root: string[];
589
+ };
590
+ md: {
591
+ root: string[];
592
+ };
593
+ sm: {
594
+ root: string[];
595
+ };
596
+ xs: {
597
+ root: string[];
598
+ };
599
+ "2xs": {
600
+ root: string[];
601
+ };
602
+ "3xs": {
603
+ root: string;
604
+ };
605
+ };
606
+ }, {
607
+ root: string[];
608
+ image: string[];
609
+ fallback: string[];
610
+ badge: string[];
611
+ dot: string[];
612
+ group: string[];
613
+ }, undefined, {
614
+ type: {
615
+ agent: {
616
+ root: string[];
617
+ };
618
+ human: {
619
+ root: string[];
620
+ };
621
+ };
622
+ size: {
623
+ xl: {
624
+ root: string[];
625
+ };
626
+ lg: {
627
+ root: string[];
628
+ };
629
+ md: {
630
+ root: string[];
631
+ };
632
+ sm: {
633
+ root: string[];
634
+ };
635
+ xs: {
636
+ root: string[];
637
+ };
638
+ "2xs": {
639
+ root: string[];
640
+ };
641
+ "3xs": {
642
+ root: string;
643
+ };
644
+ };
645
+ }, {
646
+ root: string[];
647
+ image: string[];
648
+ fallback: string[];
649
+ badge: string[];
650
+ dot: string[];
651
+ group: string[];
652
+ }, import("tailwind-variants/lite").TVReturnTypeLike<{
653
+ type: {
654
+ agent: {
655
+ root: string[];
656
+ };
657
+ human: {
658
+ root: string[];
659
+ };
660
+ };
661
+ size: {
662
+ xl: {
663
+ root: string[];
664
+ };
665
+ lg: {
666
+ root: string[];
667
+ };
668
+ md: {
669
+ root: string[];
670
+ };
671
+ sm: {
672
+ root: string[];
673
+ };
674
+ xs: {
675
+ root: string[];
676
+ };
677
+ "2xs": {
678
+ root: string[];
679
+ };
680
+ "3xs": {
681
+ root: string;
682
+ };
683
+ };
684
+ }, {
685
+ root: string[];
686
+ image: string[];
687
+ fallback: string[];
688
+ badge: string[];
689
+ dot: string[];
690
+ group: string[];
691
+ }>>;
692
+ type AvatarSize = NonNullable<VariantProps<typeof avatar>["size"]>;
693
+ type AvatarProps = StyledProps<Avatar.Root.Props> & Required<Pick<VariantProps<typeof avatar>, "size" | "type">>;
694
+ declare function Avatar$1({ size, type, className, children, ...props }: AvatarProps): import("react").JSX.Element;
695
+ type AvatarImageProps = StyledProps<Avatar.Image.Props>;
696
+ declare function AvatarImage({ className, ...props }: AvatarImageProps): import("react").JSX.Element;
697
+ type AvatarFallbackProps = StyledProps<Avatar.Fallback.Props>;
698
+ declare function AvatarFallback({ className, children, ...props }: AvatarFallbackProps): import("react").JSX.Element;
699
+ type AvatarBadgeOffset = [x: string | number, y: string | number];
700
+ type AvatarBadgeProps = useRender.ComponentProps<"span"> & {
701
+ /** The default dot's status light: online (the default), busy, error,
702
+ * offline or external. Ignored when `render` draws its own indicator. */
703
+ presence?: Presence;
704
+ /** Where the badge's centre sits, measured from the avatar's top-left:
705
+ * `[x, y]`. Numbers are px; strings are any CSS length, and percentages
706
+ * are of the avatar's size, so `["100%", 0]` is the top-right corner at
707
+ * every size. Omit it to keep the default bottom-right spot. */
708
+ offset?: AvatarBadgeOffset;
709
+ };
710
+ declare function AvatarBadge({ className, render, offset, presence, ...props }: AvatarBadgeProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
711
+ type AvatarGroupProps = ComponentPropsWithRef<"div">;
712
+ declare function AvatarGroup({ className, ...props }: AvatarGroupProps): import("react").JSX.Element;
713
+ type AvatarGroupCountProps = ComponentPropsWithRef<"span"> & {
714
+ /** Matches the frame scale of the sibling avatars. */
715
+ size: AvatarSize;
716
+ };
717
+ declare function AvatarGroupCount({ size, className, ...props }: AvatarGroupCountProps): import("react").JSX.Element;
718
+ //#endregion
719
+ //#region src/components/message-item/message-item.recipe.d.ts
720
+ declare const messageItem: import("tailwind-variants/lite").TVReturnType<{
721
+ compact: {
722
+ true: {
723
+ root: string[];
724
+ };
725
+ };
726
+ }, {
727
+ root: string[];
728
+ gutter: string[];
729
+ avatarSlot: string[];
730
+ continuationTime: string[];
731
+ content: string[];
732
+ header: string[];
733
+ senderGroup: string[];
734
+ sender: string[];
735
+ senderButton: string[];
736
+ senderBadges: string[];
737
+ meta: string[];
738
+ time: string[];
739
+ inlineStatus: string[];
740
+ delegatedBy: string[];
741
+ delegatedByName: string[];
742
+ delegatedByButton: string[];
743
+ delegatedAvatar: string[];
744
+ edited: string[];
745
+ body: string[];
746
+ searchMatch: string[];
747
+ embedded: string[];
748
+ attachments: string[];
749
+ footer: string[];
750
+ toolbar: string[];
751
+ toolbarButton: string[];
752
+ }, undefined, {
753
+ compact: {
754
+ true: {
755
+ root: string[];
756
+ };
757
+ };
758
+ }, {
759
+ root: string[];
760
+ gutter: string[];
761
+ avatarSlot: string[];
762
+ continuationTime: string[];
763
+ content: string[];
764
+ header: string[];
765
+ senderGroup: string[];
766
+ sender: string[];
767
+ senderButton: string[];
768
+ senderBadges: string[];
769
+ meta: string[];
770
+ time: string[];
771
+ inlineStatus: string[];
772
+ delegatedBy: string[];
773
+ delegatedByName: string[];
774
+ delegatedByButton: string[];
775
+ delegatedAvatar: string[];
776
+ edited: string[];
777
+ body: string[];
778
+ searchMatch: string[];
779
+ embedded: string[];
780
+ attachments: string[];
781
+ footer: string[];
782
+ toolbar: string[];
783
+ toolbarButton: string[];
784
+ }, import("tailwind-variants/lite").TVReturnTypeLike<{
785
+ compact: {
786
+ true: {
787
+ root: string[];
788
+ };
789
+ };
790
+ }, {
791
+ root: string[];
792
+ gutter: string[];
793
+ avatarSlot: string[];
794
+ continuationTime: string[];
795
+ content: string[];
796
+ header: string[];
797
+ senderGroup: string[];
798
+ sender: string[];
799
+ senderButton: string[];
800
+ senderBadges: string[];
801
+ meta: string[];
802
+ time: string[];
803
+ inlineStatus: string[];
804
+ delegatedBy: string[];
805
+ delegatedByName: string[];
806
+ delegatedByButton: string[];
807
+ delegatedAvatar: string[];
808
+ edited: string[];
809
+ body: string[];
810
+ searchMatch: string[];
811
+ embedded: string[];
812
+ attachments: string[];
813
+ footer: string[];
814
+ toolbar: string[];
815
+ toolbarButton: string[];
816
+ }>>;
817
+ type MessageItemVariantProps = VariantProps<typeof messageItem>;
818
+ //#endregion
819
+ //#region src/components/message-item/message-item-root.d.ts
820
+ type MessageItemProps = useRender.ComponentProps<"div"> & Pick<MessageItemVariantProps, "compact">;
821
+ declare function MessageItem({ className, compact, render, ...props }: MessageItemProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
822
+ //#endregion
823
+ //#region src/components/message-item/message-item-gutter.d.ts
824
+ type MessageItemGutterProps = useRender.ComponentProps<"div">;
825
+ declare function MessageItemGutter({ className, render, ...props }: MessageItemGutterProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
826
+ type MessageItemAvatarSlotProps = useRender.ComponentProps<"div">;
827
+ declare function MessageItemAvatarSlot({ className, render, ...props }: MessageItemAvatarSlotProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
828
+ type MessageItemContinuationTimeProps = useRender.ComponentProps<"time">;
829
+ /** Left-gutter hover clock for continuation rows, a `<time>`: pass the moment in `dateTime`. Show the hour and minute only, in the person's 12h/24h format, with no AM/PM (`6:35`, `18:35`). */
830
+ declare function MessageItemContinuationTime({ className, render, ...props }: MessageItemContinuationTimeProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
831
+ //#endregion
832
+ //#region src/components/message-item/message-item-content.d.ts
833
+ type MessageItemContentProps = useRender.ComponentProps<"div">;
834
+ declare function MessageItemContent({ className, render, ...props }: MessageItemContentProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
835
+ type MessageItemBodyProps = useRender.ComponentProps<"div">;
836
+ declare function MessageItemBody({ className, render, ...props }: MessageItemBodyProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
837
+ type MessageItemEditedProps = useRender.ComponentProps<"span">;
838
+ /**
839
+ * The edited marker, inline at the end of the message text on every row, full
840
+ * or continuation. Put it inside the last paragraph so it follows the last
841
+ * word; pass the copy ("(edited)") as children and the edit time as its tooltip.
842
+ */
843
+ declare function MessageItemEdited({ className, render, ...props }: MessageItemEditedProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
844
+ type MessageItemSearchMatchProps = useRender.ComponentProps<"mark">;
845
+ declare function MessageItemSearchMatch({ className, render, ...props }: MessageItemSearchMatchProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
846
+ type MessageItemEmbeddedProps = useRender.ComponentProps<"div">;
847
+ declare function MessageItemEmbedded({ className, render, ...props }: MessageItemEmbeddedProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
848
+ type MessageItemAttachmentsProps = useRender.ComponentProps<"div">;
849
+ declare function MessageItemAttachments({ className, render, ...props }: MessageItemAttachmentsProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
850
+ type MessageItemFooterProps = useRender.ComponentProps<"div">;
851
+ declare function MessageItemFooter({ className, render, ...props }: MessageItemFooterProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
852
+ //#endregion
853
+ //#region src/components/message-item/message-item-header.d.ts
854
+ type MessageItemHeaderProps = useRender.ComponentProps<"div">;
855
+ declare function MessageItemHeader({ className, render, ...props }: MessageItemHeaderProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
856
+ type MessageItemSenderGroupProps = useRender.ComponentProps<"span">;
857
+ /**
858
+ * Holds the sender, its badges and its role, and decides who gives way when
859
+ * the header runs out of room: the role truncates first, then the name. The
860
+ * badges stay whole beside the name, and the time, outside the group, never
861
+ * truncates.
862
+ */
863
+ declare function MessageItemSenderGroup({ className, render, ...props }: MessageItemSenderGroupProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
864
+ type MessageItemSenderProps = useRender.ComponentProps<"span">;
865
+ declare function MessageItemSender({ className, render, ...props }: MessageItemSenderProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
866
+ type MessageItemSenderButtonProps = useRender.ComponentProps<"button">;
867
+ declare function MessageItemSenderButton({ className, render, ...props }: MessageItemSenderButtonProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
868
+ type MessageItemSenderBadgesProps = useRender.ComponentProps<"span">;
869
+ declare function MessageItemSenderBadges({ className, render, ...props }: MessageItemSenderBadgesProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
870
+ type MessageItemMetaProps = useRender.ComponentProps<"span">;
871
+ declare function MessageItemMeta({ className, render, ...props }: MessageItemMetaProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
872
+ type MessageItemTimeProps = useRender.ComponentProps<"time">;
873
+ /**
874
+ * The message's time, right after the sender. A `<time>`: pass the moment in
875
+ * `dateTime` (ISO 8601) and the full date and time as its tooltip.
876
+ */
877
+ declare function MessageItemTime({ className, render, ...props }: MessageItemTimeProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
878
+ type MessageItemInlineStatusProps = useRender.ComponentProps<"span">;
879
+ declare function MessageItemInlineStatus({ className, render, ...props }: MessageItemInlineStatusProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
880
+ //#endregion
881
+ //#region src/components/message-item/message-item-delegated.d.ts
882
+ type MessageItemDelegatedByProps = useRender.ComponentProps<"span">;
883
+ /**
884
+ * Says an assistant sent the message for its owner, the sender: "sent by
885
+ * Friday". Put it in `MessageItemHeader` after `MessageItemSenderGroup`, and
886
+ * the assistant's name in `MessageItemDelegatedByName` or
887
+ * `MessageItemDelegatedByButton`. The words, and the spaces around the name,
888
+ * come from the product. It takes at most 45% of the line: past that only
889
+ * the name truncates, never the words.
890
+ */
891
+ declare function MessageItemDelegatedBy({ className, render, ...props }: MessageItemDelegatedByProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
892
+ type MessageItemDelegatedByNameProps = useRender.ComponentProps<"span">;
893
+ /** The assistant's name in `MessageItemDelegatedBy`, the part that truncates. */
894
+ declare function MessageItemDelegatedByName({ className, render, ...props }: MessageItemDelegatedByNameProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
895
+ type MessageItemDelegatedByButtonProps = useRender.ComponentProps<"button">;
896
+ /**
897
+ * The assistant's name when it opens the assistant's profile: a `<button>`
898
+ * (or a link through `render`) that underlines on hover and truncates like
899
+ * `MessageItemDelegatedByName`.
900
+ */
901
+ declare function MessageItemDelegatedByButton({ className, render, ...props }: MessageItemDelegatedByButtonProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
902
+ type MessageItemDelegatedAvatarProps = Omit<AvatarBadgeProps, "presence" | "offset"> & {
903
+ /** The assistant was deleted: its face is grayed and faded, over the
904
+ * row's surface, never the owner's avatar. */
905
+ deleted?: boolean;
906
+ };
907
+ /**
908
+ * The assistant's face on its owner's avatar, in the corner a presence light
909
+ * takes: put it inside the owner's `md` `Avatar` with a `2xs` agent `Avatar`
910
+ * as its child. It is hidden from assistive technology, because
911
+ * `MessageItemDelegatedBy` already says who sent the message. Only on a
912
+ * person's avatar: an agent's corner is its presence light.
913
+ */
914
+ declare function MessageItemDelegatedAvatar({ className, deleted, ...props }: MessageItemDelegatedAvatarProps): import("react").JSX.Element;
915
+ //#endregion
916
+ //#region src/components/message-item/message-item-toolbar.d.ts
917
+ type MessageItemToolbarProps = useRender.ComponentProps<"div">;
918
+ declare function MessageItemToolbar({ className, render, ...props }: MessageItemToolbarProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
919
+ type MessageItemToolbarButtonProps = useRender.ComponentProps<"button"> & {
920
+ active?: boolean;
921
+ };
922
+ declare function MessageItemToolbarButton({ active, className, render, ...props }: MessageItemToolbarButtonProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
923
+ //#endregion
924
+ //#region src/components/message-item/message-footer.d.ts
925
+ type MessageItemBadgeStatus = "read" | "unread";
926
+ type MessageItemBadgeProps = useRender.ComponentProps<"span"> & {
927
+ status?: MessageItemBadgeStatus;
928
+ };
929
+ declare function MessageItemBadge({ className, status, ...props }: MessageItemBadgeProps): import("react").JSX.Element;
930
+ type MessageItemBadgeSeparatorProps = useRender.ComponentProps<"span">;
931
+ declare function MessageItemBadgeSeparator({ className, render, ...props }: MessageItemBadgeSeparatorProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
932
+ type MessageItemSavedIndicatorProps = useRender.ComponentProps<"span"> & {
933
+ /**
934
+ * Square icon-only affordance. Replaces the old `data-icon-only`
935
+ * attribute contract with an explicit prop.
936
+ */
937
+ iconOnly?: boolean;
938
+ };
939
+ declare function MessageItemSavedIndicator({ className, iconOnly, render, ...props }: MessageItemSavedIndicatorProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
940
+ type MessageItemReadReceiptProps = useRender.ComponentProps<"span">;
941
+ declare function MessageItemReadReceipt({ className, render, ...props }: MessageItemReadReceiptProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
942
+ //#endregion
943
+ //#region src/components/message-item/message-reaction.d.ts
944
+ type MessageReactionChipProps = Omit<StyledProps<Toggle.Props>, "type">;
945
+ declare function MessageReactionChip({ className, ...props }: MessageReactionChipProps): import("react").JSX.Element;
946
+ type MessageReactionErrorIndicatorProps = useRender.ComponentProps<"span">;
947
+ declare function MessageReactionErrorIndicator({ className, render, ...props }: MessageReactionErrorIndicatorProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
948
+ type MessageReactionGlyphProps = useRender.ComponentProps<"span">;
949
+ declare function MessageReactionGlyph({ className, render, ...props }: MessageReactionGlyphProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
950
+ type MessageReactionCountProps = useRender.ComponentProps<"span">;
951
+ declare function MessageReactionCount({ children, className, render, ...props }: MessageReactionCountProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
952
+ type MessageReactionAddButtonProps = useRender.ComponentProps<"button">;
953
+ declare function MessageReactionAddButton({ className, render, ...props }: MessageReactionAddButtonProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
954
+ type MessageReactionQuickRowProps = useRender.ComponentProps<"div">;
955
+ declare function MessageReactionQuickRow({ className, render, ...props }: MessageReactionQuickRowProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
956
+ type MessageReactionQuickButtonProps = useRender.ComponentProps<"button">;
957
+ declare function MessageReactionQuickButton({ className, render, ...props }: MessageReactionQuickButtonProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
958
+ type MessageReactionPickerStaticProps = useRender.ComponentProps<"div">;
959
+ declare function MessageReactionPickerStatic({ className, render, ...props }: MessageReactionPickerStaticProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
960
+ type MessageReactionPickerContentProps = DropdownMenuContentProps;
961
+ declare function MessageReactionPickerContent({ className, ...props }: MessageReactionPickerContentProps): import("react").JSX.Element;
962
+ type MessageReactionTooltipContentProps = TooltipContentProps;
963
+ declare function MessageReactionTooltipContent({ className, ...props }: MessageReactionTooltipContentProps): import("react").JSX.Element;
964
+ type MessageReactionTooltipNamesProps = useRender.ComponentProps<"span">;
965
+ declare function MessageReactionTooltipNames({ className, render, ...props }: MessageReactionTooltipNamesProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
966
+ type MessageReactionTooltipNameProps = useRender.ComponentProps<"span">;
967
+ declare function MessageReactionTooltipName({ className, render, ...props }: MessageReactionTooltipNameProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
968
+ type MessageReactionTooltipNameTextProps = useRender.ComponentProps<"span">;
969
+ declare function MessageReactionTooltipNameText({ className, render, ...props }: MessageReactionTooltipNameTextProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
970
+ type MessageReactionTooltipSeparatorProps = useRender.ComponentProps<"span">;
971
+ declare function MessageReactionTooltipSeparator({ className, render, ...props }: MessageReactionTooltipSeparatorProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
972
+ type MessageReactionTooltipMetaProps = useRender.ComponentProps<"span">;
973
+ declare function MessageReactionTooltipMeta({ className, render, ...props }: MessageReactionTooltipMetaProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
974
+ //#endregion
975
+ //#region src/components/message-item/message-reference.recipe.d.ts
976
+ /** Chip variants the public `MessageReferenceChip` prop accepts. */
977
+ type MessageReferenceChipVariant = "accent" | "muted" | "info" | "link";
978
+ /** Visual variants the public `MessageReferenceText` prop accepts. */
979
+ type MessageReferenceTextVariant = "primary" | "secondary";
980
+ //#endregion
981
+ //#region src/components/message-item/message-reference.d.ts
982
+ type SpanProps$1 = useRender.ComponentProps<"span">;
983
+ type MessageReferenceTextProps = SpanProps$1 & {
984
+ variant?: MessageReferenceTextVariant;
985
+ };
986
+ declare function MessageReferenceText({ className, render, variant, ...props }: MessageReferenceTextProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
987
+ type MessageReferenceIndicatorProps = useRender.ComponentProps<"span">;
988
+ declare function MessageReferenceIndicator({ className, render, ...props }: MessageReferenceIndicatorProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
989
+ type MessageReferenceChipProps = SpanProps$1 & {
990
+ variant?: MessageReferenceChipVariant;
991
+ };
992
+ declare function MessageReferenceChip({ className, render, variant, ...props }: MessageReferenceChipProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
993
+ type MessageReferenceLabelProps = useRender.ComponentProps<"span">;
994
+ declare function MessageReferenceLabel({ className, render, ...props }: MessageReferenceLabelProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
995
+ type MessageReferencePendingProps = SpanProps$1;
996
+ declare function MessageReferencePending({ className, render, ...props }: MessageReferencePendingProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
997
+ type MessageReferenceUnavailableProps = SpanProps$1;
998
+ declare function MessageReferenceUnavailable({ className, render, ...props }: MessageReferenceUnavailableProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
999
+ //#endregion
1000
+ //#region src/components/message-item/message-multi-select.d.ts
1001
+ type MessageMultiSelectProps = useRender.ComponentProps<"div">;
1002
+ declare function MessageMultiSelect({ className, render, ...props }: MessageMultiSelectProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
1003
+ type MessageMultiSelectToolbarProps = useRender.ComponentProps<"div">;
1004
+ /** Shared select-mode toolbar shell. Consumers compose the count and actions as children. */
1005
+ declare function MessageMultiSelectToolbar({ className, render, ...props }: MessageMultiSelectToolbarProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
1006
+ type MessageMultiSelectCheckboxProps = CheckboxProps;
1007
+ declare function MessageMultiSelectCheckbox({ className, ...props }: MessageMultiSelectCheckboxProps): import("react").JSX.Element;
1008
+ //#endregion
1009
+ //#region src/components/message-item/message-text-selection-toolbar.d.ts
1010
+ type MessageTextSelectionToolbarProps = StyledProps<Toolbar.Root.Props>;
1011
+ declare function MessageTextSelectionToolbar({ className, ...props }: MessageTextSelectionToolbarProps): import("react").JSX.Element;
1012
+ type MessageTextSelectionToolbarButtonProps = StyledProps<Toolbar.Button.Props>;
1013
+ declare function MessageTextSelectionToolbarButton({ className, ...props }: MessageTextSelectionToolbarButtonProps): import("react").JSX.Element;
1014
+ type MessageTextSelectionToolbarSeparatorProps = StyledProps<Toolbar.Separator.Props>;
1015
+ declare function MessageTextSelectionToolbarSeparator({ className, ...props }: MessageTextSelectionToolbarSeparatorProps): import("react").JSX.Element;
1016
+ //#endregion
1017
+ //#region src/components/message-quoted-preview/message-quoted-preview.d.ts
1018
+ type DivProps = useRender.ComponentProps<"div">;
1019
+ type SpanProps = useRender.ComponentProps<"span">;
1020
+ type MessageQuotedPreviewProps = DivProps;
1021
+ declare function MessageQuotedPreview({ className, render, ...props }: MessageQuotedPreviewProps): import("react").JSX.Element;
1022
+ type MessageQuotedPreviewContentProps = DivProps;
1023
+ declare function MessageQuotedPreviewContent({ className, render, ...props }: MessageQuotedPreviewContentProps): import("react").JSX.Element;
1024
+ type MessageQuotedPreviewHeaderProps = DivProps;
1025
+ declare function MessageQuotedPreviewHeader({ className, render, ...props }: MessageQuotedPreviewHeaderProps): import("react").JSX.Element;
1026
+ type MessageQuotedPreviewChannelProps = SpanProps;
1027
+ declare function MessageQuotedPreviewChannel({ className, render, ...props }: MessageQuotedPreviewChannelProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
1028
+ type MessageQuotedPreviewThreadProps = SpanProps;
1029
+ declare function MessageQuotedPreviewThread({ className, render, ...props }: MessageQuotedPreviewThreadProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
1030
+ type MessageQuotedPreviewAuthorProps = SpanProps;
1031
+ declare function MessageQuotedPreviewAuthor({ className, render, ...props }: MessageQuotedPreviewAuthorProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
1032
+ type MessageQuotedPreviewAuthorNameProps = SpanProps;
1033
+ declare function MessageQuotedPreviewAuthorName({ className, render, ...props }: MessageQuotedPreviewAuthorNameProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
1034
+ type MessageQuotedPreviewAuthorMetaProps = SpanProps;
1035
+ declare function MessageQuotedPreviewAuthorMeta({ className, render, ...props }: MessageQuotedPreviewAuthorMetaProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
1036
+ type MessageQuotedPreviewAuthorDelegatedByProps = SpanProps;
1037
+ /**
1038
+ * "(sent by Friday)" after `MessageQuotedPreviewAuthorName`, when an assistant
1039
+ * sent the quoted message for its author. It never truncates; the author's
1040
+ * name gives way instead.
1041
+ */
1042
+ declare function MessageQuotedPreviewAuthorDelegatedBy({ className, render, ...props }: MessageQuotedPreviewAuthorDelegatedByProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
1043
+ type MessageQuotedPreviewTimestampProps = SpanProps;
1044
+ declare function MessageQuotedPreviewTimestamp({ className, render, ...props }: MessageQuotedPreviewTimestampProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
1045
+ type MessageQuotedPreviewTextProps = DivProps;
1046
+ declare function MessageQuotedPreviewText({ className, render, ...props }: MessageQuotedPreviewTextProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
1047
+ type MessageQuotedPreviewAttachmentsProps = DivProps;
1048
+ declare function MessageQuotedPreviewAttachments({ className, render, ...props }: MessageQuotedPreviewAttachmentsProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
1049
+ type MessageQuotedPreviewAttachmentProps = SpanProps;
1050
+ declare function MessageQuotedPreviewAttachment({ className, render, ...props }: MessageQuotedPreviewAttachmentProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
1051
+ type MessageQuotedPreviewLoadingProps = DivProps;
1052
+ declare function MessageQuotedPreviewLoading({ className, render, ...props }: MessageQuotedPreviewLoadingProps): import("react").JSX.Element;
1053
+ type MessageQuotedPreviewUnavailableProps = DivProps;
1054
+ declare function MessageQuotedPreviewUnavailable({ className, render, ...props }: MessageQuotedPreviewUnavailableProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
1055
+ //#endregion
1056
+ //#region src/components/message-list/message-list.d.ts
1057
+ type MessageListProps = useRender.ComponentProps<"div"> & {
1058
+ rootClassName?: string;
1059
+ };
1060
+ declare function MessageList({ children, className, render, rootClassName, style, ...props }: MessageListProps): import("react").JSX.Element;
1061
+ //#endregion
1062
+ //#region src/components/message-list/message-list-markers.d.ts
1063
+ type MessageListDateDividerProps = useRender.ComponentProps<"div">;
1064
+ declare function MessageListDateDivider({ children, className, render, ...props }: MessageListDateDividerProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
1065
+ type MessageListNoticeProps = useRender.ComponentProps<"div"> & {
1066
+ tone?: "faint" | "muted";
1067
+ };
1068
+ declare function MessageListNotice({ className, render, tone, ...props }: MessageListNoticeProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
1069
+ type MessageListHistoryLimitedProps = useRender.ComponentProps<"span">;
1070
+ declare function MessageListHistoryLimited({ className, render, ...props }: MessageListHistoryLimitedProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
1071
+ //#endregion
1072
+ //#region src/components/message-list/message-list-jump.d.ts
1073
+ type MessageListJumpControlsProps = useRender.ComponentProps<"div"> & {
1074
+ /** The edge of the list the controls float on. */
1075
+ side?: "bottom" | "top";
1076
+ };
1077
+ declare function MessageListJumpControls({ className, render, side, ...props }: MessageListJumpControlsProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
1078
+ type MessageListJumpPillProps = StyledProps<Button.Props> & DataAttributes;
1079
+ declare function MessageListJumpPill({ className, children, render, nativeButton, ...props }: MessageListJumpPillProps): import("react").JSX.Element;
1080
+ type MessageListJumpPillGroupProps = useRender.ComponentProps<"div">;
1081
+ /** A pill and its dismiss button, joined on one shared edge. */
1082
+ declare function MessageListJumpPillGroup({ className, render, ...props }: MessageListJumpPillGroupProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
1083
+ type MessageListJumpPillDismissProps = StyledProps<Button.Props> & DataAttributes & {
1084
+ /** What the button does, in Title Case: the product's words. */
1085
+ "aria-label": string;
1086
+ };
1087
+ declare function MessageListJumpPillDismiss({ className, children, render, nativeButton, ...props }: MessageListJumpPillDismissProps): import("react").JSX.Element;
1088
+ //#endregion
1089
+ export { MessageMultiSelect as $, MessageItemProps as $n, DropdownMenuSeparatorProps as $r, MessageItemBadgeStatus as $t, MessageQuotedPreviewChannel as A, DialogHeader as Ai, MessageItemTime as An, DropdownMenuContentProps as Ar, MessageReactionPickerContentProps as At, MessageQuotedPreviewTextProps as B, DialogSurfaceProps as Bi, MessageItemEmbedded as Bn, DropdownMenuLabelProps as Br, MessageReactionTooltipMetaProps as Bt, MessageQuotedPreviewAuthorDelegatedBy as C, DialogCloseProps as Ci, MessageItemSenderBadges as Cn, TooltipTriggerProps as Cr, MessageReactionCount as Ct, MessageQuotedPreviewAuthorName as D, DialogDescriptionProps as Di, MessageItemSenderGroup as Dn, DropdownMenuCheckboxItemIndicatorProps as Dr, MessageReactionGlyph as Dt, MessageQuotedPreviewAuthorMetaProps as E, DialogDescription as Ei, MessageItemSenderButtonProps as En, DropdownMenuCheckboxItemIndicator as Er, MessageReactionErrorIndicatorProps as Et, MessageQuotedPreviewHeaderProps as F, DialogOverlayProps as Fi, MessageItemBodyProps as Fn, DropdownMenuItemCountProps as Fr, MessageReactionQuickRow as Ft, MessageQuotedPreviewUnavailable as G, Button$1 as Gi, MessageItemSearchMatchProps as Gn, DropdownMenuProps as Gr, MessageReactionTooltipNames as Gt, MessageQuotedPreviewThreadProps as H, DialogTitleProps as Hi, MessageItemFooter as Hn, DropdownMenuPopupProps as Hr, MessageReactionTooltipNameProps as Ht, MessageQuotedPreviewLoading as I, DialogPortal as Ii, MessageItemContent as In, DropdownMenuItemLabel as Ir, MessageReactionQuickRowProps as It, MessageTextSelectionToolbarButton as J, VariantProps as Ji, MessageItemContinuationTime as Jn, DropdownMenuRadioItem as Jr, MessageReactionTooltipSeparatorProps as Jt, MessageQuotedPreviewUnavailableProps as K, ButtonProps as Ki, MessageItemAvatarSlot as Kn, DropdownMenuRadioGroup as Kr, MessageReactionTooltipNamesProps as Kt, MessageQuotedPreviewLoadingProps as L, DialogPortalProps as Li, MessageItemContentProps as Ln, DropdownMenuItemLabelProps as Lr, MessageReactionTooltipContent as Lt, MessageQuotedPreviewContent as M, DialogNav as Mi, MessageItemAttachments as Mn, DropdownMenuFooterProps as Mr, MessageReactionPickerStaticProps as Mt, MessageQuotedPreviewContentProps as N, DialogNavProps as Ni, MessageItemAttachmentsProps as Nn, DropdownMenuItem as Nr, MessageReactionQuickButton as Nt, MessageQuotedPreviewAuthorNameProps as O, DialogFooter as Oi, MessageItemSenderGroupProps as On, DropdownMenuCheckboxItemProps as Or, MessageReactionGlyphProps as Ot, MessageQuotedPreviewHeader as P, DialogOverlay as Pi, MessageItemBody as Pn, DropdownMenuItemCount as Pr, MessageReactionQuickButtonProps as Pt, MessageTextSelectionToolbarSeparatorProps as Q, MessageItem as Qn, DropdownMenuSeparator as Qr, MessageItemBadgeSeparatorProps as Qt, MessageQuotedPreviewProps as R, DialogProps as Ri, MessageItemEdited as Rn, DropdownMenuItemProps as Rr, MessageReactionTooltipContentProps as Rt, MessageQuotedPreviewAuthor as S, DialogClose as Si, MessageItemSender as Sn, TooltipTrigger as Sr, MessageReactionChipProps as St, MessageQuotedPreviewAuthorMeta as T, DialogContentProps as Ti, MessageItemSenderButton as Tn, DropdownMenuCheckboxItem as Tr, MessageReactionErrorIndicator as Tt, MessageQuotedPreviewTimestamp as U, DialogTrigger as Ui, MessageItemFooterProps as Un, DropdownMenuPortal as Ur, MessageReactionTooltipNameText as Ut, MessageQuotedPreviewThread as V, DialogTitle as Vi, MessageItemEmbeddedProps as Vn, DropdownMenuPopup as Vr, MessageReactionTooltipName as Vt, MessageQuotedPreviewTimestampProps as W, DialogTriggerProps as Wi, MessageItemSearchMatch as Wn, DropdownMenuPortalProps as Wr, MessageReactionTooltipNameTextProps as Wt, MessageTextSelectionToolbarProps as X, StyledProps as Xi, MessageItemGutter as Xn, DropdownMenuRadioItemIndicatorProps as Xr, MessageItemBadgeProps as Xt, MessageTextSelectionToolbarButtonProps as Y, DataAttributes as Yi, MessageItemContinuationTimeProps as Yn, DropdownMenuRadioItemIndicator as Yr, MessageItemBadge as Yt, MessageTextSelectionToolbarSeparator as Z, MessageItemGutterProps as Zn, DropdownMenuRadioItemProps as Zr, MessageItemBadgeSeparator as Zt, MessageQuotedPreview as _, CheckboxProps as _i, MessageItemHeaderProps as _n, TooltipPortal as _r, MessageReferenceChipVariant as _t, MessageListJumpPillDismissProps as a, DropdownMenuSubmenuTriggerProps as ai, MessageItemToolbarButton as an, AvatarFallbackProps as ar, MessageReferenceChip as at, MessageQuotedPreviewAttachments as b, DialogBody as bi, MessageItemMeta as bn, TooltipProvider as br, MessageReactionAddButtonProps as bt, MessageListJumpPillProps as c, Kbd as ci, MessageItemDelegatedAvatar as cn, AvatarGroupCountProps as cr, MessageReferenceIndicatorProps as ct, MessageListHistoryLimited as d, KbdProps as di, MessageItemDelegatedByButton as dn, AvatarImageProps as dr, MessageReferencePending as dt, DropdownMenuShortcut as ei, MessageItemReadReceipt as en, Avatar$1 as er, MessageMultiSelectCheckbox as et, MessageListHistoryLimitedProps as f, Badge as fi, MessageItemDelegatedByButtonProps as fn, AvatarProps as fr, MessageReferencePendingProps as ft, MessageListProps as g, Checkbox$1 as gi, MessageItemHeader as gn, TooltipContentProps as gr, MessageReferenceUnavailableProps as gt, MessageList as h, CheckboxIndicatorProps as hi, MessageItemDelegatedByProps as hn, TooltipContent as hr, MessageReferenceUnavailable as ht, MessageListJumpPillDismiss as i, DropdownMenuSubmenuTrigger as ii, MessageItemToolbar as in, AvatarFallback as ir, MessageMultiSelectToolbarProps as it, MessageQuotedPreviewChannelProps as j, DialogHeaderProps as ji, MessageItemTimeProps as jn, DropdownMenuFooter as jr, MessageReactionPickerStatic as jt, MessageQuotedPreviewAuthorProps as k, DialogFooterProps as ki, MessageItemSenderProps as kn, DropdownMenuContent as kr, MessageReactionPickerContent as kt, MessageListDateDivider as l, KbdGroup as li, MessageItemDelegatedAvatarProps as ln, AvatarGroupProps as lr, MessageReferenceLabel as lt, MessageListNoticeProps as m, CheckboxIndicator as mi, MessageItemDelegatedByNameProps as mn, Tooltip$1 as mr, MessageReferenceTextProps as mt, MessageListJumpControlsProps as n, DropdownMenuSubmenu as ni, MessageItemSavedIndicator as nn, AvatarBadgeOffset as nr, MessageMultiSelectProps as nt, MessageListJumpPillGroup as o, DropdownMenuTrigger as oi, MessageItemToolbarButtonProps as on, AvatarGroup as or, MessageReferenceChipProps as ot, MessageListNotice as p, BadgeProps as pi, MessageItemDelegatedByName as pn, AvatarSize as pr, MessageReferenceText as pt, MessageTextSelectionToolbar as q, buttonVariants as qi, MessageItemAvatarSlotProps as qn, DropdownMenuRadioGroupProps as qr, MessageReactionTooltipSeparator as qt, MessageListJumpPill as r, DropdownMenuSubmenuProps as ri, MessageItemSavedIndicatorProps as rn, AvatarBadgeProps as rr, MessageMultiSelectToolbar as rt, MessageListJumpPillGroupProps as s, DropdownMenuTriggerProps as si, MessageItemToolbarProps as sn, AvatarGroupCount as sr, MessageReferenceIndicator as st, MessageListJumpControls as t, DropdownMenuShortcutProps as ti, MessageItemReadReceiptProps as tn, AvatarBadge as tr, MessageMultiSelectCheckboxProps as tt, MessageListDateDividerProps as u, KbdGroupProps as ui, MessageItemDelegatedBy as un, AvatarImage as ur, MessageReferenceLabelProps as ut, MessageQuotedPreviewAttachment as v, Presence as vi, MessageItemInlineStatus as vn, TooltipPortalProps as vr, MessageReferenceTextVariant as vt, MessageQuotedPreviewAuthorDelegatedByProps as w, DialogContent as wi, MessageItemSenderBadgesProps as wn, DropdownMenu as wr, MessageReactionCountProps as wt, MessageQuotedPreviewAttachmentsProps as x, DialogBodyProps as xi, MessageItemMetaProps as xn, TooltipProviderProps as xr, MessageReactionChip as xt, MessageQuotedPreviewAttachmentProps as y, Dialog$1 as yi, MessageItemInlineStatusProps as yn, TooltipProps as yr, MessageReactionAddButton as yt, MessageQuotedPreviewText as z, DialogSurface as zi, MessageItemEditedProps as zn, DropdownMenuLabel as zr, MessageReactionTooltipMeta as zt };