@arbidocs/react 0.3.116 → 0.3.117

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