@arbidocs/react 0.3.116 → 0.3.118

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.cts CHANGED
@@ -1,5 +1,5 @@
1
- import * as React from 'react';
2
- import React__default, { ReactNode } from 'react';
1
+ import * as React$1 from 'react';
2
+ import React__default, { ReactNode, ComponentType } from 'react';
3
3
  import { ArbiOptions, Arbi, SSEStreamResult, SSEStreamStartData, AgentStepEvent, ArtifactEvent } from '@arbidocs/sdk/browser';
4
4
  export { AgentStepEvent, Arbi, ArbiError, ArbiOptions, ArtifactEvent, CreateMemoryRequest, CreateTaskRequest, MemoryResponse, MemorySearchRequest, MemorySearchResponse, MessageMetadataPayload, OutputTokensDetails, ProjectInvoicesResponse, ProjectUsageResponse, QueryOptions, ResponseCompletedEvent, ResponseContentPartAddedEvent, ResponseCreatedEvent, ResponseFailedEvent, ResponseOutputItemAddedEvent, ResponseOutputItemDoneEvent, ResponseOutputTextDeltaEvent, ResponseOutputTextDoneEvent, ResponseUsage, SSEStreamCallbacks, SSEStreamResult, SSEStreamStartData, TaskResponse, UpdateTaskRequest, UserDailyUsageResponse, UserInputRequestEvent, UserMessageEvent, WorkspaceChronologyOut } from '@arbidocs/sdk/browser';
5
5
  import * as _arbidocs_client from '@arbidocs/client';
@@ -30,12 +30,14 @@ import * as SelectPrimitive from '@radix-ui/react-select';
30
30
  import { Components } from 'react-markdown';
31
31
  import * as lucide_react from 'lucide-react';
32
32
  import { LucideIcon, StickyNote } from 'lucide-react';
33
+ import { ToasterProps } from 'sonner';
34
+ export { ToasterProps, toast } from 'sonner';
33
35
  import { ClassValue } from 'clsx';
34
36
 
35
37
  interface ArbiProviderProps extends ArbiOptions {
36
38
  children: ReactNode;
37
39
  }
38
- declare function ArbiProvider({ children, ...options }: ArbiProviderProps): React.JSX.Element;
40
+ declare function ArbiProvider({ children, ...options }: ArbiProviderProps): React$1.JSX.Element;
39
41
 
40
42
  interface ArbiChatTheme {
41
43
  /** Primary action color — buttons, links (default: '#00adef' ARBI cyan) */
@@ -166,7 +168,7 @@ interface ArbiChatPanelProps {
166
168
  *
167
169
  * For a fully self-contained widget (its own providers + login), use {@link ArbiChat}.
168
170
  */
169
- declare function ArbiChatPanel({ workspaceId, theme: themeOverrides, labels: labelOverrides, width, height, }: ArbiChatPanelProps): React.JSX.Element;
171
+ declare function ArbiChatPanel({ workspaceId, theme: themeOverrides, labels: labelOverrides, width, height, }: ArbiChatPanelProps): React$1.JSX.Element;
170
172
  /**
171
173
  * Self-contained ARBI chat widget.
172
174
  *
@@ -179,10 +181,10 @@ declare function ArbiChatPanel({ workspaceId, theme: themeOverrides, labels: lab
179
181
  * <ArbiChat url="https://www.arbidocs.com" />
180
182
  * ```
181
183
  */
182
- declare function ArbiChat({ url, workspaceId, theme: themeOverrides, labels: labelOverrides, width, height, }: ArbiChatProps): React.JSX.Element;
184
+ declare function ArbiChat({ url, workspaceId, theme: themeOverrides, labels: labelOverrides, width, height, }: ArbiChatProps): React$1.JSX.Element;
183
185
 
184
186
  /** Animated typing indicator (three bouncing dots) */
185
- declare const TypingIndicator: React.NamedExoticComponent<object>;
187
+ declare const TypingIndicator: React$1.NamedExoticComponent<object>;
186
188
  interface ChatBubbleProps {
187
189
  message: string;
188
190
  timestamp: string;
@@ -203,7 +205,7 @@ interface ChatBubbleProps {
203
205
  */
204
206
  formatTimestamp?: (timestamp: string) => string;
205
207
  }
206
- declare const ChatBubble: React.NamedExoticComponent<ChatBubbleProps>;
208
+ declare const ChatBubble: React$1.NamedExoticComponent<ChatBubbleProps>;
207
209
 
208
210
  /**
209
211
  * Hook to access the Arbi instance from the nearest ArbiProvider.
@@ -220,7 +222,7 @@ interface ArbiWebSocketProviderProps {
220
222
  enabled?: boolean;
221
223
  children: ReactNode;
222
224
  }
223
- declare function ArbiWebSocketProvider({ enabled, children }: ArbiWebSocketProviderProps): React.JSX.Element;
225
+ declare function ArbiWebSocketProvider({ enabled, children }: ArbiWebSocketProviderProps): React$1.JSX.Element;
224
226
 
225
227
  type ArbiWsSubscriber = (msg: WebSocketServerMessage) => void;
226
228
  interface ArbiWsContextValue {
@@ -820,50 +822,50 @@ declare function useWorkspaceChronology(workspaceId: string | undefined, options
820
822
  */
821
823
  type Side = 'top' | 'bottom' | 'left' | 'right';
822
824
  interface TooltipProviderProps {
823
- children?: React.ReactNode;
825
+ children?: React$1.ReactNode;
824
826
  delayDuration?: number;
825
827
  skipDelayDuration?: number;
826
828
  disableHoverableContent?: boolean;
827
829
  }
828
- declare const TooltipProvider: ({ children }: TooltipProviderProps) => React.JSX.Element;
830
+ declare const TooltipProvider: ({ children }: TooltipProviderProps) => React$1.JSX.Element;
829
831
  interface TooltipProps {
830
- children: React.ReactNode;
832
+ children: React$1.ReactNode;
831
833
  delayDuration?: number;
832
834
  }
833
- declare function Tooltip({ children, delayDuration }: TooltipProps): React.JSX.Element;
834
- interface TooltipTriggerProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
835
+ declare function Tooltip({ children, delayDuration }: TooltipProps): React$1.JSX.Element;
836
+ interface TooltipTriggerProps extends React$1.ButtonHTMLAttributes<HTMLButtonElement> {
835
837
  asChild?: boolean;
836
838
  }
837
- declare function TooltipTrigger({ asChild, children, ...props }: TooltipTriggerProps): React.JSX.Element;
838
- interface TooltipContentProps extends React.HTMLAttributes<HTMLDivElement> {
839
+ declare function TooltipTrigger({ asChild, children, ...props }: TooltipTriggerProps): React$1.JSX.Element;
840
+ interface TooltipContentProps extends React$1.HTMLAttributes<HTMLDivElement> {
839
841
  side?: Side;
840
842
  sideOffset?: number;
841
843
  }
842
- declare const TooltipContent: React.ForwardRefExoticComponent<TooltipContentProps & React.RefAttributes<HTMLDivElement>>;
844
+ declare const TooltipContent: React$1.ForwardRefExoticComponent<TooltipContentProps & React$1.RefAttributes<HTMLDivElement>>;
843
845
 
844
- declare const Avatar: React.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarProps & React.RefAttributes<HTMLSpanElement>, "ref"> & React.RefAttributes<HTMLSpanElement>>;
845
- declare const AvatarImage: React.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarImageProps & React.RefAttributes<HTMLImageElement>, "ref"> & React.RefAttributes<HTMLImageElement>>;
846
- declare const AvatarFallback: React.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarFallbackProps & React.RefAttributes<HTMLSpanElement>, "ref"> & React.RefAttributes<HTMLSpanElement>>;
846
+ declare const Avatar: React$1.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarProps & React$1.RefAttributes<HTMLSpanElement>, "ref"> & React$1.RefAttributes<HTMLSpanElement>>;
847
+ declare const AvatarImage: React$1.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarImageProps & React$1.RefAttributes<HTMLImageElement>, "ref"> & React$1.RefAttributes<HTMLImageElement>>;
848
+ declare const AvatarFallback: React$1.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarFallbackProps & React$1.RefAttributes<HTMLSpanElement>, "ref"> & React$1.RefAttributes<HTMLSpanElement>>;
847
849
 
848
850
  declare const badgeVariants: (props?: ({
849
851
  variant?: "default" | "outline" | "accent" | "secondary" | "destructive" | null | undefined;
850
852
  } & class_variance_authority_types.ClassProp) | undefined) => string;
851
- interface BadgeProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof badgeVariants> {
853
+ interface BadgeProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProps<typeof badgeVariants> {
852
854
  }
853
- declare function Badge({ className, variant, ...props }: BadgeProps): React.JSX.Element;
855
+ declare function Badge({ className, variant, ...props }: BadgeProps): React$1.JSX.Element;
854
856
 
855
857
  declare const buttonVariants: (props?: ({
856
858
  variant?: "link" | "default" | "outline" | "accent" | "secondary" | "destructive" | "ghost" | null | undefined;
857
859
  size?: "default" | "icon" | "sm" | "lg" | null | undefined;
858
860
  } & class_variance_authority_types.ClassProp) | undefined) => string;
859
- interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
861
+ interface ButtonProps extends React$1.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
860
862
  asChild?: boolean;
861
863
  }
862
- declare const Button: React.ForwardRefExoticComponent<ButtonProps & React.RefAttributes<HTMLButtonElement>>;
864
+ declare const Button: React$1.ForwardRefExoticComponent<ButtonProps & React$1.RefAttributes<HTMLButtonElement>>;
863
865
 
864
- declare const HoverCard: React.FC<HoverCardPrimitive.HoverCardProps>;
865
- declare const HoverCardTrigger: React.ForwardRefExoticComponent<HoverCardPrimitive.HoverCardTriggerProps & React.RefAttributes<HTMLAnchorElement>>;
866
- declare const HoverCardContent: React.ForwardRefExoticComponent<Omit<HoverCardPrimitive.HoverCardContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
866
+ declare const HoverCard: React$1.FC<HoverCardPrimitive.HoverCardProps>;
867
+ declare const HoverCardTrigger: React$1.ForwardRefExoticComponent<HoverCardPrimitive.HoverCardTriggerProps & React$1.RefAttributes<HTMLAnchorElement>>;
868
+ declare const HoverCardContent: React$1.ForwardRefExoticComponent<Omit<HoverCardPrimitive.HoverCardContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
867
869
 
868
870
  /**
869
871
  * Clean-ARBI design contract rule 3: borderless by default; shadows
@@ -881,154 +883,154 @@ declare const HoverCardContent: React.ForwardRefExoticComponent<Omit<HoverCardPr
881
883
  declare const cardVariants: (props?: ({
882
884
  variant?: "flat" | "outline" | "elevated" | null | undefined;
883
885
  } & class_variance_authority_types.ClassProp) | undefined) => string;
884
- interface CardProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof cardVariants> {
886
+ interface CardProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProps<typeof cardVariants> {
885
887
  }
886
- declare const Card: React.ForwardRefExoticComponent<CardProps & React.RefAttributes<HTMLDivElement>>;
887
- declare const CardHeader: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
888
- declare const CardTitle: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
889
- declare const CardDescription: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
890
- declare const CardContent: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
891
- declare const CardFooter: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
888
+ declare const Card: React$1.ForwardRefExoticComponent<CardProps & React$1.RefAttributes<HTMLDivElement>>;
889
+ declare const CardHeader: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
890
+ declare const CardTitle: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
891
+ declare const CardDescription: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
892
+ declare const CardContent: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
893
+ declare const CardFooter: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
892
894
 
893
- declare const Input: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref"> & React.RefAttributes<HTMLInputElement>>;
895
+ declare const Input: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref"> & React$1.RefAttributes<HTMLInputElement>>;
894
896
 
895
- interface LabelProps extends React.LabelHTMLAttributes<HTMLLabelElement> {
897
+ interface LabelProps extends React$1.LabelHTMLAttributes<HTMLLabelElement> {
896
898
  className?: string;
897
899
  }
898
- declare const Label: React.ForwardRefExoticComponent<LabelProps & React.RefAttributes<HTMLLabelElement>>;
900
+ declare const Label: React$1.ForwardRefExoticComponent<LabelProps & React$1.RefAttributes<HTMLLabelElement>>;
899
901
 
900
- declare const Separator: React.ForwardRefExoticComponent<Omit<SeparatorPrimitive.SeparatorProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
902
+ declare const Separator: React$1.ForwardRefExoticComponent<Omit<SeparatorPrimitive.SeparatorProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
901
903
 
902
- declare const Textarea: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.TextareaHTMLAttributes<HTMLTextAreaElement>, HTMLTextAreaElement>, "ref"> & React.RefAttributes<HTMLTextAreaElement>>;
904
+ declare const Textarea: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.TextareaHTMLAttributes<HTMLTextAreaElement>, HTMLTextAreaElement>, "ref"> & React$1.RefAttributes<HTMLTextAreaElement>>;
903
905
 
904
- declare const Collapsible: React.ForwardRefExoticComponent<CollapsiblePrimitive.CollapsibleProps & React.RefAttributes<HTMLDivElement>>;
905
- declare const CollapsibleTrigger: React.ForwardRefExoticComponent<CollapsiblePrimitive.CollapsibleTriggerProps & React.RefAttributes<HTMLButtonElement>>;
906
- declare const CollapsibleContent: React.ForwardRefExoticComponent<CollapsiblePrimitive.CollapsibleContentProps & React.RefAttributes<HTMLDivElement>>;
906
+ declare const Collapsible: React$1.ForwardRefExoticComponent<CollapsiblePrimitive.CollapsibleProps & React$1.RefAttributes<HTMLDivElement>>;
907
+ declare const CollapsibleTrigger: React$1.ForwardRefExoticComponent<CollapsiblePrimitive.CollapsibleTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
908
+ declare const CollapsibleContent: React$1.ForwardRefExoticComponent<CollapsiblePrimitive.CollapsibleContentProps & React$1.RefAttributes<HTMLDivElement>>;
907
909
 
908
- declare const Progress: React.ForwardRefExoticComponent<Omit<ProgressPrimitive.ProgressProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
910
+ declare const Progress: React$1.ForwardRefExoticComponent<Omit<ProgressPrimitive.ProgressProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
909
911
 
910
- declare const ScrollArea: React.ForwardRefExoticComponent<Omit<ScrollAreaPrimitive.ScrollAreaProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
911
- declare const ScrollBar: React.ForwardRefExoticComponent<Omit<ScrollAreaPrimitive.ScrollAreaScrollbarProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
912
+ declare const ScrollArea: React$1.ForwardRefExoticComponent<Omit<ScrollAreaPrimitive.ScrollAreaProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
913
+ declare const ScrollBar: React$1.ForwardRefExoticComponent<Omit<ScrollAreaPrimitive.ScrollAreaScrollbarProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
912
914
 
913
- declare const RadioGroup: React.ForwardRefExoticComponent<Omit<RadioGroupPrimitive.RadioGroupProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
914
- declare const RadioGroupItem: React.ForwardRefExoticComponent<Omit<RadioGroupPrimitive.RadioGroupItemProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
915
+ declare const RadioGroup: React$1.ForwardRefExoticComponent<Omit<RadioGroupPrimitive.RadioGroupProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
916
+ declare const RadioGroupItem: React$1.ForwardRefExoticComponent<Omit<RadioGroupPrimitive.RadioGroupItemProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
915
917
 
916
- declare const Checkbox: React.ForwardRefExoticComponent<Omit<CheckboxPrimitive.CheckboxProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
918
+ declare const Checkbox: React$1.ForwardRefExoticComponent<Omit<CheckboxPrimitive.CheckboxProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
917
919
 
918
- declare const Switch: React.ForwardRefExoticComponent<Omit<SwitchPrimitives.SwitchProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
920
+ declare const Switch: React$1.ForwardRefExoticComponent<Omit<SwitchPrimitives.SwitchProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
919
921
 
920
- declare const Tabs: React.ForwardRefExoticComponent<TabsPrimitive.TabsProps & React.RefAttributes<HTMLDivElement>>;
921
- declare const TabsList: React.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsListProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
922
- declare const TabsTrigger: React.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsTriggerProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
923
- declare const TabsContent: React.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
922
+ declare const Tabs: React$1.ForwardRefExoticComponent<TabsPrimitive.TabsProps & React$1.RefAttributes<HTMLDivElement>>;
923
+ declare const TabsList: React$1.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsListProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
924
+ declare const TabsTrigger: React$1.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsTriggerProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
925
+ declare const TabsContent: React$1.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
924
926
 
925
- declare const Table: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLTableElement> & React.RefAttributes<HTMLTableElement>>;
926
- declare const TableHeader: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLTableSectionElement> & React.RefAttributes<HTMLTableSectionElement>>;
927
- declare const TableBody: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLTableSectionElement> & React.RefAttributes<HTMLTableSectionElement>>;
928
- declare const TableFooter: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLTableSectionElement> & React.RefAttributes<HTMLTableSectionElement>>;
929
- declare const TableRow: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLTableRowElement> & React.RefAttributes<HTMLTableRowElement>>;
930
- interface TableHeadProps extends React.ThHTMLAttributes<HTMLTableCellElement> {
927
+ declare const Table: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLTableElement> & React$1.RefAttributes<HTMLTableElement>>;
928
+ declare const TableHeader: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLTableSectionElement> & React$1.RefAttributes<HTMLTableSectionElement>>;
929
+ declare const TableBody: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLTableSectionElement> & React$1.RefAttributes<HTMLTableSectionElement>>;
930
+ declare const TableFooter: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLTableSectionElement> & React$1.RefAttributes<HTMLTableSectionElement>>;
931
+ declare const TableRow: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLTableRowElement> & React$1.RefAttributes<HTMLTableRowElement>>;
932
+ interface TableHeadProps extends React$1.ThHTMLAttributes<HTMLTableCellElement> {
931
933
  className?: string;
932
934
  }
933
- declare const TableHead: React.ForwardRefExoticComponent<TableHeadProps & React.RefAttributes<HTMLTableCellElement>>;
934
- interface TableCellProps extends React.TdHTMLAttributes<HTMLTableCellElement> {
935
+ declare const TableHead: React$1.ForwardRefExoticComponent<TableHeadProps & React$1.RefAttributes<HTMLTableCellElement>>;
936
+ interface TableCellProps extends React$1.TdHTMLAttributes<HTMLTableCellElement> {
935
937
  className?: string;
936
938
  }
937
- declare const TableCell: React.ForwardRefExoticComponent<TableCellProps & React.RefAttributes<HTMLTableCellElement>>;
938
- declare const TableCaption: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLTableCaptionElement> & React.RefAttributes<HTMLTableCaptionElement>>;
939
+ declare const TableCell: React$1.ForwardRefExoticComponent<TableCellProps & React$1.RefAttributes<HTMLTableCellElement>>;
940
+ declare const TableCaption: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLTableCaptionElement> & React$1.RefAttributes<HTMLTableCaptionElement>>;
939
941
 
940
- interface SliderProps extends React.ComponentPropsWithoutRef<typeof SliderPrimitive.Root> {
942
+ interface SliderProps extends React$1.ComponentPropsWithoutRef<typeof SliderPrimitive.Root> {
941
943
  rangeClassName?: string;
942
944
  }
943
- declare const Slider: React.ForwardRefExoticComponent<SliderProps & React.RefAttributes<HTMLSpanElement>>;
945
+ declare const Slider: React$1.ForwardRefExoticComponent<SliderProps & React$1.RefAttributes<HTMLSpanElement>>;
944
946
 
945
947
  declare const toggleVariants: (props?: ({
946
948
  variant?: "default" | "outline" | null | undefined;
947
949
  size?: "default" | "sm" | "lg" | null | undefined;
948
950
  } & class_variance_authority_types.ClassProp) | undefined) => string;
949
- declare const Toggle: React.ForwardRefExoticComponent<Omit<TogglePrimitive.ToggleProps & React.RefAttributes<HTMLButtonElement>, "ref"> & VariantProps<(props?: ({
951
+ declare const Toggle: React$1.ForwardRefExoticComponent<Omit<TogglePrimitive.ToggleProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & VariantProps<(props?: ({
950
952
  variant?: "default" | "outline" | null | undefined;
951
953
  size?: "default" | "sm" | "lg" | null | undefined;
952
- } & class_variance_authority_types.ClassProp) | undefined) => string> & React.RefAttributes<HTMLButtonElement>>;
954
+ } & class_variance_authority_types.ClassProp) | undefined) => string> & React$1.RefAttributes<HTMLButtonElement>>;
953
955
 
954
- declare const ToggleGroup: React.ForwardRefExoticComponent<((Omit<ToggleGroupPrimitive.ToggleGroupSingleProps & React.RefAttributes<HTMLDivElement>, "ref"> | Omit<ToggleGroupPrimitive.ToggleGroupMultipleProps & React.RefAttributes<HTMLDivElement>, "ref">) & VariantProps<(props?: ({
956
+ declare const ToggleGroup: React$1.ForwardRefExoticComponent<((Omit<ToggleGroupPrimitive.ToggleGroupSingleProps & React$1.RefAttributes<HTMLDivElement>, "ref"> | Omit<ToggleGroupPrimitive.ToggleGroupMultipleProps & React$1.RefAttributes<HTMLDivElement>, "ref">) & VariantProps<(props?: ({
955
957
  variant?: "default" | "outline" | null | undefined;
956
958
  size?: "default" | "sm" | "lg" | null | undefined;
957
- } & class_variance_authority_types.ClassProp) | undefined) => string>) & React.RefAttributes<HTMLDivElement>>;
958
- declare const ToggleGroupItem: React.ForwardRefExoticComponent<Omit<ToggleGroupPrimitive.ToggleGroupItemProps & React.RefAttributes<HTMLButtonElement>, "ref"> & VariantProps<(props?: ({
959
+ } & class_variance_authority_types.ClassProp) | undefined) => string>) & React$1.RefAttributes<HTMLDivElement>>;
960
+ declare const ToggleGroupItem: React$1.ForwardRefExoticComponent<Omit<ToggleGroupPrimitive.ToggleGroupItemProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & VariantProps<(props?: ({
959
961
  variant?: "default" | "outline" | null | undefined;
960
962
  size?: "default" | "sm" | "lg" | null | undefined;
961
- } & class_variance_authority_types.ClassProp) | undefined) => string> & React.RefAttributes<HTMLButtonElement>>;
962
-
963
- declare const Dialog: React.FC<DialogPrimitive.DialogProps>;
964
- declare const DialogTrigger: React.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & React.RefAttributes<HTMLButtonElement>>;
965
- declare const DialogPortal: React.FC<DialogPrimitive.DialogPortalProps>;
966
- declare const DialogClose: React.ForwardRefExoticComponent<DialogPrimitive.DialogCloseProps & React.RefAttributes<HTMLButtonElement>>;
967
- declare const DialogOverlay: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogOverlayProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
968
- declare const DialogContent: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
963
+ } & class_variance_authority_types.ClassProp) | undefined) => string> & React$1.RefAttributes<HTMLButtonElement>>;
964
+
965
+ declare const Dialog: React$1.FC<DialogPrimitive.DialogProps>;
966
+ declare const DialogTrigger: React$1.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
967
+ declare const DialogPortal: React$1.FC<DialogPrimitive.DialogPortalProps>;
968
+ declare const DialogClose: React$1.ForwardRefExoticComponent<DialogPrimitive.DialogCloseProps & React$1.RefAttributes<HTMLButtonElement>>;
969
+ declare const DialogOverlay: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogOverlayProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
970
+ declare const DialogContent: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
969
971
  hideCloseButton?: boolean;
970
- } & React.RefAttributes<HTMLDivElement>>;
972
+ } & React$1.RefAttributes<HTMLDivElement>>;
971
973
  declare const DialogHeader: {
972
- ({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): React.JSX.Element;
974
+ ({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): React$1.JSX.Element;
973
975
  displayName: string;
974
976
  };
975
977
  declare const DialogFooter: {
976
- ({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): React.JSX.Element;
978
+ ({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): React$1.JSX.Element;
977
979
  displayName: string;
978
980
  };
979
- declare const DialogTitle: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogTitleProps & React.RefAttributes<HTMLHeadingElement>, "ref"> & React.RefAttributes<HTMLHeadingElement>>;
980
- declare const DialogDescription: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogDescriptionProps & React.RefAttributes<HTMLParagraphElement>, "ref"> & React.RefAttributes<HTMLParagraphElement>>;
981
+ declare const DialogTitle: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogTitleProps & React$1.RefAttributes<HTMLHeadingElement>, "ref"> & React$1.RefAttributes<HTMLHeadingElement>>;
982
+ declare const DialogDescription: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogDescriptionProps & React$1.RefAttributes<HTMLParagraphElement>, "ref"> & React$1.RefAttributes<HTMLParagraphElement>>;
981
983
 
982
- declare const Popover: React.FC<PopoverPrimitive.PopoverProps>;
983
- declare const PopoverTrigger: React.ForwardRefExoticComponent<PopoverPrimitive.PopoverTriggerProps & React.RefAttributes<HTMLButtonElement>>;
984
- declare const PopoverAnchor: React.ForwardRefExoticComponent<PopoverPrimitive.PopoverAnchorProps & React.RefAttributes<HTMLDivElement>>;
985
- declare const PopoverContent: React.ForwardRefExoticComponent<Omit<PopoverPrimitive.PopoverContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
984
+ declare const Popover: React$1.FC<PopoverPrimitive.PopoverProps>;
985
+ declare const PopoverTrigger: React$1.ForwardRefExoticComponent<PopoverPrimitive.PopoverTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
986
+ declare const PopoverAnchor: React$1.ForwardRefExoticComponent<PopoverPrimitive.PopoverAnchorProps & React$1.RefAttributes<HTMLDivElement>>;
987
+ declare const PopoverContent: React$1.ForwardRefExoticComponent<Omit<PopoverPrimitive.PopoverContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
986
988
  container?: HTMLElement | null;
987
- } & React.RefAttributes<HTMLDivElement>>;
988
-
989
- declare const DropdownMenu: React.FC<DropdownMenuPrimitive.DropdownMenuProps>;
990
- declare const DropdownMenuTrigger: React.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuTriggerProps & React.RefAttributes<HTMLButtonElement>>;
991
- declare const DropdownMenuGroup: React.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuGroupProps & React.RefAttributes<HTMLDivElement>>;
992
- declare const DropdownMenuPortal: React.FC<DropdownMenuPrimitive.DropdownMenuPortalProps>;
993
- declare const DropdownMenuSub: React.FC<DropdownMenuPrimitive.DropdownMenuSubProps>;
994
- declare const DropdownMenuRadioGroup: React.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuRadioGroupProps & React.RefAttributes<HTMLDivElement>>;
995
- declare const DropdownMenuSubTrigger: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSubTriggerProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
989
+ } & React$1.RefAttributes<HTMLDivElement>>;
990
+
991
+ declare const DropdownMenu: React$1.FC<DropdownMenuPrimitive.DropdownMenuProps>;
992
+ declare const DropdownMenuTrigger: React$1.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
993
+ declare const DropdownMenuGroup: React$1.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuGroupProps & React$1.RefAttributes<HTMLDivElement>>;
994
+ declare const DropdownMenuPortal: React$1.FC<DropdownMenuPrimitive.DropdownMenuPortalProps>;
995
+ declare const DropdownMenuSub: React$1.FC<DropdownMenuPrimitive.DropdownMenuSubProps>;
996
+ declare const DropdownMenuRadioGroup: React$1.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuRadioGroupProps & React$1.RefAttributes<HTMLDivElement>>;
997
+ declare const DropdownMenuSubTrigger: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSubTriggerProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
996
998
  inset?: boolean;
997
- } & React.RefAttributes<HTMLDivElement>>;
998
- declare const DropdownMenuSubContent: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSubContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
999
- declare const DropdownMenuContent: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
1000
- declare const DropdownMenuItem: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
999
+ } & React$1.RefAttributes<HTMLDivElement>>;
1000
+ declare const DropdownMenuSubContent: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSubContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
1001
+ declare const DropdownMenuContent: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
1002
+ declare const DropdownMenuItem: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
1001
1003
  inset?: boolean;
1002
- } & React.RefAttributes<HTMLDivElement>>;
1003
- declare const DropdownMenuCheckboxItem: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuCheckboxItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
1004
- declare const DropdownMenuRadioItem: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuRadioItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
1005
- declare const DropdownMenuLabel: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuLabelProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
1004
+ } & React$1.RefAttributes<HTMLDivElement>>;
1005
+ declare const DropdownMenuCheckboxItem: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuCheckboxItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
1006
+ declare const DropdownMenuRadioItem: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuRadioItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
1007
+ declare const DropdownMenuLabel: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuLabelProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
1006
1008
  inset?: boolean;
1007
- } & React.RefAttributes<HTMLDivElement>>;
1008
- declare const DropdownMenuSeparator: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSeparatorProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
1009
+ } & React$1.RefAttributes<HTMLDivElement>>;
1010
+ declare const DropdownMenuSeparator: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSeparatorProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
1009
1011
  declare const DropdownMenuShortcut: {
1010
- ({ className, ...props }: React.HTMLAttributes<HTMLSpanElement>): React.JSX.Element;
1012
+ ({ className, ...props }: React$1.HTMLAttributes<HTMLSpanElement>): React$1.JSX.Element;
1011
1013
  displayName: string;
1012
1014
  };
1013
1015
 
1014
- declare const Select: React.FC<SelectPrimitive.SelectProps>;
1015
- declare const SelectGroup: React.ForwardRefExoticComponent<SelectPrimitive.SelectGroupProps & React.RefAttributes<HTMLDivElement>>;
1016
- declare const SelectValue: React.ForwardRefExoticComponent<SelectPrimitive.SelectValueProps & React.RefAttributes<HTMLSpanElement>>;
1017
- declare const SelectTrigger: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectTriggerProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
1018
- declare const SelectScrollUpButton: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectScrollUpButtonProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
1019
- declare const SelectScrollDownButton: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectScrollDownButtonProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
1020
- declare const SelectContent: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
1021
- declare const SelectLabel: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectLabelProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
1022
- declare const SelectItem: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
1023
- declare const SelectSeparator: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectSeparatorProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
1024
-
1025
- declare const Command: React.ForwardRefExoticComponent<Omit<{
1026
- children?: React.ReactNode;
1027
- } & Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
1028
- ref?: React.Ref<HTMLDivElement>;
1016
+ declare const Select: React$1.FC<SelectPrimitive.SelectProps>;
1017
+ declare const SelectGroup: React$1.ForwardRefExoticComponent<SelectPrimitive.SelectGroupProps & React$1.RefAttributes<HTMLDivElement>>;
1018
+ declare const SelectValue: React$1.ForwardRefExoticComponent<SelectPrimitive.SelectValueProps & React$1.RefAttributes<HTMLSpanElement>>;
1019
+ declare const SelectTrigger: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectTriggerProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
1020
+ declare const SelectScrollUpButton: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectScrollUpButtonProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
1021
+ declare const SelectScrollDownButton: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectScrollDownButtonProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
1022
+ declare const SelectContent: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
1023
+ declare const SelectLabel: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectLabelProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
1024
+ declare const SelectItem: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
1025
+ declare const SelectSeparator: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectSeparatorProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
1026
+
1027
+ declare const Command: React$1.ForwardRefExoticComponent<Omit<{
1028
+ children?: React$1.ReactNode;
1029
+ } & Pick<Pick<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React$1.HTMLAttributes<HTMLDivElement>> & {
1030
+ ref?: React$1.Ref<HTMLDivElement>;
1029
1031
  } & {
1030
1032
  asChild?: boolean;
1031
- }, "key" | "asChild" | keyof React.HTMLAttributes<HTMLDivElement>> & {
1033
+ }, "key" | "asChild" | keyof React$1.HTMLAttributes<HTMLDivElement>> & {
1032
1034
  label?: string;
1033
1035
  shouldFilter?: boolean;
1034
1036
  filter?: (value: string, search: string, keywords?: string[]) => number;
@@ -1038,65 +1040,65 @@ declare const Command: React.ForwardRefExoticComponent<Omit<{
1038
1040
  loop?: boolean;
1039
1041
  disablePointerSelection?: boolean;
1040
1042
  vimBindings?: boolean;
1041
- } & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
1042
- declare const CommandDialog: ({ children, ...props }: DialogProps) => React.JSX.Element;
1043
- declare const CommandInput: React.ForwardRefExoticComponent<Omit<Omit<Pick<Pick<React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "key" | keyof React.InputHTMLAttributes<HTMLInputElement>> & {
1044
- ref?: React.Ref<HTMLInputElement>;
1043
+ } & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
1044
+ declare const CommandDialog: ({ children, ...props }: DialogProps) => React$1.JSX.Element;
1045
+ declare const CommandInput: React$1.ForwardRefExoticComponent<Omit<Omit<Pick<Pick<React$1.DetailedHTMLProps<React$1.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "key" | keyof React$1.InputHTMLAttributes<HTMLInputElement>> & {
1046
+ ref?: React$1.Ref<HTMLInputElement>;
1045
1047
  } & {
1046
1048
  asChild?: boolean;
1047
- }, "key" | "asChild" | keyof React.InputHTMLAttributes<HTMLInputElement>>, "value" | "type" | "onChange"> & {
1049
+ }, "key" | "asChild" | keyof React$1.InputHTMLAttributes<HTMLInputElement>>, "value" | "type" | "onChange"> & {
1048
1050
  value?: string;
1049
1051
  onValueChange?: (search: string) => void;
1050
- } & React.RefAttributes<HTMLInputElement>, "ref"> & React.RefAttributes<HTMLInputElement>>;
1051
- declare const CommandList: React.ForwardRefExoticComponent<Omit<{
1052
- children?: React.ReactNode;
1053
- } & Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
1054
- ref?: React.Ref<HTMLDivElement>;
1052
+ } & React$1.RefAttributes<HTMLInputElement>, "ref"> & React$1.RefAttributes<HTMLInputElement>>;
1053
+ declare const CommandList: React$1.ForwardRefExoticComponent<Omit<{
1054
+ children?: React$1.ReactNode;
1055
+ } & Pick<Pick<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React$1.HTMLAttributes<HTMLDivElement>> & {
1056
+ ref?: React$1.Ref<HTMLDivElement>;
1055
1057
  } & {
1056
1058
  asChild?: boolean;
1057
- }, "key" | "asChild" | keyof React.HTMLAttributes<HTMLDivElement>> & {
1059
+ }, "key" | "asChild" | keyof React$1.HTMLAttributes<HTMLDivElement>> & {
1058
1060
  label?: string;
1059
- } & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
1060
- declare const CommandEmpty: React.ForwardRefExoticComponent<Omit<{
1061
- children?: React.ReactNode;
1062
- } & Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
1063
- ref?: React.Ref<HTMLDivElement>;
1061
+ } & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
1062
+ declare const CommandEmpty: React$1.ForwardRefExoticComponent<Omit<{
1063
+ children?: React$1.ReactNode;
1064
+ } & Pick<Pick<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React$1.HTMLAttributes<HTMLDivElement>> & {
1065
+ ref?: React$1.Ref<HTMLDivElement>;
1064
1066
  } & {
1065
1067
  asChild?: boolean;
1066
- }, "key" | "asChild" | keyof React.HTMLAttributes<HTMLDivElement>> & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
1067
- declare const CommandGroup: React.ForwardRefExoticComponent<Omit<{
1068
- children?: React.ReactNode;
1069
- } & Omit<Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
1070
- ref?: React.Ref<HTMLDivElement>;
1068
+ }, "key" | "asChild" | keyof React$1.HTMLAttributes<HTMLDivElement>> & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
1069
+ declare const CommandGroup: React$1.ForwardRefExoticComponent<Omit<{
1070
+ children?: React$1.ReactNode;
1071
+ } & Omit<Pick<Pick<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React$1.HTMLAttributes<HTMLDivElement>> & {
1072
+ ref?: React$1.Ref<HTMLDivElement>;
1071
1073
  } & {
1072
1074
  asChild?: boolean;
1073
- }, "key" | "asChild" | keyof React.HTMLAttributes<HTMLDivElement>>, "value" | "heading"> & {
1074
- heading?: React.ReactNode;
1075
+ }, "key" | "asChild" | keyof React$1.HTMLAttributes<HTMLDivElement>>, "value" | "heading"> & {
1076
+ heading?: React$1.ReactNode;
1075
1077
  value?: string;
1076
1078
  forceMount?: boolean;
1077
- } & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
1078
- declare const CommandSeparator: React.ForwardRefExoticComponent<Omit<Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
1079
- ref?: React.Ref<HTMLDivElement>;
1079
+ } & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
1080
+ declare const CommandSeparator: React$1.ForwardRefExoticComponent<Omit<Pick<Pick<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React$1.HTMLAttributes<HTMLDivElement>> & {
1081
+ ref?: React$1.Ref<HTMLDivElement>;
1080
1082
  } & {
1081
1083
  asChild?: boolean;
1082
- }, "key" | "asChild" | keyof React.HTMLAttributes<HTMLDivElement>> & {
1084
+ }, "key" | "asChild" | keyof React$1.HTMLAttributes<HTMLDivElement>> & {
1083
1085
  alwaysRender?: boolean;
1084
- } & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
1085
- declare const CommandItem: React.ForwardRefExoticComponent<Omit<{
1086
- children?: React.ReactNode;
1087
- } & Omit<Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
1088
- ref?: React.Ref<HTMLDivElement>;
1086
+ } & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
1087
+ declare const CommandItem: React$1.ForwardRefExoticComponent<Omit<{
1088
+ children?: React$1.ReactNode;
1089
+ } & Omit<Pick<Pick<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React$1.HTMLAttributes<HTMLDivElement>> & {
1090
+ ref?: React$1.Ref<HTMLDivElement>;
1089
1091
  } & {
1090
1092
  asChild?: boolean;
1091
- }, "key" | "asChild" | keyof React.HTMLAttributes<HTMLDivElement>>, "value" | "disabled" | "onSelect"> & {
1093
+ }, "key" | "asChild" | keyof React$1.HTMLAttributes<HTMLDivElement>>, "value" | "disabled" | "onSelect"> & {
1092
1094
  disabled?: boolean;
1093
1095
  onSelect?: (value: string) => void;
1094
1096
  value?: string;
1095
1097
  keywords?: string[];
1096
1098
  forceMount?: boolean;
1097
- } & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
1099
+ } & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
1098
1100
  declare const CommandShortcut: {
1099
- ({ className, ...props }: React.HTMLAttributes<HTMLSpanElement>): React.JSX.Element;
1101
+ ({ className, ...props }: React$1.HTMLAttributes<HTMLSpanElement>): React$1.JSX.Element;
1100
1102
  displayName: string;
1101
1103
  };
1102
1104
 
@@ -1253,7 +1255,7 @@ declare function textToArtifact(title: string, content: string, opts?: {
1253
1255
  declare function AiMarkdown({ children, className }: {
1254
1256
  children: string;
1255
1257
  className?: string;
1256
- }): React.JSX.Element;
1258
+ }): React$1.JSX.Element;
1257
1259
 
1258
1260
  /**
1259
1261
  * Brand-neutral presentational component overrides for react-markdown, shared by
@@ -1285,7 +1287,7 @@ declare function AiAnswer({ status, text, stepCount, error, className, emptyHint
1285
1287
  groundedNote?: string;
1286
1288
  runningHint?: string;
1287
1289
  testId?: string;
1288
- }): React.JSX.Element | null;
1290
+ }): React$1.JSX.Element | null;
1289
1291
 
1290
1292
  /**
1291
1293
  * A self-contained one-click agentic workflow: title + description + a Run button
@@ -1303,7 +1305,7 @@ declare function AiActionCard({ icon: Icon, title, description, prompt, docIds,
1303
1305
  noDocsHint?: string;
1304
1306
  disabled?: boolean;
1305
1307
  testId?: string;
1306
- }): React.JSX.Element;
1308
+ }): React$1.JSX.Element;
1307
1309
 
1308
1310
  /**
1309
1311
  * The artifacts canvas — renders agent-produced documents (drafts, redlines,
@@ -1328,7 +1330,7 @@ declare function ArtifactCanvas({ artifacts, className, emptyHint, busy, busyHin
1328
1330
  busyHint?: string;
1329
1331
  /** Agent steps completed so far, surfaced in the working state when > 0. */
1330
1332
  stepCount?: number;
1331
- }): React.JSX.Element;
1333
+ }): React$1.JSX.Element;
1332
1334
 
1333
1335
  /**
1334
1336
  * The minimal artifact shape this card renders. A structural subset of the
@@ -1371,7 +1373,7 @@ declare function DocSearch({ docIds, onOpenDoc, placeholder, className, }: {
1371
1373
  onOpenDoc?: (docId: string) => void;
1372
1374
  placeholder?: string;
1373
1375
  className?: string;
1374
- }): React.JSX.Element;
1376
+ }): React$1.JSX.Element;
1375
1377
 
1376
1378
  /**
1377
1379
  * Ask questions grounded in a SINGLE document (docId scoped to one file), plus a
@@ -1380,7 +1382,7 @@ declare function DocSearch({ docIds, onOpenDoc, placeholder, className, }: {
1380
1382
  declare function DocQaPanel({ docId, docName }: {
1381
1383
  docId: string;
1382
1384
  docName?: string;
1383
- }): React.JSX.Element;
1385
+ }): React$1.JSX.Element;
1384
1386
 
1385
1387
  type Chunk = components['schemas']['Chunk'];
1386
1388
  interface ToolResponses {
@@ -1627,7 +1629,7 @@ declare function ProviderIcon({ modelName, provider, size, className, }: {
1627
1629
  provider?: string | null;
1628
1630
  size?: number;
1629
1631
  className?: string;
1630
- }): React.JSX.Element;
1632
+ }): React$1.JSX.Element;
1631
1633
 
1632
1634
  /**
1633
1635
  * ARBI Icon Component. Promoted from the ARBI app for SDK reuse.
@@ -2335,7 +2337,396 @@ interface ActivityFeedProps {
2335
2337
  * Renders the activity feed. Handles its own loading/empty/error states so a
2336
2338
  * consumer can place it directly (e.g. inside a dashboard card).
2337
2339
  */
2338
- declare function ActivityFeed({ limit, className, emptyLabel, enabled, 'data-testid': testId, }: ActivityFeedProps): React.JSX.Element;
2340
+ declare function ActivityFeed({ limit, className, emptyLabel, enabled, 'data-testid': testId, }: ActivityFeedProps): React$1.JSX.Element;
2341
+
2342
+ type NotifyVariant = 'success' | 'error' | 'info' | 'warning';
2343
+ interface AppNotification {
2344
+ id: string;
2345
+ title: string;
2346
+ description?: string;
2347
+ variant: NotifyVariant;
2348
+ /** Epoch ms the entry was recorded. */
2349
+ ts: number;
2350
+ read: boolean;
2351
+ /** Optional in-app link the entry deep-links to (passed to the bell's onNavigate). */
2352
+ href?: string;
2353
+ }
2354
+ interface NotifyOptions {
2355
+ description?: string;
2356
+ /** Also record a persistent notification-centre entry (default true). */
2357
+ record?: boolean;
2358
+ href?: string;
2359
+ duration?: number;
2360
+ /** A toast action button (sonner). */
2361
+ action?: {
2362
+ label: ReactNode;
2363
+ onClick: () => void;
2364
+ };
2365
+ /** Override the toast glyph (sonner). */
2366
+ icon?: ReactNode;
2367
+ }
2368
+ interface NotifyState {
2369
+ notifications: AppNotification[];
2370
+ markRead: (id: string) => void;
2371
+ markAllRead: () => void;
2372
+ removeNotification: (id: string) => void;
2373
+ clearNotifications: () => void;
2374
+ /** Replace the centre's history (e.g. seed a demo/initial set). */
2375
+ seed: (items: AppNotification[]) => void;
2376
+ /** Record a centre entry (used by `notify.*`; sonner renders the toast). */
2377
+ record: (note: AppNotification) => void;
2378
+ }
2379
+ declare const useNotify: zustand.UseBoundStore<zustand.StoreApi<NotifyState>>;
2380
+ declare const notify: {
2381
+ success: (title: string, opts?: NotifyOptions) => string;
2382
+ error: (title: string, opts?: NotifyOptions) => string;
2383
+ info: (title: string, opts?: NotifyOptions) => string;
2384
+ warning: (title: string, opts?: NotifyOptions) => string;
2385
+ };
2386
+ /** Replace the notification centre's history — inject a seed/initial set. */
2387
+ declare function seedNotifications(items: AppNotification[]): void;
2388
+ /** Unread count selector for the topbar bell. */
2389
+ declare const selectUnread: (s: NotifyState) => number;
2390
+ /** Default glyph colour per variant (raw palette, override via `toneClassNames`). */
2391
+ declare const DEFAULT_NOTIFY_TONE: Record<NotifyVariant, string>;
2392
+
2393
+ interface NotificationBellProps {
2394
+ /** Called with an entry's `href` when it's clicked (e.g. router navigate). */
2395
+ onNavigate?: (href: string) => void;
2396
+ /** Override per-variant glyph colours (e.g. brand emerald for success). */
2397
+ toneClassNames?: Partial<Record<NotifyVariant, string>>;
2398
+ emptyText?: string;
2399
+ testId?: string;
2400
+ }
2401
+ declare function NotificationBell({ onNavigate, toneClassNames, emptyText, testId, }: NotificationBellProps): React$1.JSX.Element;
2402
+
2403
+ declare function Toaster({ toastOptions, ...props }: ToasterProps): React$1.JSX.Element;
2404
+
2405
+ /**
2406
+ * Direct-message view types.
2407
+ *
2408
+ * These are the app-facing shapes derived from the raw, already-decrypted
2409
+ * `NotificationResponse` rows the SDK returns. The kit groups a flat DM list
2410
+ * into per-peer conversations so the UI never touches notifications directly.
2411
+ */
2412
+
2413
+ type DmUser = components['schemas']['UserResponse'];
2414
+ type DmNotification = components['schemas']['NotificationResponse'];
2415
+ /** One decrypted message within a 1:1 thread. */
2416
+ interface DmMessage {
2417
+ externalId: string;
2418
+ /** Decrypted plaintext (or `[Decryption failed]` when the ciphertext can't be opened). */
2419
+ body: string;
2420
+ createdAt: string;
2421
+ /** True when the current user sent this message. */
2422
+ isMine: boolean;
2423
+ /** Whether the recipient has read it (read receipt). */
2424
+ read: boolean;
2425
+ sender: DmUser;
2426
+ recipient: DmUser;
2427
+ }
2428
+ /**
2429
+ * Per-slot class overrides. The kit ships a complete semantic-token look; a
2430
+ * consumer pins its brand accent (e.g. clarum's emerald) in one place by
2431
+ * overriding the relevant slots rather than restyling per screen.
2432
+ */
2433
+ interface DmClassNames {
2434
+ /** The current user's own message bubble. Default: soft `accent`. */
2435
+ ownBubble?: string;
2436
+ /** A peer's message bubble. Default: bordered `card`. */
2437
+ peerBubble?: string;
2438
+ /** The unread-count pill on a conversation row. Default: `primary`. */
2439
+ unreadBadge?: string;
2440
+ /** The composer's send button. */
2441
+ sendButton?: string;
2442
+ }
2443
+ /** A 1:1 conversation with a single peer, newest activity last. */
2444
+ interface DmConversation {
2445
+ /** The other party in the thread. */
2446
+ peer: DmUser;
2447
+ /** Messages in ascending time order. */
2448
+ messages: DmMessage[];
2449
+ /** The most recent message (convenience). */
2450
+ lastMessage: DmMessage;
2451
+ /** Count of messages addressed to me that are still unread. */
2452
+ unreadCount: number;
2453
+ }
2454
+
2455
+ interface DirectMessagesProps {
2456
+ /** Extra classes for the outer card (e.g. a page-specific height). */
2457
+ className?: string;
2458
+ /** Per-slot brand overrides (own bubble, unread pill, send button…). */
2459
+ classNames?: DmClassNames;
2460
+ /** Rendered in the thread pane when no conversation is selected. */
2461
+ emptyThread?: React.ReactNode;
2462
+ /** Rendered in the rail when there are no conversations. */
2463
+ emptyList?: React.ReactNode;
2464
+ }
2465
+ declare function DirectMessages({ className, classNames, emptyThread, emptyList, }: DirectMessagesProps): React$1.JSX.Element;
2466
+
2467
+ interface ConversationListProps {
2468
+ conversations: DmConversation[];
2469
+ selectedPeerId: string | null;
2470
+ onSelect: (peerId: string) => void;
2471
+ classNames?: Pick<DmClassNames, 'unreadBadge'>;
2472
+ /** Rendered when there are no conversations. */
2473
+ emptyState?: React.ReactNode;
2474
+ }
2475
+ declare function ConversationList({ conversations, selectedPeerId, onSelect, classNames, emptyState, }: ConversationListProps): React$1.JSX.Element;
2476
+
2477
+ interface MessageThreadProps {
2478
+ conversation: DmConversation | null;
2479
+ classNames?: Pick<DmClassNames, 'ownBubble' | 'peerBubble'>;
2480
+ emptyState?: React.ReactNode;
2481
+ }
2482
+ declare function MessageThread({ conversation, classNames, emptyState }: MessageThreadProps): React$1.JSX.Element;
2483
+
2484
+ interface MessageBubbleProps {
2485
+ message: DmMessage;
2486
+ classNames?: Pick<DmClassNames, 'ownBubble' | 'peerBubble'>;
2487
+ }
2488
+ declare function MessageBubble({ message, classNames }: MessageBubbleProps): React$1.JSX.Element;
2489
+
2490
+ interface DmComposerProps {
2491
+ /** Placeholder, e.g. "Message Eleanor…". */
2492
+ placeholder?: string;
2493
+ disabled?: boolean;
2494
+ /** Called with the trimmed text when the user sends. */
2495
+ onSend: (text: string) => void;
2496
+ classNames?: Pick<DmClassNames, 'sendButton'>;
2497
+ }
2498
+ declare function DmComposer({ placeholder, disabled, onSend, classNames }: DmComposerProps): React$1.JSX.Element;
2499
+
2500
+ interface DmAvatarProps {
2501
+ user: DmUser;
2502
+ className?: string;
2503
+ }
2504
+ declare function DmAvatar({ user, className }: DmAvatarProps): React$1.JSX.Element;
2505
+
2506
+ /**
2507
+ * useDirectMessages — the data layer for the DM block kit.
2508
+ *
2509
+ * Sits entirely on top of the SDK's encrypted-by-default `arbi.dm` surface:
2510
+ * it never touches `/v1/notifications` or crypto directly. It lists decrypted
2511
+ * DMs, groups them into per-peer conversations, refreshes live over the shared
2512
+ * WebSocket, and exposes send / mark-read mutations.
2513
+ *
2514
+ * Requires an <ArbiWebSocketProvider> above it for live updates (standard in
2515
+ * the ARBI provider stack).
2516
+ */
2517
+
2518
+ interface UseDirectMessagesResult {
2519
+ /** Per-peer conversations, most recently active first. */
2520
+ conversations: DmConversation[];
2521
+ /** The current user's external_id (for ownership checks), or null if unknown. */
2522
+ myExtId: string | null;
2523
+ isLoading: boolean;
2524
+ isError: boolean;
2525
+ error: unknown;
2526
+ refetch: () => void;
2527
+ /** Send a message to a known peer (extId + public key from a conversation). */
2528
+ sendMessage: (recipientExtId: string, recipientPublicKey: string, text: string) => Promise<unknown>;
2529
+ /** Send by email / external_id, resolving the recipient's key internally. */
2530
+ sendMessageTo: (recipient: string, text: string) => Promise<unknown>;
2531
+ isSending: boolean;
2532
+ /** Mark the given message ids as read. */
2533
+ markRead: (messageIds: string[]) => Promise<unknown>;
2534
+ }
2535
+ declare function useDirectMessages(options?: {
2536
+ enabled?: boolean;
2537
+ }): UseDirectMessagesResult;
2538
+
2539
+ /** Small presentation helpers for the DM kit. */
2540
+
2541
+ /** Initials from a user's name (falls back to the email local-part). */
2542
+ declare function userInitials(user: Pick<DmUser, 'given_name' | 'family_name' | 'email'>): string;
2543
+ /** Full display name (falls back to the email local-part). */
2544
+ declare function userDisplayName(user: Pick<DmUser, 'given_name' | 'family_name' | 'email'>): string;
2545
+ /** Compact relative time, e.g. "2 hours ago", "just now". */
2546
+ declare function formatRelativeTime(iso: string): string;
2547
+
2548
+ /**
2549
+ * Crop a region of an image to a canvas and export it — the shared engine
2550
+ * behind every "frame this image" surface (avatars, builder image fields, …).
2551
+ *
2552
+ * `area` is the pixel rectangle react-easy-crop reports (`onCropComplete`'s
2553
+ * second arg). Output is rectangular (a round crop is a UI overlay only — JPEG
2554
+ * has no alpha), optionally downscaled so the longest edge fits `maxSize`.
2555
+ */
2556
+ /** Pixel crop rectangle in the source image's natural coordinates. */
2557
+ interface CropArea {
2558
+ x: number;
2559
+ y: number;
2560
+ width: number;
2561
+ height: number;
2562
+ }
2563
+ interface CropOutput {
2564
+ /** Cap the longest output edge to this many px (preserves aspect). Omit = native crop size. */
2565
+ maxSize?: number;
2566
+ /** Output MIME type. Default `image/jpeg`. */
2567
+ mimeType?: string;
2568
+ /** Quality for lossy formats, 0..1. Default 0.9. */
2569
+ quality?: number;
2570
+ /** Background painted before the crop (JPEG has no alpha). Default `#ffffff`. */
2571
+ background?: string;
2572
+ }
2573
+ interface CropResult {
2574
+ dataUrl: string;
2575
+ blob: Blob;
2576
+ width: number;
2577
+ height: number;
2578
+ }
2579
+ declare function cropImage(imageSrc: string, area: CropArea, output?: CropOutput): Promise<CropResult>;
2580
+
2581
+ /** A selectable aspect ratio (width / height). */
2582
+ interface AspectOption {
2583
+ label: string;
2584
+ value: number;
2585
+ }
2586
+ /** A sensible default ratio set (square, landscape, portrait, wide, tall). */
2587
+ declare const DEFAULT_ASPECT_OPTIONS: AspectOption[];
2588
+ interface ImageCropperProps {
2589
+ image: string;
2590
+ /** Fixed aspect ratio (w/h). Default 1. Ignored once the user picks from `aspectOptions`. */
2591
+ aspect?: number;
2592
+ /** Show a ratio picker with these options (first is the initial selection). */
2593
+ aspectOptions?: AspectOption[];
2594
+ cropShape?: 'rect' | 'round';
2595
+ minZoom?: number;
2596
+ maxZoom?: number;
2597
+ className?: string;
2598
+ /** The crop rectangle (source pixels) + the active aspect, on every change. */
2599
+ onCropComplete?: (area: CropArea, aspect: number) => void;
2600
+ }
2601
+ declare function ImageCropper({ image, aspect, aspectOptions, cropShape, minZoom, maxZoom, className, onCropComplete, }: ImageCropperProps): React$1.JSX.Element;
2602
+
2603
+ interface ImageCropModalProps {
2604
+ open: boolean;
2605
+ image: string | null;
2606
+ title?: string;
2607
+ saveLabel?: string;
2608
+ aspect?: number;
2609
+ aspectOptions?: AspectOption[];
2610
+ cropShape?: 'rect' | 'round';
2611
+ /** Export options (max size, mime, quality). */
2612
+ output?: CropOutput;
2613
+ /** Called with the exported crop on save. */
2614
+ onComplete: (result: CropResult) => void | Promise<void>;
2615
+ onCancel: () => void;
2616
+ }
2617
+ declare function ImageCropModal({ open, image, title, saveLabel, aspect, aspectOptions, cropShape, output, onComplete, onCancel, }: ImageCropModalProps): React$1.JSX.Element;
2618
+
2619
+ /** A destination the palette can jump to (an app nav entry). */
2620
+ interface PaletteNavItem {
2621
+ /** Stable id (used for the row testid). */
2622
+ id: string;
2623
+ /** Human label shown in the row and matched against the query. */
2624
+ label: string;
2625
+ /** Where selecting this item navigates (passed back to `onNavigate`). */
2626
+ to: string;
2627
+ /** Optional leading glyph. */
2628
+ icon?: ComponentType<{
2629
+ className?: string;
2630
+ }>;
2631
+ /** Extra words to match against (aliases), beyond the label. */
2632
+ keywords?: string;
2633
+ }
2634
+ /** Per-slot class overrides so a firm can re-skin the palette without forking it. */
2635
+ interface CommandPaletteClassNames {
2636
+ dialog?: string;
2637
+ input?: string;
2638
+ /** The leading sparkle glyph in the input row. */
2639
+ leadingIcon?: string;
2640
+ /** The "Ask AI: …" primary action row. */
2641
+ askAction?: string;
2642
+ /** The little square icon chip inside the ask row. */
2643
+ askChip?: string;
2644
+ /** A navigation result row. */
2645
+ navItem?: string;
2646
+ }
2647
+
2648
+ interface CommandPaletteProps {
2649
+ open: boolean;
2650
+ onOpenChange: (open: boolean) => void;
2651
+ /** Destinations the palette can filter and jump to. */
2652
+ navItems: PaletteNavItem[];
2653
+ /** Invoked with an item's `to` when a nav result is chosen. */
2654
+ onNavigate: (to: string) => void;
2655
+ /** Turn the raw query into the grounded AI prompt (default: identity). */
2656
+ buildAskPrompt?: (query: string) => string;
2657
+ /** Document ids the AI answer is grounded on. */
2658
+ askDocIds?: string[];
2659
+ model?: string;
2660
+ /** Document ids to semantic-search as the user types (omit to disable search). */
2661
+ searchDocIds?: string[];
2662
+ /** Invoked with a document id when a search hit is chosen. */
2663
+ onOpenDoc?: (docId: string) => void;
2664
+ placeholder?: string;
2665
+ /** Footnote under the "Ask AI" action (e.g. what it's grounded in). */
2666
+ askHint?: string;
2667
+ classNames?: CommandPaletteClassNames;
2668
+ testId?: string;
2669
+ }
2670
+ /**
2671
+ * The single pane of glass: one ⌘K spotlight that navigates the app, runs a
2672
+ * grounded cited AI query, and (optionally) semantic-searches the workspace — all
2673
+ * from one input. Firm-agnostic: navigation, prompt and grounding arrive as props;
2674
+ * styling tracks the shadcn + AI-accent semantic tokens.
2675
+ */
2676
+ declare function CommandPalette({ open, onOpenChange, navItems, onNavigate, buildAskPrompt, askDocIds, model, searchDocIds, onOpenDoc, placeholder, askHint, classNames, testId, }: CommandPaletteProps): React$1.JSX.Element;
2677
+
2678
+ interface CommandPaletteProviderProps extends Omit<CommandPaletteProps, 'open' | 'onOpenChange'> {
2679
+ children: ReactNode;
2680
+ /** Disable the global ⌘K / Ctrl+K binding (default enabled). */
2681
+ hotkey?: boolean;
2682
+ }
2683
+ /**
2684
+ * Wraps the app once with the palette's data (nav items, grounding, prompt) and
2685
+ * provides an imperative handle via {@link useCommandPalette}. Binds ⌘K/Ctrl+K
2686
+ * globally so any surface — a topbar search button, a menu item — can open it.
2687
+ */
2688
+ declare function CommandPaletteProvider({ children, hotkey, ...paletteProps }: CommandPaletteProviderProps): React$1.JSX.Element;
2689
+
2690
+ /** Imperative handle to the command palette, exposed to any descendant. */
2691
+ interface CommandPaletteValue {
2692
+ open: () => void;
2693
+ close: () => void;
2694
+ toggle: () => void;
2695
+ isOpen: boolean;
2696
+ }
2697
+ /**
2698
+ * Access the palette from anywhere under {@link CommandPaletteProvider} — e.g. a
2699
+ * topbar search button calls `useCommandPalette().open()`.
2700
+ */
2701
+ declare function useCommandPalette(): CommandPaletteValue;
2702
+
2703
+ interface UserMenuItem {
2704
+ label: string;
2705
+ icon?: ComponentType<{
2706
+ className?: string;
2707
+ }>;
2708
+ onSelect: () => void;
2709
+ testId?: string;
2710
+ }
2711
+ interface UserMenuProps {
2712
+ user: {
2713
+ name: string;
2714
+ email?: string | null;
2715
+ picture?: string | null;
2716
+ };
2717
+ /** Account actions above the sign-out divider (e.g. Settings). */
2718
+ items?: UserMenuItem[];
2719
+ onLogout: () => void;
2720
+ logoutLabel?: string;
2721
+ align?: 'start' | 'center' | 'end';
2722
+ classNames?: {
2723
+ trigger?: string;
2724
+ fallback?: string;
2725
+ };
2726
+ testId?: string;
2727
+ logoutTestId?: string;
2728
+ }
2729
+ declare function UserMenu({ user, items, onLogout, logoutLabel, align, classNames, testId, logoutTestId, }: UserMenuProps): React$1.JSX.Element;
2339
2730
 
2340
2731
  /**
2341
2732
  * DocumentTable — a reusable AG Grid (community) block that renders a
@@ -2449,4 +2840,4 @@ declare const useArbiUiStore: zustand.UseBoundStore<zustand.StoreApi<ArbiUiState
2449
2840
 
2450
2841
  declare function cn(...inputs: ClassValue[]): string;
2451
2842
 
2452
- export { type ActivityContent, type ActivityDescription, ActivityFeed, type ActivityFeedProps, type AggregatedDailyUsage, type AggregatedModelGroupUsage, AiActionCard, AiAnswer, AiMarkdown, type AiRunOptions, type AiTaskStatus, AppleIcon, ArbiBotHeadIcon, ArbiBotIcon, ArbiChat, type ArbiChatLabels, ArbiChatPanel, type ArbiChatPanelProps, type ArbiChatProps, type ArbiChatTheme, ArbiIcon, ArbiProvider, type ArbiProviderProps, type ArbiUiState, ArbiWebSocketProvider, type ArbiWebSocketProviderProps, type ArbiWsState, type ArbiWsStatus, ArtifactCanvas, AudIcon, Avatar, AvatarFallback, AvatarImage, BASE_COLORS, Badge, type BadgeProps, Button, type ButtonProps, Card, CardContent, CardDescription, CardFooter, CardHeader, type CardProps, CardTitle, ChatBubble, type ChatBubbleProps, Checkbox, type Chunk, type ChunkActivation, CitationRenderer, type CitationRendererProps, type CitationState, ClaudeIcon, Collapsible, CollapsibleContent, CollapsibleTrigger, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DocIcon, DocQaPanel, DocSearch, DocumentEntity, type DocumentEntityProps, DocumentGallery, type DocumentGalleryProps, type DocumentLike, DocumentReview, type DocumentReviewProps, DocumentTable, type DocumentTableProps, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, ENTITY_MAPPINGS, EmlIcon, EntityIcon, type EntityIconComponent, EntityPill, type EntityRegistryOverride, type EntityType, FILE_TYPE_COLORS, FileIcon, FireworksIcon, GeminiIcon, GitHubIcon, GoogleIcon, HoverCard, HoverCardContent, HoverCardTrigger, HtmlIcon, ImgIcon, Input, Label, LinkedInIcon, type MessageArtifact, MessageArtifactCard, NEUTRAL_GRAY, type NotificationTypeMeta, OpenAIIcon, PLACEHOLDER_COLOR, type ParsedChunk, type ParsedChunkMetadata, type ParsedDocument, type ParsedDocumentMetadata, PdfIcon, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, type PresenceDisplayStatus, Progress, ProjectEntity, type ProjectEntityProps, type ProjectRelation, type ProjectsUsageAggregate, ProviderIcon, RadioGroup, RadioGroupItem, type RenderMarkdown, ScrollArea, ScrollBar, type SearchChunk, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Slider, Switch, TAG_TYPE_ICONS, TAG_TYPE_LABELS, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, TagEntity, type TagEntityProps, type TagLike, Textarea, Toggle, ToggleGroup, ToggleGroupItem, type ToolResponses, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, TxtIcon, TypingIndicator, UserEntity, type UserEntityProps, VISIBILITY_ICONS, VidIcon, VisibilityIcon, XlsIcon, arbiQueryKeys, badgeVariants, buttonVariants, cardVariants, cn, configureEntityRegistry, describeActivity, getEntityColor, getEntityColorStyles, getEntityIcon, getEntityLabel, getNotificationTypeMeta, getTagTypeIcon, getTagTypeLabel, getWorkspaceActionText, getWorkspaceColor, getWorkspaceSentPhrase, isWorkspaceNotificationType, markdownBaseComponents, parseActivityContent, redlineStats, textToArtifact, toRedlineMarkdown, toggleVariants, useActivity, useAgents, useAiTask, useArbi, useArbiConnected, useArbiDocumentSync, useArbiUiStore, useArbiWebSocket, useArbiWsContext, useArbiWsMessage, useArbiWsStatus, useArbiWsStore, useArbiWsTask, useArbiWsTasks, useAssistantQuery, useConfigs, useConversations, useDeleteAgents, useDocuments, useHealth, useMemories, useParsedDocument, useProjectInvoices, useProjectUsage, useProjects, useProjectsUsage, useSemanticSearch, useSessions, useTags, useTasks, useThumbnails, useUserUsageToday, useWorkspaceChronology, useWorkspaceDocs, useWorkspaces };
2843
+ export { type ActivityContent, type ActivityDescription, ActivityFeed, type ActivityFeedProps, type AggregatedDailyUsage, type AggregatedModelGroupUsage, AiActionCard, AiAnswer, AiMarkdown, type AiRunOptions, type AiTaskStatus, type AppNotification, AppleIcon, ArbiBotHeadIcon, ArbiBotIcon, ArbiChat, type ArbiChatLabels, ArbiChatPanel, type ArbiChatPanelProps, type ArbiChatProps, type ArbiChatTheme, ArbiIcon, ArbiProvider, type ArbiProviderProps, type ArbiUiState, ArbiWebSocketProvider, type ArbiWebSocketProviderProps, type ArbiWsState, type ArbiWsStatus, ArtifactCanvas, type AspectOption, AudIcon, Avatar, AvatarFallback, AvatarImage, BASE_COLORS, Badge, type BadgeProps, Button, type ButtonProps, Card, CardContent, CardDescription, CardFooter, CardHeader, type CardProps, CardTitle, ChatBubble, type ChatBubbleProps, Checkbox, type Chunk, type ChunkActivation, CitationRenderer, type CitationRendererProps, type CitationState, ClaudeIcon, Collapsible, CollapsibleContent, CollapsibleTrigger, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandPalette, type CommandPaletteClassNames, type CommandPaletteProps, CommandPaletteProvider, type CommandPaletteProviderProps, type CommandPaletteValue, CommandSeparator, CommandShortcut, ConversationList, type ConversationListProps, type CropArea, type CropOutput, type CropResult, DEFAULT_ASPECT_OPTIONS, DEFAULT_NOTIFY_TONE, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DirectMessages, type DirectMessagesProps, DmAvatar, type DmAvatarProps, type DmClassNames, DmComposer, type DmComposerProps, type DmConversation, type DmMessage, type DmNotification, type DmUser, DocIcon, DocQaPanel, DocSearch, DocumentEntity, type DocumentEntityProps, DocumentGallery, type DocumentGalleryProps, type DocumentLike, DocumentReview, type DocumentReviewProps, DocumentTable, type DocumentTableProps, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, ENTITY_MAPPINGS, EmlIcon, EntityIcon, type EntityIconComponent, EntityPill, type EntityRegistryOverride, type EntityType, FILE_TYPE_COLORS, FileIcon, FireworksIcon, GeminiIcon, GitHubIcon, GoogleIcon, HoverCard, HoverCardContent, HoverCardTrigger, HtmlIcon, ImageCropModal, type ImageCropModalProps, ImageCropper, type ImageCropperProps, ImgIcon, Input, Label, LinkedInIcon, type MessageArtifact, MessageArtifactCard, MessageBubble, type MessageBubbleProps, MessageThread, type MessageThreadProps, NEUTRAL_GRAY, NotificationBell, type NotificationBellProps, type NotificationTypeMeta, type NotifyOptions, type NotifyVariant, OpenAIIcon, PLACEHOLDER_COLOR, type PaletteNavItem, type ParsedChunk, type ParsedChunkMetadata, type ParsedDocument, type ParsedDocumentMetadata, PdfIcon, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, type PresenceDisplayStatus, Progress, ProjectEntity, type ProjectEntityProps, type ProjectRelation, type ProjectsUsageAggregate, ProviderIcon, RadioGroup, RadioGroupItem, type RenderMarkdown, ScrollArea, ScrollBar, type SearchChunk, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Slider, Switch, TAG_TYPE_ICONS, TAG_TYPE_LABELS, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, TagEntity, type TagEntityProps, type TagLike, Textarea, Toaster, Toggle, ToggleGroup, ToggleGroupItem, type ToolResponses, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, TxtIcon, TypingIndicator, type UseDirectMessagesResult, UserEntity, type UserEntityProps, UserMenu, type UserMenuItem, type UserMenuProps, VISIBILITY_ICONS, VidIcon, VisibilityIcon, XlsIcon, arbiQueryKeys, badgeVariants, buttonVariants, cardVariants, cn, configureEntityRegistry, cropImage, describeActivity, formatRelativeTime, getEntityColor, getEntityColorStyles, getEntityIcon, getEntityLabel, getNotificationTypeMeta, getTagTypeIcon, getTagTypeLabel, getWorkspaceActionText, getWorkspaceColor, getWorkspaceSentPhrase, isWorkspaceNotificationType, markdownBaseComponents, notify, parseActivityContent, redlineStats, seedNotifications, selectUnread, textToArtifact, toRedlineMarkdown, toggleVariants, useActivity, useAgents, useAiTask, useArbi, useArbiConnected, useArbiDocumentSync, useArbiUiStore, useArbiWebSocket, useArbiWsContext, useArbiWsMessage, useArbiWsStatus, useArbiWsStore, useArbiWsTask, useArbiWsTasks, useAssistantQuery, useCommandPalette, useConfigs, useConversations, useDeleteAgents, useDirectMessages, useDocuments, useHealth, useMemories, useNotify, useParsedDocument, useProjectInvoices, useProjectUsage, useProjects, useProjectsUsage, useSemanticSearch, useSessions, useTags, useTasks, useThumbnails, useUserUsageToday, useWorkspaceChronology, useWorkspaceDocs, useWorkspaces, userDisplayName, userInitials };