@arbidocs/react 0.3.115 → 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.ts CHANGED
@@ -1,7 +1,7 @@
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
- export { AgentStepEvent, Arbi, ArbiError, ArbiOptions, ArtifactEvent, CreateMemoryRequest, CreateTaskRequest, MemoryResponse, MemorySearchRequest, MemorySearchResponse, MessageMetadataPayload, OutputTokensDetails, QueryOptions, ResponseCompletedEvent, ResponseContentPartAddedEvent, ResponseCreatedEvent, ResponseFailedEvent, ResponseOutputItemAddedEvent, ResponseOutputItemDoneEvent, ResponseOutputTextDeltaEvent, ResponseOutputTextDoneEvent, ResponseUsage, SSEStreamCallbacks, SSEStreamResult, SSEStreamStartData, TaskResponse, UpdateTaskRequest, UserInputRequestEvent, UserMessageEvent } from '@arbidocs/sdk/browser';
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';
6
6
  import { WebSocketServerMessage, WsTaskUpdateMessage, WsPresenceUpdateMessage, components } from '@arbidocs/client';
7
7
  export { WebSocketServerMessage, WsBatchCompleteMessage, WsNotificationResponse, WsPresenceUpdateMessage, WsResponseCompleteMessage, WsTaskUpdateMessage, isMessageType } from '@arbidocs/client';
@@ -28,13 +28,14 @@ import * as PopoverPrimitive from '@radix-ui/react-popover';
28
28
  import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
29
29
  import * as SelectPrimitive from '@radix-ui/react-select';
30
30
  import { Components } from 'react-markdown';
31
+ import * as lucide_react from 'lucide-react';
31
32
  import { LucideIcon, StickyNote } from 'lucide-react';
32
33
  import { ClassValue } from 'clsx';
33
34
 
34
35
  interface ArbiProviderProps extends ArbiOptions {
35
36
  children: ReactNode;
36
37
  }
37
- declare function ArbiProvider({ children, ...options }: ArbiProviderProps): React.JSX.Element;
38
+ declare function ArbiProvider({ children, ...options }: ArbiProviderProps): React$1.JSX.Element;
38
39
 
39
40
  interface ArbiChatTheme {
40
41
  /** Primary action color — buttons, links (default: '#00adef' ARBI cyan) */
@@ -165,7 +166,7 @@ interface ArbiChatPanelProps {
165
166
  *
166
167
  * For a fully self-contained widget (its own providers + login), use {@link ArbiChat}.
167
168
  */
168
- 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;
169
170
  /**
170
171
  * Self-contained ARBI chat widget.
171
172
  *
@@ -178,10 +179,10 @@ declare function ArbiChatPanel({ workspaceId, theme: themeOverrides, labels: lab
178
179
  * <ArbiChat url="https://www.arbidocs.com" />
179
180
  * ```
180
181
  */
181
- 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;
182
183
 
183
184
  /** Animated typing indicator (three bouncing dots) */
184
- declare const TypingIndicator: React.NamedExoticComponent<object>;
185
+ declare const TypingIndicator: React$1.NamedExoticComponent<object>;
185
186
  interface ChatBubbleProps {
186
187
  message: string;
187
188
  timestamp: string;
@@ -202,7 +203,7 @@ interface ChatBubbleProps {
202
203
  */
203
204
  formatTimestamp?: (timestamp: string) => string;
204
205
  }
205
- declare const ChatBubble: React.NamedExoticComponent<ChatBubbleProps>;
206
+ declare const ChatBubble: React$1.NamedExoticComponent<ChatBubbleProps>;
206
207
 
207
208
  /**
208
209
  * Hook to access the Arbi instance from the nearest ArbiProvider.
@@ -219,7 +220,7 @@ interface ArbiWebSocketProviderProps {
219
220
  enabled?: boolean;
220
221
  children: ReactNode;
221
222
  }
222
- declare function ArbiWebSocketProvider({ enabled, children }: ArbiWebSocketProviderProps): React.JSX.Element;
223
+ declare function ArbiWebSocketProvider({ enabled, children }: ArbiWebSocketProviderProps): React$1.JSX.Element;
223
224
 
224
225
  type ArbiWsSubscriber = (msg: WebSocketServerMessage) => void;
225
226
  interface ArbiWsContextValue {
@@ -354,6 +355,12 @@ declare const arbiQueryKeys: {
354
355
  tasks: () => readonly ["arbi", "tasks"];
355
356
  memories: (workspaceId: string) => readonly ["arbi", "memories", string];
356
357
  configs: () => readonly ["arbi", "configs"];
358
+ activity: () => readonly ["arbi", "activity"];
359
+ projects: () => readonly ["arbi", "projects"];
360
+ projectUsage: (projectExtId: string, monthsBack: number) => readonly ["arbi", "projectUsage", string, number];
361
+ projectInvoices: (projectExtId: string) => readonly ["arbi", "projectInvoices", string];
362
+ userUsageToday: () => readonly ["arbi", "userUsageToday"];
363
+ workspaceChronology: (workspaceId: string) => readonly ["arbi", "workspaceChronology", string];
357
364
  };
358
365
  /** List the logged-in user's workspaces. */
359
366
  declare function useWorkspaces(options?: {
@@ -629,6 +636,179 @@ declare function useConfigs(options?: {
629
636
  created_at: string;
630
637
  }[];
631
638
  }>, Error>;
639
+ /**
640
+ * List the caller's durable activity feed, newest first.
641
+ *
642
+ * Activity entries are backend-originated, to-self log lines that are always
643
+ * read — they are deliberately kept out of the normal notifications/DM feed and
644
+ * never affect the unread badge, so this is a separate, opt-in query.
645
+ */
646
+ declare function useActivity(options?: {
647
+ enabled?: boolean;
648
+ limit?: number;
649
+ offset?: number;
650
+ }): _tanstack_react_query.UseQueryResult<NoInfer<{
651
+ type: _arbidocs_client.components["schemas"]["NotificationType"];
652
+ external_id: string;
653
+ sender: {
654
+ external_id: string;
655
+ parent_ext_id?: string | null | undefined;
656
+ email: string;
657
+ given_name: string;
658
+ family_name?: string | null | undefined;
659
+ picture?: string | null | undefined;
660
+ encryption_public_key: string;
661
+ is_sso: boolean;
662
+ };
663
+ recipient: {
664
+ external_id: string;
665
+ parent_ext_id?: string | null | undefined;
666
+ email: string;
667
+ given_name: string;
668
+ family_name?: string | null | undefined;
669
+ picture?: string | null | undefined;
670
+ encryption_public_key: string;
671
+ is_sso: boolean;
672
+ };
673
+ workspace_ext_id?: string | null | undefined;
674
+ content?: string | null | undefined;
675
+ read: boolean;
676
+ created_at: string;
677
+ updated_at: string;
678
+ }[]>, Error>;
679
+ /** List the logged-in user's projects (billing accounts). */
680
+ declare function useProjects(options?: {
681
+ enabled?: boolean;
682
+ }): _tanstack_react_query.UseQueryResult<NoInfer<{
683
+ external_id: string;
684
+ name: string;
685
+ created_by: string;
686
+ packs: number;
687
+ subscription: string;
688
+ created_at: string;
689
+ quotas: {
690
+ storage_gb: {
691
+ used: number;
692
+ limit: number;
693
+ };
694
+ ai_credits: {
695
+ used: number;
696
+ limit: number;
697
+ };
698
+ collaborators: {
699
+ used: number;
700
+ limit: number;
701
+ };
702
+ budget_reset_at?: number | null | undefined;
703
+ };
704
+ daily_cap_per_user?: number | null | undefined;
705
+ price_id?: string | null | undefined;
706
+ plan?: string | null | undefined;
707
+ amount?: number | null | undefined;
708
+ currency?: string | null | undefined;
709
+ current_period_end?: number | null | undefined;
710
+ cancel_at_period_end?: boolean | null | undefined;
711
+ portal_url?: string | null | undefined;
712
+ }[]>, Error>;
713
+ /**
714
+ * AI usage + spend breakdown for a project's billing period. `monthsBack`
715
+ * selects the period (0 = current, 1 = previous month, …).
716
+ */
717
+ declare function useProjectUsage(projectExtId: string | undefined, monthsBack?: number, options?: {
718
+ enabled?: boolean;
719
+ }): _tanstack_react_query.UseQueryResult<NoInfer<{
720
+ project_ext_id: string;
721
+ period_start: string;
722
+ period_end: string;
723
+ total_spend: number;
724
+ total_tokens: number;
725
+ total_requests: number;
726
+ daily: _arbidocs_client.components["schemas"]["DailyUsage"][];
727
+ model_groups: {
728
+ [key: string]: _arbidocs_client.components["schemas"]["ModelGroupUsage"];
729
+ };
730
+ by_workspace: {
731
+ [key: string]: _arbidocs_client.components["schemas"]["TagBreakdown"];
732
+ };
733
+ by_user: {
734
+ [key: string]: _arbidocs_client.components["schemas"]["TagBreakdown"];
735
+ };
736
+ by_feature: {
737
+ [key: string]: _arbidocs_client.components["schemas"]["TagBreakdown"];
738
+ };
739
+ invoice_pdf?: string | null;
740
+ }>, Error>;
741
+ /** One day of aggregated usage across projects (for a spend/token trend). */
742
+ interface AggregatedDailyUsage {
743
+ date: string;
744
+ spend: number;
745
+ totalTokens: number;
746
+ apiRequests: number;
747
+ }
748
+ /** One model group's aggregated usage across projects (for a breakdown). */
749
+ interface AggregatedModelGroupUsage {
750
+ model: string;
751
+ spend: number;
752
+ totalTokens: number;
753
+ promptTokens: number;
754
+ completionTokens: number;
755
+ successfulRequests: number;
756
+ }
757
+ /** Aggregated AI usage + spend across several projects. */
758
+ interface ProjectsUsageAggregate {
759
+ /** Summed spend across the projects, in USD (the metered currency). */
760
+ totalSpend: number;
761
+ /** Summed token count across the projects. */
762
+ totalTokens: number;
763
+ /** Summed API request count across the projects. */
764
+ totalRequests: number;
765
+ /** Per-day totals merged across every project, oldest first. */
766
+ daily: AggregatedDailyUsage[];
767
+ /** Per-model-group totals merged across every project, biggest spend first. */
768
+ modelGroups: AggregatedModelGroupUsage[];
769
+ /** True while any per-project query is still loading. */
770
+ isLoading: boolean;
771
+ /** True if any per-project query errored. */
772
+ isError: boolean;
773
+ }
774
+ /**
775
+ * Firm-wide AI usage + spend: aggregates {@link useProjectUsage} across several
776
+ * projects (e.g. all of a firm's matters) in parallel and merges the real totals,
777
+ * the daily trend, and the per-model breakdown. Shares the per-project query
778
+ * cache, so it costs nothing extra where a project's usage is already loaded.
779
+ * Numbers are genuine — zero projects (or zero billed work) yields zero totals;
780
+ * callers render that honestly.
781
+ */
782
+ declare function useProjectsUsage(projectExtIds: string[], monthsBack?: number, options?: {
783
+ enabled?: boolean;
784
+ }): ProjectsUsageAggregate;
785
+ /** List the Stripe invoices for a project's subscription. */
786
+ declare function useProjectInvoices(projectExtId: string | undefined, options?: {
787
+ enabled?: boolean;
788
+ }): _tanstack_react_query.UseQueryResult<NoInfer<{
789
+ project_ext_id: string;
790
+ invoices: _arbidocs_client.components["schemas"]["ProjectInvoice"][];
791
+ }>, Error>;
792
+ /** Today's deployment-wide credit spend for the current user. */
793
+ declare function useUserUsageToday(options?: {
794
+ enabled?: boolean;
795
+ }): _tanstack_react_query.UseQueryResult<NoInfer<{
796
+ credits_used: number;
797
+ }>, Error>;
798
+ /**
799
+ * The last-generated document-derived chronology (key case events / dates) for
800
+ * a workspace. Defaults to the currently open workspace when `workspaceId` is
801
+ * omitted.
802
+ */
803
+ declare function useWorkspaceChronology(workspaceId: string | undefined, options?: {
804
+ enabled?: boolean;
805
+ }): _tanstack_react_query.UseQueryResult<NoInfer<{
806
+ events?: {
807
+ [key: string]: unknown;
808
+ }[] | null;
809
+ generated_at?: string | null;
810
+ doc_count?: number | null;
811
+ }>, Error>;
632
812
 
633
813
  /**
634
814
  * Minimal, dependency-free tooltip — a drop-in API replacement for a Radix
@@ -640,50 +820,50 @@ declare function useConfigs(options?: {
640
820
  */
641
821
  type Side = 'top' | 'bottom' | 'left' | 'right';
642
822
  interface TooltipProviderProps {
643
- children?: React.ReactNode;
823
+ children?: React$1.ReactNode;
644
824
  delayDuration?: number;
645
825
  skipDelayDuration?: number;
646
826
  disableHoverableContent?: boolean;
647
827
  }
648
- declare const TooltipProvider: ({ children }: TooltipProviderProps) => React.JSX.Element;
828
+ declare const TooltipProvider: ({ children }: TooltipProviderProps) => React$1.JSX.Element;
649
829
  interface TooltipProps {
650
- children: React.ReactNode;
830
+ children: React$1.ReactNode;
651
831
  delayDuration?: number;
652
832
  }
653
- declare function Tooltip({ children, delayDuration }: TooltipProps): React.JSX.Element;
654
- 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> {
655
835
  asChild?: boolean;
656
836
  }
657
- declare function TooltipTrigger({ asChild, children, ...props }: TooltipTriggerProps): React.JSX.Element;
658
- 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> {
659
839
  side?: Side;
660
840
  sideOffset?: number;
661
841
  }
662
- declare const TooltipContent: React.ForwardRefExoticComponent<TooltipContentProps & React.RefAttributes<HTMLDivElement>>;
842
+ declare const TooltipContent: React$1.ForwardRefExoticComponent<TooltipContentProps & React$1.RefAttributes<HTMLDivElement>>;
663
843
 
664
- declare const Avatar: React.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarProps & React.RefAttributes<HTMLSpanElement>, "ref"> & React.RefAttributes<HTMLSpanElement>>;
665
- declare const AvatarImage: React.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarImageProps & React.RefAttributes<HTMLImageElement>, "ref"> & React.RefAttributes<HTMLImageElement>>;
666
- 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>>;
667
847
 
668
848
  declare const badgeVariants: (props?: ({
669
849
  variant?: "default" | "outline" | "accent" | "secondary" | "destructive" | null | undefined;
670
850
  } & class_variance_authority_types.ClassProp) | undefined) => string;
671
- interface BadgeProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof badgeVariants> {
851
+ interface BadgeProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProps<typeof badgeVariants> {
672
852
  }
673
- declare function Badge({ className, variant, ...props }: BadgeProps): React.JSX.Element;
853
+ declare function Badge({ className, variant, ...props }: BadgeProps): React$1.JSX.Element;
674
854
 
675
855
  declare const buttonVariants: (props?: ({
676
856
  variant?: "link" | "default" | "outline" | "accent" | "secondary" | "destructive" | "ghost" | null | undefined;
677
857
  size?: "default" | "icon" | "sm" | "lg" | null | undefined;
678
858
  } & class_variance_authority_types.ClassProp) | undefined) => string;
679
- interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
859
+ interface ButtonProps extends React$1.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
680
860
  asChild?: boolean;
681
861
  }
682
- declare const Button: React.ForwardRefExoticComponent<ButtonProps & React.RefAttributes<HTMLButtonElement>>;
862
+ declare const Button: React$1.ForwardRefExoticComponent<ButtonProps & React$1.RefAttributes<HTMLButtonElement>>;
683
863
 
684
- declare const HoverCard: React.FC<HoverCardPrimitive.HoverCardProps>;
685
- declare const HoverCardTrigger: React.ForwardRefExoticComponent<HoverCardPrimitive.HoverCardTriggerProps & React.RefAttributes<HTMLAnchorElement>>;
686
- 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>>;
687
867
 
688
868
  /**
689
869
  * Clean-ARBI design contract rule 3: borderless by default; shadows
@@ -701,154 +881,154 @@ declare const HoverCardContent: React.ForwardRefExoticComponent<Omit<HoverCardPr
701
881
  declare const cardVariants: (props?: ({
702
882
  variant?: "flat" | "outline" | "elevated" | null | undefined;
703
883
  } & class_variance_authority_types.ClassProp) | undefined) => string;
704
- interface CardProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof cardVariants> {
884
+ interface CardProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProps<typeof cardVariants> {
705
885
  }
706
- declare const Card: React.ForwardRefExoticComponent<CardProps & React.RefAttributes<HTMLDivElement>>;
707
- declare const CardHeader: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
708
- declare const CardTitle: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
709
- declare const CardDescription: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
710
- declare const CardContent: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
711
- 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>>;
712
892
 
713
- 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>>;
714
894
 
715
- interface LabelProps extends React.LabelHTMLAttributes<HTMLLabelElement> {
895
+ interface LabelProps extends React$1.LabelHTMLAttributes<HTMLLabelElement> {
716
896
  className?: string;
717
897
  }
718
- declare const Label: React.ForwardRefExoticComponent<LabelProps & React.RefAttributes<HTMLLabelElement>>;
898
+ declare const Label: React$1.ForwardRefExoticComponent<LabelProps & React$1.RefAttributes<HTMLLabelElement>>;
719
899
 
720
- 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>>;
721
901
 
722
- 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>>;
723
903
 
724
- declare const Collapsible: React.ForwardRefExoticComponent<CollapsiblePrimitive.CollapsibleProps & React.RefAttributes<HTMLDivElement>>;
725
- declare const CollapsibleTrigger: React.ForwardRefExoticComponent<CollapsiblePrimitive.CollapsibleTriggerProps & React.RefAttributes<HTMLButtonElement>>;
726
- 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>>;
727
907
 
728
- 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>>;
729
909
 
730
- declare const ScrollArea: React.ForwardRefExoticComponent<Omit<ScrollAreaPrimitive.ScrollAreaProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
731
- 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>>;
732
912
 
733
- declare const RadioGroup: React.ForwardRefExoticComponent<Omit<RadioGroupPrimitive.RadioGroupProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
734
- 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>>;
735
915
 
736
- 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>>;
737
917
 
738
- 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>>;
739
919
 
740
- declare const Tabs: React.ForwardRefExoticComponent<TabsPrimitive.TabsProps & React.RefAttributes<HTMLDivElement>>;
741
- declare const TabsList: React.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsListProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
742
- declare const TabsTrigger: React.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsTriggerProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
743
- 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>>;
744
924
 
745
- declare const Table: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLTableElement> & React.RefAttributes<HTMLTableElement>>;
746
- declare const TableHeader: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLTableSectionElement> & React.RefAttributes<HTMLTableSectionElement>>;
747
- declare const TableBody: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLTableSectionElement> & React.RefAttributes<HTMLTableSectionElement>>;
748
- declare const TableFooter: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLTableSectionElement> & React.RefAttributes<HTMLTableSectionElement>>;
749
- declare const TableRow: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLTableRowElement> & React.RefAttributes<HTMLTableRowElement>>;
750
- 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> {
751
931
  className?: string;
752
932
  }
753
- declare const TableHead: React.ForwardRefExoticComponent<TableHeadProps & React.RefAttributes<HTMLTableCellElement>>;
754
- 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> {
755
935
  className?: string;
756
936
  }
757
- declare const TableCell: React.ForwardRefExoticComponent<TableCellProps & React.RefAttributes<HTMLTableCellElement>>;
758
- 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>>;
759
939
 
760
- interface SliderProps extends React.ComponentPropsWithoutRef<typeof SliderPrimitive.Root> {
940
+ interface SliderProps extends React$1.ComponentPropsWithoutRef<typeof SliderPrimitive.Root> {
761
941
  rangeClassName?: string;
762
942
  }
763
- declare const Slider: React.ForwardRefExoticComponent<SliderProps & React.RefAttributes<HTMLSpanElement>>;
943
+ declare const Slider: React$1.ForwardRefExoticComponent<SliderProps & React$1.RefAttributes<HTMLSpanElement>>;
764
944
 
765
945
  declare const toggleVariants: (props?: ({
766
946
  variant?: "default" | "outline" | null | undefined;
767
947
  size?: "default" | "sm" | "lg" | null | undefined;
768
948
  } & class_variance_authority_types.ClassProp) | undefined) => string;
769
- 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?: ({
770
950
  variant?: "default" | "outline" | null | undefined;
771
951
  size?: "default" | "sm" | "lg" | null | undefined;
772
- } & class_variance_authority_types.ClassProp) | undefined) => string> & React.RefAttributes<HTMLButtonElement>>;
952
+ } & class_variance_authority_types.ClassProp) | undefined) => string> & React$1.RefAttributes<HTMLButtonElement>>;
773
953
 
774
- 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?: ({
775
955
  variant?: "default" | "outline" | null | undefined;
776
956
  size?: "default" | "sm" | "lg" | null | undefined;
777
- } & class_variance_authority_types.ClassProp) | undefined) => string>) & React.RefAttributes<HTMLDivElement>>;
778
- 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?: ({
779
959
  variant?: "default" | "outline" | null | undefined;
780
960
  size?: "default" | "sm" | "lg" | null | undefined;
781
- } & class_variance_authority_types.ClassProp) | undefined) => string> & React.RefAttributes<HTMLButtonElement>>;
782
-
783
- declare const Dialog: React.FC<DialogPrimitive.DialogProps>;
784
- declare const DialogTrigger: React.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & React.RefAttributes<HTMLButtonElement>>;
785
- declare const DialogPortal: React.FC<DialogPrimitive.DialogPortalProps>;
786
- declare const DialogClose: React.ForwardRefExoticComponent<DialogPrimitive.DialogCloseProps & React.RefAttributes<HTMLButtonElement>>;
787
- declare const DialogOverlay: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogOverlayProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
788
- 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"> & {
789
969
  hideCloseButton?: boolean;
790
- } & React.RefAttributes<HTMLDivElement>>;
970
+ } & React$1.RefAttributes<HTMLDivElement>>;
791
971
  declare const DialogHeader: {
792
- ({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): React.JSX.Element;
972
+ ({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): React$1.JSX.Element;
793
973
  displayName: string;
794
974
  };
795
975
  declare const DialogFooter: {
796
- ({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): React.JSX.Element;
976
+ ({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): React$1.JSX.Element;
797
977
  displayName: string;
798
978
  };
799
- declare const DialogTitle: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogTitleProps & React.RefAttributes<HTMLHeadingElement>, "ref"> & React.RefAttributes<HTMLHeadingElement>>;
800
- 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>>;
801
981
 
802
- declare const Popover: React.FC<PopoverPrimitive.PopoverProps>;
803
- declare const PopoverTrigger: React.ForwardRefExoticComponent<PopoverPrimitive.PopoverTriggerProps & React.RefAttributes<HTMLButtonElement>>;
804
- declare const PopoverAnchor: React.ForwardRefExoticComponent<PopoverPrimitive.PopoverAnchorProps & React.RefAttributes<HTMLDivElement>>;
805
- 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"> & {
806
986
  container?: HTMLElement | null;
807
- } & React.RefAttributes<HTMLDivElement>>;
808
-
809
- declare const DropdownMenu: React.FC<DropdownMenuPrimitive.DropdownMenuProps>;
810
- declare const DropdownMenuTrigger: React.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuTriggerProps & React.RefAttributes<HTMLButtonElement>>;
811
- declare const DropdownMenuGroup: React.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuGroupProps & React.RefAttributes<HTMLDivElement>>;
812
- declare const DropdownMenuPortal: React.FC<DropdownMenuPrimitive.DropdownMenuPortalProps>;
813
- declare const DropdownMenuSub: React.FC<DropdownMenuPrimitive.DropdownMenuSubProps>;
814
- declare const DropdownMenuRadioGroup: React.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuRadioGroupProps & React.RefAttributes<HTMLDivElement>>;
815
- 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"> & {
816
996
  inset?: boolean;
817
- } & React.RefAttributes<HTMLDivElement>>;
818
- declare const DropdownMenuSubContent: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSubContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
819
- declare const DropdownMenuContent: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
820
- 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"> & {
821
1001
  inset?: boolean;
822
- } & React.RefAttributes<HTMLDivElement>>;
823
- declare const DropdownMenuCheckboxItem: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuCheckboxItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
824
- declare const DropdownMenuRadioItem: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuRadioItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
825
- 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"> & {
826
1006
  inset?: boolean;
827
- } & React.RefAttributes<HTMLDivElement>>;
828
- 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>>;
829
1009
  declare const DropdownMenuShortcut: {
830
- ({ className, ...props }: React.HTMLAttributes<HTMLSpanElement>): React.JSX.Element;
1010
+ ({ className, ...props }: React$1.HTMLAttributes<HTMLSpanElement>): React$1.JSX.Element;
831
1011
  displayName: string;
832
1012
  };
833
1013
 
834
- declare const Select: React.FC<SelectPrimitive.SelectProps>;
835
- declare const SelectGroup: React.ForwardRefExoticComponent<SelectPrimitive.SelectGroupProps & React.RefAttributes<HTMLDivElement>>;
836
- declare const SelectValue: React.ForwardRefExoticComponent<SelectPrimitive.SelectValueProps & React.RefAttributes<HTMLSpanElement>>;
837
- declare const SelectTrigger: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectTriggerProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
838
- declare const SelectScrollUpButton: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectScrollUpButtonProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
839
- declare const SelectScrollDownButton: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectScrollDownButtonProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
840
- declare const SelectContent: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
841
- declare const SelectLabel: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectLabelProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
842
- declare const SelectItem: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
843
- declare const SelectSeparator: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectSeparatorProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
844
-
845
- declare const Command: React.ForwardRefExoticComponent<Omit<{
846
- children?: React.ReactNode;
847
- } & Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
848
- 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>;
849
1029
  } & {
850
1030
  asChild?: boolean;
851
- }, "key" | "asChild" | keyof React.HTMLAttributes<HTMLDivElement>> & {
1031
+ }, "key" | "asChild" | keyof React$1.HTMLAttributes<HTMLDivElement>> & {
852
1032
  label?: string;
853
1033
  shouldFilter?: boolean;
854
1034
  filter?: (value: string, search: string, keywords?: string[]) => number;
@@ -858,65 +1038,65 @@ declare const Command: React.ForwardRefExoticComponent<Omit<{
858
1038
  loop?: boolean;
859
1039
  disablePointerSelection?: boolean;
860
1040
  vimBindings?: boolean;
861
- } & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
862
- declare const CommandDialog: ({ children, ...props }: DialogProps) => React.JSX.Element;
863
- declare const CommandInput: React.ForwardRefExoticComponent<Omit<Omit<Pick<Pick<React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "key" | keyof React.InputHTMLAttributes<HTMLInputElement>> & {
864
- 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>;
865
1045
  } & {
866
1046
  asChild?: boolean;
867
- }, "key" | "asChild" | keyof React.InputHTMLAttributes<HTMLInputElement>>, "value" | "type" | "onChange"> & {
1047
+ }, "key" | "asChild" | keyof React$1.InputHTMLAttributes<HTMLInputElement>>, "value" | "type" | "onChange"> & {
868
1048
  value?: string;
869
1049
  onValueChange?: (search: string) => void;
870
- } & React.RefAttributes<HTMLInputElement>, "ref"> & React.RefAttributes<HTMLInputElement>>;
871
- declare const CommandList: React.ForwardRefExoticComponent<Omit<{
872
- children?: React.ReactNode;
873
- } & Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
874
- 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>;
875
1055
  } & {
876
1056
  asChild?: boolean;
877
- }, "key" | "asChild" | keyof React.HTMLAttributes<HTMLDivElement>> & {
1057
+ }, "key" | "asChild" | keyof React$1.HTMLAttributes<HTMLDivElement>> & {
878
1058
  label?: string;
879
- } & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
880
- declare const CommandEmpty: React.ForwardRefExoticComponent<Omit<{
881
- children?: React.ReactNode;
882
- } & Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
883
- 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>;
884
1064
  } & {
885
1065
  asChild?: boolean;
886
- }, "key" | "asChild" | keyof React.HTMLAttributes<HTMLDivElement>> & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
887
- declare const CommandGroup: React.ForwardRefExoticComponent<Omit<{
888
- children?: React.ReactNode;
889
- } & Omit<Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
890
- 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>;
891
1071
  } & {
892
1072
  asChild?: boolean;
893
- }, "key" | "asChild" | keyof React.HTMLAttributes<HTMLDivElement>>, "value" | "heading"> & {
894
- heading?: React.ReactNode;
1073
+ }, "key" | "asChild" | keyof React$1.HTMLAttributes<HTMLDivElement>>, "value" | "heading"> & {
1074
+ heading?: React$1.ReactNode;
895
1075
  value?: string;
896
1076
  forceMount?: boolean;
897
- } & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
898
- declare const CommandSeparator: React.ForwardRefExoticComponent<Omit<Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
899
- 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>;
900
1080
  } & {
901
1081
  asChild?: boolean;
902
- }, "key" | "asChild" | keyof React.HTMLAttributes<HTMLDivElement>> & {
1082
+ }, "key" | "asChild" | keyof React$1.HTMLAttributes<HTMLDivElement>> & {
903
1083
  alwaysRender?: boolean;
904
- } & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
905
- declare const CommandItem: React.ForwardRefExoticComponent<Omit<{
906
- children?: React.ReactNode;
907
- } & Omit<Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
908
- 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>;
909
1089
  } & {
910
1090
  asChild?: boolean;
911
- }, "key" | "asChild" | keyof React.HTMLAttributes<HTMLDivElement>>, "value" | "disabled" | "onSelect"> & {
1091
+ }, "key" | "asChild" | keyof React$1.HTMLAttributes<HTMLDivElement>>, "value" | "disabled" | "onSelect"> & {
912
1092
  disabled?: boolean;
913
1093
  onSelect?: (value: string) => void;
914
1094
  value?: string;
915
1095
  keywords?: string[];
916
1096
  forceMount?: boolean;
917
- } & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
1097
+ } & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
918
1098
  declare const CommandShortcut: {
919
- ({ className, ...props }: React.HTMLAttributes<HTMLSpanElement>): React.JSX.Element;
1099
+ ({ className, ...props }: React$1.HTMLAttributes<HTMLSpanElement>): React$1.JSX.Element;
920
1100
  displayName: string;
921
1101
  };
922
1102
 
@@ -1073,7 +1253,7 @@ declare function textToArtifact(title: string, content: string, opts?: {
1073
1253
  declare function AiMarkdown({ children, className }: {
1074
1254
  children: string;
1075
1255
  className?: string;
1076
- }): React.JSX.Element;
1256
+ }): React$1.JSX.Element;
1077
1257
 
1078
1258
  /**
1079
1259
  * Brand-neutral presentational component overrides for react-markdown, shared by
@@ -1105,7 +1285,7 @@ declare function AiAnswer({ status, text, stepCount, error, className, emptyHint
1105
1285
  groundedNote?: string;
1106
1286
  runningHint?: string;
1107
1287
  testId?: string;
1108
- }): React.JSX.Element | null;
1288
+ }): React$1.JSX.Element | null;
1109
1289
 
1110
1290
  /**
1111
1291
  * A self-contained one-click agentic workflow: title + description + a Run button
@@ -1123,7 +1303,7 @@ declare function AiActionCard({ icon: Icon, title, description, prompt, docIds,
1123
1303
  noDocsHint?: string;
1124
1304
  disabled?: boolean;
1125
1305
  testId?: string;
1126
- }): React.JSX.Element;
1306
+ }): React$1.JSX.Element;
1127
1307
 
1128
1308
  /**
1129
1309
  * The artifacts canvas — renders agent-produced documents (drafts, redlines,
@@ -1148,7 +1328,7 @@ declare function ArtifactCanvas({ artifacts, className, emptyHint, busy, busyHin
1148
1328
  busyHint?: string;
1149
1329
  /** Agent steps completed so far, surfaced in the working state when > 0. */
1150
1330
  stepCount?: number;
1151
- }): React.JSX.Element;
1331
+ }): React$1.JSX.Element;
1152
1332
 
1153
1333
  /**
1154
1334
  * The minimal artifact shape this card renders. A structural subset of the
@@ -1191,7 +1371,7 @@ declare function DocSearch({ docIds, onOpenDoc, placeholder, className, }: {
1191
1371
  onOpenDoc?: (docId: string) => void;
1192
1372
  placeholder?: string;
1193
1373
  className?: string;
1194
- }): React.JSX.Element;
1374
+ }): React$1.JSX.Element;
1195
1375
 
1196
1376
  /**
1197
1377
  * Ask questions grounded in a SINGLE document (docId scoped to one file), plus a
@@ -1200,7 +1380,7 @@ declare function DocSearch({ docIds, onOpenDoc, placeholder, className, }: {
1200
1380
  declare function DocQaPanel({ docId, docName }: {
1201
1381
  docId: string;
1202
1382
  docName?: string;
1203
- }): React.JSX.Element;
1383
+ }): React$1.JSX.Element;
1204
1384
 
1205
1385
  type Chunk = components['schemas']['Chunk'];
1206
1386
  interface ToolResponses {
@@ -1447,7 +1627,7 @@ declare function ProviderIcon({ modelName, provider, size, className, }: {
1447
1627
  provider?: string | null;
1448
1628
  size?: number;
1449
1629
  className?: string;
1450
- }): React.JSX.Element;
1630
+ }): React$1.JSX.Element;
1451
1631
 
1452
1632
  /**
1453
1633
  * ARBI Icon Component. Promoted from the ARBI app for SDK reuse.
@@ -1731,6 +1911,830 @@ interface UserEntityProps {
1731
1911
  }
1732
1912
  declare const UserEntity: React__default.NamedExoticComponent<UserEntityProps>;
1733
1913
 
1914
+ /** An icon component usable in the registry (lucide icons + custom SVG wrappers). */
1915
+ type EntityIconComponent = React__default.ComponentType<React__default.SVGAttributes<SVGElement> & {
1916
+ size?: number | string;
1917
+ className?: string;
1918
+ }>;
1919
+ /**
1920
+ * Entity Mappings — naming conventions + icons for every entity in the app.
1921
+ *
1922
+ * `WORKSPACE.ICONS.DEFAULT` is the generic `SquareM` here; the monolith injects a
1923
+ * rotated variant via {@link configureEntityRegistry}. The object is mutated in
1924
+ * place by that helper, so existing `ENTITY_MAPPINGS` references stay live.
1925
+ */
1926
+ declare const ENTITY_MAPPINGS: {
1927
+ PRODUCT: {
1928
+ NAMES: {
1929
+ SINGULAR: string;
1930
+ };
1931
+ ICONS: {
1932
+ DEFAULT: React__default.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React__default.RefAttributes<SVGSVGElement>>;
1933
+ };
1934
+ };
1935
+ SECTION: {
1936
+ NAMES: {
1937
+ SINGULAR: string;
1938
+ };
1939
+ ICONS: {
1940
+ DEFAULT: React__default.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React__default.RefAttributes<SVGSVGElement>>;
1941
+ };
1942
+ };
1943
+ WORKSPACE: {
1944
+ NAMES: {
1945
+ SINGULAR: string;
1946
+ PLURAL: string;
1947
+ };
1948
+ ICONS: {
1949
+ DEFAULT: React__default.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React__default.RefAttributes<SVGSVGElement>>;
1950
+ NEW: React__default.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React__default.RefAttributes<SVGSVGElement>>;
1951
+ LIST: React__default.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React__default.RefAttributes<SVGSVGElement>>;
1952
+ SETTINGS: React__default.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React__default.RefAttributes<SVGSVGElement>>;
1953
+ };
1954
+ };
1955
+ CONVERSATION: {
1956
+ NAMES: {
1957
+ SINGULAR: string;
1958
+ PLURAL: string;
1959
+ NEW: string;
1960
+ };
1961
+ ICONS: {
1962
+ DEFAULT: React__default.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React__default.RefAttributes<SVGSVGElement>>;
1963
+ OFF: React__default.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React__default.RefAttributes<SVGSVGElement>>;
1964
+ ACTIVE: React__default.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React__default.RefAttributes<SVGSVGElement>>;
1965
+ NEW: React__default.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React__default.RefAttributes<SVGSVGElement>>;
1966
+ LIST: React__default.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React__default.RefAttributes<SVGSVGElement>>;
1967
+ };
1968
+ };
1969
+ DOCUMENT: {
1970
+ NAMES: {
1971
+ SINGULAR: string;
1972
+ PLURAL: string;
1973
+ };
1974
+ ICONS: {
1975
+ DEFAULT: React__default.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React__default.RefAttributes<SVGSVGElement>>;
1976
+ OFF: React__default.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React__default.RefAttributes<SVGSVGElement>>;
1977
+ };
1978
+ };
1979
+ VIEWER: {
1980
+ NAMES: {
1981
+ SINGULAR: string;
1982
+ PLURAL: string;
1983
+ };
1984
+ ICONS: {
1985
+ DEFAULT: React__default.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React__default.RefAttributes<SVGSVGElement>>;
1986
+ OFF: React__default.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React__default.RefAttributes<SVGSVGElement>>;
1987
+ };
1988
+ };
1989
+ TAG: {
1990
+ NAMES: {
1991
+ SINGULAR: string;
1992
+ PLURAL: string;
1993
+ };
1994
+ ICONS: {
1995
+ DEFAULT: React__default.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React__default.RefAttributes<SVGSVGElement>>;
1996
+ NEW: React__default.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React__default.RefAttributes<SVGSVGElement>>;
1997
+ };
1998
+ };
1999
+ ANNOTATION: {
2000
+ NAMES: {
2001
+ SINGULAR: string;
2002
+ PLURAL: string;
2003
+ };
2004
+ ICONS: {
2005
+ DEFAULT: React__default.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React__default.RefAttributes<SVGSVGElement>>;
2006
+ NEW: React__default.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React__default.RefAttributes<SVGSVGElement>>;
2007
+ };
2008
+ };
2009
+ USER: {
2010
+ NAMES: {
2011
+ SINGULAR: string;
2012
+ PLURAL: string;
2013
+ };
2014
+ ICONS: {
2015
+ DEFAULT: React__default.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React__default.RefAttributes<SVGSVGElement>>;
2016
+ NEW: React__default.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React__default.RefAttributes<SVGSVGElement>>;
2017
+ SETTINGS: React__default.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React__default.RefAttributes<SVGSVGElement>>;
2018
+ };
2019
+ };
2020
+ WORKSPACEUSER: {
2021
+ NAMES: {
2022
+ SINGULAR: string;
2023
+ PLURAL: string;
2024
+ };
2025
+ ICONS: {
2026
+ DEFAULT: React__default.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React__default.RefAttributes<SVGSVGElement>>;
2027
+ PLURAL: React__default.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React__default.RefAttributes<SVGSVGElement>>;
2028
+ NEW: React__default.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React__default.RefAttributes<SVGSVGElement>>;
2029
+ SETTINGS: React__default.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React__default.RefAttributes<SVGSVGElement>>;
2030
+ };
2031
+ };
2032
+ CONTACT: {
2033
+ NAMES: {
2034
+ SINGULAR: string;
2035
+ PLURAL: string;
2036
+ };
2037
+ ICONS: {
2038
+ DEFAULT: React__default.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React__default.RefAttributes<SVGSVGElement>>;
2039
+ NEW: React__default.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React__default.RefAttributes<SVGSVGElement>>;
2040
+ };
2041
+ };
2042
+ TASK: {
2043
+ NAMES: {
2044
+ SINGULAR: string;
2045
+ PLURAL: string;
2046
+ };
2047
+ ICONS: {
2048
+ DEFAULT: React__default.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React__default.RefAttributes<SVGSVGElement>>;
2049
+ };
2050
+ };
2051
+ PROJECT: {
2052
+ NAMES: {
2053
+ SINGULAR: string;
2054
+ PLURAL: string;
2055
+ };
2056
+ ICONS: {
2057
+ DEFAULT: React__default.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React__default.RefAttributes<SVGSVGElement>>;
2058
+ };
2059
+ };
2060
+ SKILL: {
2061
+ NAMES: {
2062
+ SINGULAR: string;
2063
+ PLURAL: string;
2064
+ };
2065
+ ICONS: {
2066
+ DEFAULT: React__default.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React__default.RefAttributes<SVGSVGElement>>;
2067
+ };
2068
+ };
2069
+ ACCOUNT: {
2070
+ NAMES: {
2071
+ SINGULAR: string;
2072
+ };
2073
+ ICONS: {
2074
+ DEFAULT: React__default.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React__default.RefAttributes<SVGSVGElement>>;
2075
+ };
2076
+ };
2077
+ NOTIFICATIONS: {
2078
+ NAMES: {
2079
+ SINGULAR: string;
2080
+ PLURAL: string;
2081
+ };
2082
+ ICONS: {
2083
+ DEFAULT: React__default.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React__default.RefAttributes<SVGSVGElement>>;
2084
+ };
2085
+ };
2086
+ MESSAGE: {
2087
+ NAMES: {
2088
+ SINGULAR: string;
2089
+ PLURAL: string;
2090
+ };
2091
+ ICONS: {
2092
+ DEFAULT: React__default.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React__default.RefAttributes<SVGSVGElement>>;
2093
+ };
2094
+ };
2095
+ NOTIFICATION: {
2096
+ NAMES: {
2097
+ SINGULAR: string;
2098
+ PLURAL: string;
2099
+ };
2100
+ ICONS: {
2101
+ DEFAULT: React__default.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React__default.RefAttributes<SVGSVGElement>>;
2102
+ };
2103
+ };
2104
+ APP: {
2105
+ NAMES: {
2106
+ SINGULAR: string;
2107
+ PLURAL: string;
2108
+ };
2109
+ ICONS: {
2110
+ DEFAULT: React__default.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React__default.RefAttributes<SVGSVGElement>>;
2111
+ HOME: React__default.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React__default.RefAttributes<SVGSVGElement>>;
2112
+ LOGOUT: React__default.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React__default.RefAttributes<SVGSVGElement>>;
2113
+ UPLOAD: React__default.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React__default.RefAttributes<SVGSVGElement>>;
2114
+ };
2115
+ };
2116
+ HELP: {
2117
+ NAMES: {
2118
+ SINGULAR: string;
2119
+ PLURAL: string;
2120
+ };
2121
+ ICONS: {
2122
+ DEFAULT: React__default.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React__default.RefAttributes<SVGSVGElement>>;
2123
+ DOCS: React__default.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React__default.RefAttributes<SVGSVGElement>>;
2124
+ FAQ: React__default.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React__default.RefAttributes<SVGSVGElement>>;
2125
+ ABOUT: React__default.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React__default.RefAttributes<SVGSVGElement>>;
2126
+ };
2127
+ };
2128
+ USERSHIELD: {
2129
+ NAMES: {
2130
+ SINGULAR: string;
2131
+ PLURAL: string;
2132
+ };
2133
+ ICONS: {
2134
+ DEFAULT: React__default.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React__default.RefAttributes<SVGSVGElement>>;
2135
+ };
2136
+ };
2137
+ };
2138
+ /** The set of registered entity types. */
2139
+ type EntityType = keyof typeof ENTITY_MAPPINGS;
2140
+ /** Deployment override for a single entity: extra/replacement names and icons. */
2141
+ interface EntityRegistryOverride {
2142
+ NAMES?: Record<string, string>;
2143
+ ICONS?: Record<string, EntityIconComponent>;
2144
+ }
2145
+ /**
2146
+ * Layer deployment-specific names/icons onto the canonical registry — call once
2147
+ * at app startup. Merges in place (so live `ENTITY_MAPPINGS` refs pick it up) and
2148
+ * only touches the keys you pass, e.g.:
2149
+ *
2150
+ * ```ts
2151
+ * configureEntityRegistry({
2152
+ * WORKSPACE: { NAMES: { SINGULAR: 'MatterSpace' }, ICONS: { DEFAULT: RotatedSquareM } },
2153
+ * })
2154
+ * ```
2155
+ */
2156
+ declare function configureEntityRegistry(overrides: Partial<Record<EntityType, EntityRegistryOverride>>): void;
2157
+ /**
2158
+ * Resolve the icon component for an entity type + variant, falling back to the
2159
+ * type's DEFAULT icon for unknown variants.
2160
+ */
2161
+ declare const getEntityIcon: (entityType: EntityType, variant?: string) => EntityIconComponent | undefined;
2162
+ /**
2163
+ * Display label for an entity type. `SINGULAR` (default); `PLURAL`/`SHORT`/`NEW`
2164
+ * fall back to derivations of the singular when not explicitly configured.
2165
+ */
2166
+ declare const getEntityLabel: (entityType: EntityType, form?: "SINGULAR" | "PLURAL" | "SHORT" | "NEW") => string;
2167
+ type EntityIconProps = {
2168
+ entityType: EntityType;
2169
+ variant?: string;
2170
+ className?: string;
2171
+ size?: number;
2172
+ color?: string;
2173
+ 'data-testid'?: string;
2174
+ onClick?: () => void;
2175
+ } & React__default.SVGAttributes<SVGElement>;
2176
+ /**
2177
+ * Render an entity's icon — the recommended way to show entity glyphs so all
2178
+ * icon choices stay centralised.
2179
+ */
2180
+ declare const EntityIcon: ({ entityType, variant, ...props }: EntityIconProps) => React__default.ReactElement<React__default.SVGAttributes<SVGElement> & {
2181
+ size?: number | string;
2182
+ className?: string;
2183
+ }, string | React__default.JSXElementConstructor<any>> | null;
2184
+ /** Centralised icons for private/shared visibility states. */
2185
+ declare const VISIBILITY_ICONS: {
2186
+ PRIVATE: React__default.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React__default.RefAttributes<SVGSVGElement>>;
2187
+ SHARED: React__default.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React__default.RefAttributes<SVGSVGElement>>;
2188
+ };
2189
+ /** Render the private/shared visibility glyph. */
2190
+ declare const VisibilityIcon: ({ isShared, ...props }: {
2191
+ isShared: boolean;
2192
+ className?: string;
2193
+ size?: number;
2194
+ color?: string;
2195
+ "data-testid"?: string;
2196
+ onClick?: () => void;
2197
+ } & React__default.SVGAttributes<SVGElement>) => React__default.FunctionComponentElement<Omit<lucide_react.LucideProps, "ref"> & React__default.RefAttributes<SVGSVGElement>>;
2198
+
2199
+ /**
2200
+ * Entity colour system — the single source of truth for deriving a stable colour
2201
+ * from an entity id (workspace/tag/doc badges) shared across every app.
2202
+ *
2203
+ * ONE base palette (16 colours, indexed by the hex char at position 5 of an
2204
+ * entity id) + three opacity constants that shift every variant globally. Pure,
2205
+ * framework-free: no React, no store, no app `@/` imports.
2206
+ */
2207
+ /** Semantic placeholder colour for empty/pending states (gray-400). */
2208
+ declare const PLACEHOLDER_COLOR = "#9ca3af";
2209
+ /** Neutral gray for generic/unknown file types (slate-500). */
2210
+ declare const NEUTRAL_GRAY = "#64748b";
2211
+ /** Base palette — source of truth for all entity colours (hex char 0–f). */
2212
+ declare const BASE_COLORS: Record<string, string>;
2213
+ /**
2214
+ * Deterministic colour for an entity id. The 5th char (index 4) of the id selects
2215
+ * a base colour; the variant picks the opacity treatment.
2216
+ */
2217
+ declare function getEntityColor(entityId: string, variant?: 'light' | 'medium' | 'text'): string;
2218
+ /** Full badge colour set for an entity id: light background + solid text + border. */
2219
+ declare function getEntityColorStyles(entityId: string): {
2220
+ backgroundColor: string;
2221
+ color: string;
2222
+ borderColor: string;
2223
+ };
2224
+ /**
2225
+ * Colour for a workspace id — the MEDIUM (solid) variant, for white text on top.
2226
+ * Returns the `--primary` token when colours are disabled or the id is invalid,
2227
+ * so callers always get a paintable value.
2228
+ */
2229
+ declare const getWorkspaceColor: (workspaceId: string | undefined | null, useWorkspaceColors?: boolean) => string;
2230
+
2231
+ /**
2232
+ * Notification-type presentation primitives — the brand-neutral icon, colour and
2233
+ * label maps for every `NotificationType`, plus the workspace-membership phrasing
2234
+ * helpers. Kept in their own module (not a component file) so both the monolith's
2235
+ * AG-Grid notification centre and lightweight consumers (e.g. clarum's activity
2236
+ * feed) share one source of truth for "what does this notification type mean",
2237
+ * and so component files stay fast-refresh friendly.
2238
+ *
2239
+ * Deliberately decoupled: no store, no app `@/` imports — just lucide icon
2240
+ * components + semantic Tailwind token class names. Callers render the icon
2241
+ * themselves (`<Icon className={iconClassName} />`).
2242
+ */
2243
+
2244
+ /** Icon component, its colour class, and a short human label for a notification type. */
2245
+ interface NotificationTypeMeta {
2246
+ Icon: EntityIconComponent;
2247
+ /** Semantic Tailwind colour class for the glyph. */
2248
+ iconClassName: string;
2249
+ /** Short category label (e.g. "Added", "Usage 90%"). */
2250
+ label: string;
2251
+ }
2252
+ /**
2253
+ * Resolve the icon + colour + short label for a notification type.
2254
+ *
2255
+ * Workspace-membership events all share the workspace glyph — the specific role
2256
+ * lives in the Event sentence (see {@link getWorkspaceSentPhrase}), so the label
2257
+ * stays short ("Added", not "Added as collaborator"). Unknown types fall back to
2258
+ * an info glyph and the raw type string.
2259
+ */
2260
+ declare function getNotificationTypeMeta(type: string | null | undefined): NotificationTypeMeta;
2261
+ /** Whether a notification type is a workspace-membership event. */
2262
+ declare function isWorkspaceNotificationType(type: string): boolean;
2263
+ /**
2264
+ * Recipient-perspective action text ("you received"). Renders after the sender
2265
+ * pill: "[sender] added you as collaborator". The workspace renders in its own
2266
+ * column, so there's no trailing preposition.
2267
+ */
2268
+ declare function getWorkspaceActionText(type: string): string;
2269
+ /**
2270
+ * Sender-perspective phrasing ("you did this"). Renders around the affected
2271
+ * member pill — `{before} [member] {after}` — so it reads as an active sentence:
2272
+ * "You added [Jane] as collaborator" rather than the ambiguous "Added as
2273
+ * collaborator: Jane".
2274
+ */
2275
+ declare function getWorkspaceSentPhrase(type: string): {
2276
+ before: string;
2277
+ after: string;
2278
+ };
2279
+
2280
+ /**
2281
+ * Activity-event presentation — decodes the compact `{"event": ..., ...fields}`
2282
+ * JSON payload carried by durable `activity` notifications (recorded backend-side
2283
+ * by `log_activity`) into a glyph + human sentence.
2284
+ *
2285
+ * Distinct from `notification-types.ts`: that maps the notification *type* (a DM,
2286
+ * a workspace-membership change, a reward); this maps the *event* recorded on a
2287
+ * to-self activity line ("opened a workspace", "processed a document"). Entity
2288
+ * glyphs are sourced from the shared entity registry — one source of truth.
2289
+ */
2290
+
2291
+ /** Parsed activity payload — always has `event`, plus event-specific fields. */
2292
+ interface ActivityContent {
2293
+ event: string;
2294
+ [field: string]: unknown;
2295
+ }
2296
+ /** Rendered description of an activity line. */
2297
+ interface ActivityDescription {
2298
+ Icon: EntityIconComponent;
2299
+ /** Semantic Tailwind colour class for the glyph. */
2300
+ iconClassName: string;
2301
+ /** Human-readable one-line summary of what happened. */
2302
+ title: string;
2303
+ }
2304
+ /** Parse an activity notification's `content` JSON into `{event, ...fields}`, or null. */
2305
+ declare function parseActivityContent(content: string | null | undefined): ActivityContent | null;
2306
+ /**
2307
+ * Describe an activity line for display. Accepts either the raw `content` string
2308
+ * or an already-parsed {@link ActivityContent}. Unknown/unparseable events fall
2309
+ * back to a generic activity glyph and a humanised event name.
2310
+ */
2311
+ declare function describeActivity(content: string | ActivityContent | null | undefined): ActivityDescription;
2312
+
2313
+ /**
2314
+ * ActivityFeed — a presentational, self-fetching list of the current user's
2315
+ * durable activity (the to-self "you opened a workspace / processed a document"
2316
+ * log). Renders each line via the shared {@link describeActivity} descriptor, so
2317
+ * the glyph/label knowledge stays in one place and any app (clarum's dashboard,
2318
+ * a monolith panel) can drop this in.
2319
+ *
2320
+ * Pure semantic Tailwind tokens; no store, no app `@/` imports. Data comes from
2321
+ * the shared {@link useActivity} query.
2322
+ */
2323
+ interface ActivityFeedProps {
2324
+ /** Max entries to fetch/show. Default 20. */
2325
+ limit?: number;
2326
+ /** Extra classes for the outer container. */
2327
+ className?: string;
2328
+ /** Message shown when there's no activity yet. */
2329
+ emptyLabel?: string;
2330
+ /** Whether to fetch — defaults to enabled when logged in. */
2331
+ enabled?: boolean;
2332
+ 'data-testid'?: string;
2333
+ }
2334
+ /**
2335
+ * Renders the activity feed. Handles its own loading/empty/error states so a
2336
+ * consumer can place it directly (e.g. inside a dashboard card).
2337
+ */
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;
2737
+
1734
2738
  /**
1735
2739
  * DocumentTable — a reusable AG Grid (community) block that renders a
1736
2740
  * workspace's documents using the promoted entity pills.
@@ -1843,4 +2847,4 @@ declare const useArbiUiStore: zustand.UseBoundStore<zustand.StoreApi<ArbiUiState
1843
2847
 
1844
2848
  declare function cn(...inputs: ClassValue[]): string;
1845
2849
 
1846
- export { 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, 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, EmlIcon, EntityPill, FILE_TYPE_COLORS, FileIcon, FireworksIcon, GeminiIcon, GitHubIcon, GoogleIcon, HoverCard, HoverCardContent, HoverCardTrigger, HtmlIcon, ImgIcon, Input, Label, LinkedInIcon, type MessageArtifact, MessageArtifactCard, OpenAIIcon, type ParsedChunk, type ParsedChunkMetadata, type ParsedDocument, type ParsedDocumentMetadata, PdfIcon, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, type PresenceDisplayStatus, Progress, ProjectEntity, type ProjectEntityProps, type ProjectRelation, 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, VidIcon, XlsIcon, arbiQueryKeys, badgeVariants, buttonVariants, cardVariants, cn, getTagTypeIcon, getTagTypeLabel, markdownBaseComponents, redlineStats, textToArtifact, toRedlineMarkdown, toggleVariants, useAgents, useAiTask, useArbi, useArbiConnected, useArbiDocumentSync, useArbiUiStore, useArbiWebSocket, useArbiWsContext, useArbiWsMessage, useArbiWsStatus, useArbiWsStore, useArbiWsTask, useArbiWsTasks, useAssistantQuery, useConfigs, useConversations, useDeleteAgents, useDocuments, useHealth, useMemories, useParsedDocument, useSemanticSearch, useSessions, useTags, useTasks, useThumbnails, 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 };