@arbidocs/react 0.4.154 → 0.4.156

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.cts CHANGED
@@ -10,8 +10,8 @@ import * as zustand from 'zustand';
10
10
  import * as _tanstack_react_query from '@tanstack/react-query';
11
11
  import { QueryClient, QueryKey, MutationKey } from '@tanstack/react-query';
12
12
  import * as _tanstack_query_core from '@tanstack/query-core';
13
- import { ar as IdentityStatus, ap as IdentityPurchase, as as IdentityStep, at as IdentityVerificationFlow, ae as EntityIconComponent } from './index-BV7pBlgY.cjs';
14
- export { A as AgentBadge, a as AiMarkdown, b as ArbiIcon, c as Avatar, d as AvatarFallback, e as AvatarImage, B as BASE_COLORS, f as Badge, g as BadgeProps, h as Button, i as ButtonProps, C as Card, j as CardContent, k as CardDescription, l as CardFooter, m as CardHeader, n as CardProps, o as CardTitle, p as Checkbox, q as Collapsible, r as CollapsibleContent, s as CollapsibleTrigger, t as Command, u as CommandDialog, v as CommandEmpty, w as CommandGroup, x as CommandInput, y as CommandItem, z as CommandList, D as CommandSeparator, E as CommandShortcut, F as DebouncedInput, G as DebouncedInputProps, H as Dialog, I as DialogClose, J as DialogContent, K as DialogDescription, L as DialogFooter, M as DialogHeader, N as DialogOverlay, O as DialogPortal, P as DialogPresentation, Q as DialogTitle, R as DialogTrigger, S as DictateContextValue, T as DictateProvider, U as DocumentCard, V as DocumentCardProps, W as DocumentEntity, X as DocumentEntityProps, Y as DocumentLike, Z as DropdownMenu, _ as DropdownMenuCheckboxItem, $ as DropdownMenuContent, a0 as DropdownMenuGroup, a1 as DropdownMenuItem, a2 as DropdownMenuLabel, a3 as DropdownMenuPortal, a4 as DropdownMenuRadioGroup, a5 as DropdownMenuRadioItem, a6 as DropdownMenuSeparator, a7 as DropdownMenuShortcut, a8 as DropdownMenuSub, a9 as DropdownMenuSubContent, aa as DropdownMenuSubTrigger, ab as DropdownMenuTrigger, ac as ENTITY_MAPPINGS, ad as EntityIcon, af as EntityPill, ag as EntityRegistryOverride, ah as EntityType, ai as HoverCard, aj as HoverCardContent, ak as HoverCardTrigger, al as IconToggle, am as IconToggleProps, an as IdentityBusy, ao as IdentityProblem, aq as IdentityState, au as Input, av as InputProps, aw as Label, ax as MarkMenu, ay as MarkMenuItem, az as MarkMenuProps, aA as MarkdownCode, aB as MarkdownLink, aC as MarkdownRenderer, aD as MarkdownRendererProps, aE as MarkdownStreamingContext, aF as NEUTRAL_GRAY, aG as PLACEHOLDER_COLOR, aH as PassageCard, aI as PassageCardProps, aJ as Popover, aK as PopoverAnchor, aL as PopoverClose, aM as PopoverContent, aN as PopoverTrigger, aO as PortalContainerProvider, aP as PresenceDisplayStatus, aQ as PresenceLabel, aR as Progress, aS as ProjectEntity, aT as ProjectEntityProps, aU as ProjectRelation, aV as RadioGroup, aW as RadioGroupItem, aX as Rag, aY as RagDot, aZ as RelevanceDot, a_ as ScrollArea, a$ as ScrollBar, b0 as Select, b1 as SelectContent, b2 as SelectGroup, b3 as SelectItem, b4 as SelectLabel, b5 as SelectScrollDownButton, b6 as SelectScrollUpButton, b7 as SelectSeparator, b8 as SelectTrigger, b9 as SelectValue, ba as Separator, bb as ShieldIcon, bc as ShieldIconProps, bd as Slider, be as StatusBadgeComponent, bf as StatusBadgeProps, bg as StatusPill, bh as StatusPillProps, bi as StatusVariant, bj as Switch, bk as TAG_TYPE_ICONS, bl as TAG_TYPE_LABELS, bm as Table, bn as TableBody, bo as TableCaption, bp as TableCell, bq as TableFooter, br as TableHead, bs as TableHeader, bt as TableRow, bu as Tabs, bv as TabsContent, bw as TabsList, bx as TabsTrigger, by as TagEntity, bz as TagEntityProps, bA as TagLike, bB as Textarea, bC as TextareaProps, bD as ThreadVisibilityIcon, bE as Toggle, bF as ToggleGroup, bG as ToggleGroupItem, bH as Tooltip, bI as TooltipContent, bJ as TooltipProvider, bK as TooltipTrigger, bL as UserEntity, bM as UserEntityProps, bN as UserMenu, bO as UserMenuItem, bP as UserMenuProps, bQ as UserMenuStatus, bR as VISIBILITY_ICONS, bS as VerifiedBadge, bT as VerifiedBadgeProps, bU as VerifiedToggle, bV as VisibilityIcon, bW as VisibilityToggle, bX as VisibilityToggleProps, bY as agentAvatarColors, bZ as badgeVariants, b_ as buttonVariants, b$ as cardVariants, c0 as closeOpenEmphasis, c1 as cn, c2 as configureEntityRegistry, c3 as configureRagLabels, c4 as configureStatusRegistry, c5 as formatFriendlyDate, c6 as friendlyFileType, c7 as getDocIcon, c8 as getDocumentTitle, c9 as getEntityColor, ca as getEntityColorStyles, cb as getEntityIcon, cc as getEntityLabel, cd as getStatusVariant, ce as getTagTypeIcon, cf as getTagTypeLabel, cg as getWorkspaceColor, ch as isAudioFile, ci as isDownloadOnlyFile, cj as isImageDocument, ck as isImageFile, cl as isMediaFile, cm as isVideoFile, cn as markdownBaseComponents, co as markdownSanitizeSchema, cp as normalizeCitationMarkup, cq as splitMarkdownBlocks, cr as tagKindNouns, cs as tagKindTitle, ct as toggleVariants, cu as trimOpenCitation, cv as useDictateContext, cw as usePortalContainer, cx as usesOriginalBytesForViewer } from './index-BV7pBlgY.cjs';
13
+ import { as as IdentityStatus, aq as IdentityPurchase, at as IdentityStep, au as IdentityVerificationFlow, ae as EntityIconComponent } from './index-CDTwtUr9.cjs';
14
+ export { A as AgentBadge, a as AiMarkdown, b as ArbiIcon, c as Avatar, d as AvatarFallback, e as AvatarImage, B as BASE_COLORS, f as Badge, g as BadgeProps, h as Button, i as ButtonProps, C as Card, j as CardContent, k as CardDescription, l as CardFooter, m as CardHeader, n as CardProps, o as CardTitle, p as Checkbox, q as Collapsible, r as CollapsibleContent, s as CollapsibleTrigger, t as Command, u as CommandDialog, v as CommandEmpty, w as CommandGroup, x as CommandInput, y as CommandItem, z as CommandList, D as CommandSeparator, E as CommandShortcut, F as DebouncedInput, G as DebouncedInputProps, H as Dialog, I as DialogClose, J as DialogContent, K as DialogDescription, L as DialogFooter, M as DialogHeader, N as DialogOverlay, O as DialogPortal, P as DialogPresentation, Q as DialogTitle, R as DialogTrigger, S as DictateContextValue, T as DictateProvider, U as DocumentCard, V as DocumentCardProps, W as DocumentEntity, X as DocumentEntityProps, Y as DocumentLike, Z as DropdownMenu, _ as DropdownMenuCheckboxItem, $ as DropdownMenuContent, a0 as DropdownMenuGroup, a1 as DropdownMenuItem, a2 as DropdownMenuLabel, a3 as DropdownMenuPortal, a4 as DropdownMenuRadioGroup, a5 as DropdownMenuRadioItem, a6 as DropdownMenuSeparator, a7 as DropdownMenuShortcut, a8 as DropdownMenuSub, a9 as DropdownMenuSubContent, aa as DropdownMenuSubTrigger, ab as DropdownMenuTrigger, ac as ENTITY_MAPPINGS, ad as EntityIcon, af as EntityPill, ag as EntityRegistryOverride, ah as EntityType, ai as FileTypeIcon, aj as HoverCard, ak as HoverCardContent, al as HoverCardTrigger, am as IconToggle, an as IconToggleProps, ao as IdentityBusy, ap as IdentityProblem, ar as IdentityState, av as Input, aw as InputProps, ax as Label, ay as MarkMenu, az as MarkMenuItem, aA as MarkMenuProps, aB as MarkdownCode, aC as MarkdownLink, aD as MarkdownRenderer, aE as MarkdownRendererProps, aF as MarkdownStreamingContext, aG as NEUTRAL_GRAY, aH as PLACEHOLDER_COLOR, aI as PassageCard, aJ as PassageCardProps, aK as Popover, aL as PopoverAnchor, aM as PopoverClose, aN as PopoverContent, aO as PopoverTrigger, aP as PortalContainerProvider, aQ as PresenceDisplayStatus, aR as PresenceLabel, aS as Progress, aT as ProjectEntity, aU as ProjectEntityProps, aV as ProjectRelation, aW as RadioGroup, aX as RadioGroupItem, aY as Rag, aZ as RagDot, a_ as RelevanceDot, a$ as ScrollArea, b0 as ScrollBar, b1 as Select, b2 as SelectContent, b3 as SelectGroup, b4 as SelectItem, b5 as SelectLabel, b6 as SelectScrollDownButton, b7 as SelectScrollUpButton, b8 as SelectSeparator, b9 as SelectTrigger, ba as SelectValue, bb as Separator, bc as ShieldIcon, bd as ShieldIconProps, be as Slider, bf as StatusBadgeComponent, bg as StatusBadgeProps, bh as StatusPill, bi as StatusPillProps, bj as StatusVariant, bk as Switch, bl as TAG_TYPE_ICONS, bm as TAG_TYPE_LABELS, bn as Table, bo as TableBody, bp as TableCaption, bq as TableCell, br as TableFooter, bs as TableHead, bt as TableHeader, bu as TableRow, bv as Tabs, bw as TabsContent, bx as TabsList, by as TabsTrigger, bz as TagEntity, bA as TagEntityProps, bB as TagLike, bC as Textarea, bD as TextareaProps, bE as ThreadVisibilityIcon, bF as Toggle, bG as ToggleGroup, bH as ToggleGroupItem, bI as Tooltip, bJ as TooltipContent, bK as TooltipProvider, bL as TooltipTrigger, bM as UserEntity, bN as UserEntityProps, bO as UserMenu, bP as UserMenuItem, bQ as UserMenuProps, bR as UserMenuStatus, bS as VISIBILITY_ICONS, bT as VerifiedBadge, bU as VerifiedBadgeProps, bV as VerifiedToggle, bW as VisibilityIcon, bX as VisibilityToggle, bY as VisibilityToggleProps, bZ as agentAvatarColors, b_ as badgeVariants, b$ as buttonVariants, c0 as cardVariants, c1 as closeOpenEmphasis, c2 as cn, c3 as configureEntityRegistry, c4 as configureRagLabels, c5 as configureStatusRegistry, c6 as createUserAvatarIcon, c7 as extensionFromMime, c8 as formatFriendlyDate, c9 as friendlyFileType, ca as getDocIcon, cb as getDocumentTitle, cc as getEntityColor, cd as getEntityColorStyles, ce as getEntityIcon, cf as getEntityLabel, cg as getFileExtension, ch as getFileTypeIcon, ci as getStatusVariant, cj as getTagTypeIcon, ck as getTagTypeLabel, cl as getUserAvatarColor, cm as getUserDisplayName, cn as getUserInitials, co as getWorkspaceColor, cp as isAgent, cq as isAudioFile, cr as isDownloadOnlyFile, cs as isImageDocument, ct as isImageFile, cu as isMediaFile, cv as isVideoFile, cw as markdownBaseComponents, cx as markdownSanitizeSchema, cy as normalizeCitationMarkup, cz as splitMarkdownBlocks, cA as tagKindNouns, cB as tagKindTitle, cC as toggleVariants, cD as trimOpenCitation, cE as useDictateContext, cF as usePortalContainer, cG as usesOriginalBytesForViewer } from './index-CDTwtUr9.cjs';
15
15
  import { VerificationResult } from '@didit-protocol/sdk-web';
16
16
  import { LucideIcon } from 'lucide-react';
17
17
  import { Components } from 'react-markdown';
@@ -9535,6 +9535,12 @@ declare function useUpdateDocuments(): _tanstack_react_query.UseMutationResult<{
9535
9535
  doctags: components["schemas"]["DocTagResponse"][];
9536
9536
  doc_metadata?: components["schemas"]["DocMetadata"] | null;
9537
9537
  }[], Error, UpdateDocumentsInput, OptimisticDocumentEdit | undefined>;
9538
+ /**
9539
+ * Rename or move a folder: each of `documents` beneath `from` moves under `to`, keeping the
9540
+ * structure below it. The batch write does not return an email's attachments, so every cached row
9541
+ * beneath `from` moves too. Resolves to how many documents were written.
9542
+ */
9543
+ declare function useRenameFolder(): (documents: WorkspaceDocument[], from: string[], to: string[]) => Promise<number>;
9538
9544
  /**
9539
9545
  * Delete documents (each with all its versions; an email with its attachments). They leave every
9540
9546
  * list, what was cached about them is forgotten, and the workspaces' file counts re-read.
@@ -9629,7 +9635,23 @@ interface QueuedDocument {
9629
9635
  fileName: string;
9630
9636
  version: number;
9631
9637
  }
9638
+ /** A document's live processing, as the host follows it (a `task_update` and what it adds). */
9639
+ interface ProcessingTask {
9640
+ doc_ext_id: string;
9641
+ status: string;
9642
+ progress?: number | null;
9643
+ workspace_ext_id?: string | null;
9644
+ file_name?: string | null;
9645
+ failed_stage?: string | null;
9646
+ }
9632
9647
  interface DocumentsSupport {
9648
+ /**
9649
+ * Every document's live processing, as a hook (a stable function for the provider's life).
9650
+ * Without one, the package's own WebSocket store (`ArbiWebSocketProvider`) is read.
9651
+ */
9652
+ useProcessingTasks?: () => Readonly<Record<string, ProcessingTask>>;
9653
+ /** One document's live processing, as a hook: re-renders only when that document's changes. */
9654
+ useProcessingTask?: (docId: string) => ProcessingTask | undefined;
9633
9655
  /**
9634
9656
  * A document's processing status as the host last heard it live. A finished status heard live is
9635
9657
  * kept over an older one a re-read returns (the server may not have committed it yet).
@@ -9646,6 +9668,168 @@ declare function DocumentsSupportProvider({ support, children, }: {
9646
9668
  }): React$1.JSX.Element;
9647
9669
  /** The host's document support (empty without a provider). */
9648
9670
  declare function useDocumentsSupport(): DocumentsSupport;
9671
+ /** Every document's live processing (the host's, else the package WebSocket store's). */
9672
+ declare function useProcessingTasks(): Readonly<Record<string, ProcessingTask>>;
9673
+ /** One document's live processing (the host's, else the package WebSocket store's). */
9674
+ declare function useProcessingTask(docId: string): ProcessingTask | undefined;
9675
+
9676
+ /**
9677
+ * A document's fields as the lists show them: the metadata the pipeline extracts (date, type,
9678
+ * author, abstract), whether it can join a conversation, and its folder path in canonical form
9679
+ * (the form folder filters and the explorer navigate by).
9680
+ */
9681
+
9682
+ /**
9683
+ * Whether a document can be added to a conversation. This is the single source
9684
+ * of truth shared by the add flow (`useAddToConversation`) and any UI that
9685
+ * counts/enables an "Add" affordance — so a badge never advertises a document
9686
+ * that the add flow will silently refuse (e.g. a 'skipped' document).
9687
+ */
9688
+ declare const isDocumentAddableToConversation: (document: WorkspaceDocument | null | undefined) => boolean;
9689
+ /**
9690
+ * Gets the date of a document from doc_metadata.
9691
+ * @param document Document to get date from
9692
+ * @returns Document date string or undefined
9693
+ */
9694
+ declare const getDocumentDate: (document: WorkspaceDocument | null | undefined) => string | null | undefined;
9695
+ /**
9696
+ * Format a doc_date for display. Date-only values ("YYYY-MM-DD") are shown as-is;
9697
+ * full datetimes (e.g. emails, "...T14:30:00Z") are shown as "YYYY-MM-DD HH:MM"
9698
+ * in local time. Invalid/empty values return an empty string.
9699
+ */
9700
+ declare const formatDocDate: (value?: string | null) => string;
9701
+ /**
9702
+ * Gets the document nature (type) from doc_metadata.
9703
+ * @param document Document to get nature from
9704
+ * @returns Document nature (e.g., email, contract, memorandum) or undefined
9705
+ */
9706
+ declare const getDocumentNature: (document: WorkspaceDocument | null | undefined) => string | null | undefined;
9707
+ /**
9708
+ * Gets the document author from doc_metadata.
9709
+ * @param document Document to get author from
9710
+ * @returns Document author or undefined
9711
+ */
9712
+ declare const getDocumentAuthor: (document: WorkspaceDocument | null | undefined) => string | null | undefined;
9713
+ /**
9714
+ * Gets the document subject from doc_metadata.
9715
+ * @param document Document to get subject from
9716
+ * @returns Document subject or undefined
9717
+ */
9718
+ declare const getDocumentSubject: (document: WorkspaceDocument | null | undefined) => string | null | undefined;
9719
+ /**
9720
+ * Default metadata tags that are automatically applied to all documents during indexing.
9721
+ * These are generated by AI during document processing and cannot be disabled.
9722
+ * Keep in sync with backend DocTagLLMConfig.DEFAULT_METADATA_TAGS
9723
+ */
9724
+ declare const DEFAULT_METADATA_TAGS: readonly [{
9725
+ readonly name: "doc_date";
9726
+ readonly label: "Date";
9727
+ }, {
9728
+ readonly name: "doc_nature";
9729
+ readonly label: "Type";
9730
+ }, {
9731
+ readonly name: "doc_author";
9732
+ readonly label: "Author";
9733
+ }, {
9734
+ readonly name: "doc_subject";
9735
+ readonly label: "Abstract";
9736
+ }];
9737
+ /**
9738
+ * Canonicalizes a `Doc.folder` path: trims each segment and drops empty ones,
9739
+ * returning null for a blank path. Drive-synced folders use provider names
9740
+ * verbatim, which can carry stray whitespace ("Google Drive (u)/Reports ");
9741
+ * the explorer navigates via trimmed segments, so folder filter IDs and
9742
+ * navigation keys must agree on this canonical form.
9743
+ */
9744
+ declare const canonicalFolderPath: (folder: string | null | undefined) => string | null;
9745
+ /** One row of a folder picker: the folder itself plus every ancestor above it. */
9746
+ interface FolderTreeNode {
9747
+ /** Canonical path — the same form folder filter IDs are built from. */
9748
+ path: string;
9749
+ /** Last segment, for display. */
9750
+ label: string;
9751
+ /** How far down the tree, for indentation. */
9752
+ depth: number;
9753
+ /** Documents at or below this folder. */
9754
+ count: number;
9755
+ }
9756
+ /**
9757
+ * Builds the folder rows a picker shows, from the documents themselves.
9758
+ *
9759
+ * Every path here is canonical, and that is the point: a folder filter ID is
9760
+ * `folder:${canonicalFolderPath(doc.folder)}`, and an ID outside that set is
9761
+ * dropped as invalid — so a picker that emitted the raw path (" Reports / Q1 ",
9762
+ * or "/Inbox" with its phantom blank root) would send the view back to "All"
9763
+ * instead of into the folder the user clicked.
9764
+ */
9765
+ declare const buildFolderTree: (docs: {
9766
+ folder?: string | null;
9767
+ }[]) => {
9768
+ nodes: FolderTreeNode[];
9769
+ unfiledCount: number;
9770
+ };
9771
+ /**
9772
+ * Formats a folder path for display: "Reports/Q1/January" → "../../January"
9773
+ * Shows depth via `../` prefixes and only the last segment name.
9774
+ * @param path Folder path string (slash-separated)
9775
+ * @returns Formatted display label
9776
+ */
9777
+ declare const formatFolderLabel: (path: string | null | undefined) => string;
9778
+ /**
9779
+ * Fallback labels for standard document columns when grid isn't ready yet.
9780
+ * These match the headerName values in createDocumentColumns.tsx.
9781
+ */
9782
+ declare const COLUMN_LABEL_FALLBACKS: Record<string, string>;
9783
+
9784
+ /**
9785
+ * Document download building blocks shared by the documents ZIP (`useDownloadDocuments`) and a
9786
+ * workspace export archive: name a file and the archive, and build the metadata rows of
9787
+ * `index.csv`. Fetching and saving are the document tools' `fetchDocumentFile` and `downloadBlob`.
9788
+ */
9789
+
9790
+ /** The ZIP entry name for a document when the server did not name it. */
9791
+ declare function fallbackFileName(doc: WorkspaceDocument): string;
9792
+ /**
9793
+ * One `index.csv` row per document for the chosen columns (`undefined` = every
9794
+ * standard column). A `tag-…` column holds that tag's value, or "Yes" for a
9795
+ * label without one.
9796
+ */
9797
+ declare function buildDocumentMetadataRows(documents: WorkspaceDocument[], selectedColumns?: string[]): Record<string, string | number>[];
9798
+ /** `2026-10-15_My_Workspace_<suffix>.zip` */
9799
+ declare function archiveName(workspaceName: string | undefined, suffix: string): string;
9800
+
9801
+ /**
9802
+ * Downloading documents: one file as stored, or several as a ZIP (the files, plus an `index.csv`
9803
+ * of their metadata unless asked for files only). Used by the explorer (a file, a folder) and the
9804
+ * documents table. Progress and outcome are told through `notify`.
9805
+ */
9806
+
9807
+ interface UseDownloadDocumentsOptions {
9808
+ /** Names the ZIP. */
9809
+ workspaceName?: string;
9810
+ }
9811
+ declare function useDownloadDocuments({ workspaceName }?: UseDownloadDocumentsOptions): {
9812
+ downloadDocuments: (documents: WorkspaceDocument[], selectedColumns?: string[]) => Promise<void>;
9813
+ downloadDocument: (doc: WorkspaceDocument) => Promise<void>;
9814
+ isDownloading: boolean;
9815
+ };
9816
+
9817
+ /**
9818
+ * Windowed thumbnail loader for a gallery of documents.
9819
+ *
9820
+ * - The caller passes only the **visible** document ids (a virtualised window plus overscan), not
9821
+ * the whole folder. They are fetched in batches — never one request per document.
9822
+ * - Results accumulate in a map that survives scrolling, so an id is fetched at most once;
9823
+ * scrolling fetches only the newly revealed ids.
9824
+ * - A freshly uploaded document's thumbnail exists once its processing finishes. Nothing polls:
9825
+ * a visible document reaching a finished status (its live processing, `useProcessingTasks`) is
9826
+ * fetched once at that moment. One that finishes with no thumbnail (video, audio, a failed
9827
+ * render) is not asked for again — until it is processed again, which is how a missing
9828
+ * thumbnail gets generated: going back into processing forgets what was known about it.
9829
+ * - Thumbnails come as `data:image/webp` URIs, used directly as `<img src>`.
9830
+ */
9831
+ /** A `Map<docId, dataUri>` of thumbnails for the visible documents, growing as they scroll. */
9832
+ declare function useDocumentThumbnails(visibleIds: string[]): Map<string, string>;
9649
9833
 
9650
9834
  /**
9651
9835
  * DocumentTable — a reusable AG Grid (community) block that renders a
@@ -10434,4 +10618,4 @@ declare function useArbiSessionStore(): ArbiSessionStore;
10434
10618
  */
10435
10619
  declare function useArbiSessionState<T>(selector: (state: ArbiSessionState) => T): T;
10436
10620
 
10437
- export { ALLOWED_PORTAL_ORIGINS, AUDIO_MIME_PREFERENCE, type AccountClient, type AccountClientContextValue, AccountClientProvider, type AccountClientProviderProps, type AccountSession, type AccountSignOutOptions, type ActivityContent, type ActivityDescription, ActivityFeed, type ActivityFeedProps, type AddWorkspaceMembersRequest, type AgentAccessMode, type AgentConfigSections, type AggregatedDailyUsage, type AggregatedModelGroupUsage, AiActionCard, AiAnswer, type AiRunOptions, type AiTaskStatus, AppleIcon, ArbiBotHeadIcon, ArbiBotIcon, type ArbiChat, type ArbiChatCitation, type ArbiChatDocument, type ArbiChatMessage, type ArbiChatMessageStatus, type ArbiChatPassage, type ArbiChatRole, type ArbiChatThread, type ArbiConversationDocument, type ArbiConversationGeneration, type ArbiDocumentViewerState, ArbiProvider, type ArbiProviderProps, type ArbiSessionState, ArbiSessionStateProvider, type ArbiSessionStateProviderProps, type ArbiSessionStore, type ArbiViewerTab, type ArbiViewingDocument, type ArbiViewingDocumentInput, ArbiWebSocketProvider, type ArbiWebSocketProviderProps, type ArbiWsState, type ArbiWsStatus, ArtifactCanvas, type AspectOption, type AssignDocTagsInput, AudIcon, type AudioRecorderState, type AudioSegment, type AvatarCrop, type AvatarFileProblem, BOX_SEAT_REFUSED, BOX_SEAT_REFUSED_ACTION, BOX_SEAT_REFUSED_TITLE, type CalendarConnectorSupport, type CalendarOfflineSupport, type CalendarPendingWrite, type CalendarSupport, CalendarSupportProvider, type CalendarWriteOp, ChatBubble, type ChatBubbleProps, type Chunk, type ChunkActivation, type ChunkedRecorder, type ChunkedRecorderOptions, CitationRenderer, type CitationRendererProps, type CitationState, ClaudeIcon, CommandPalette, type CommandPaletteClassNames, type CommandPaletteProps, CommandPaletteProvider, type CommandPaletteProviderProps, type CommandPaletteValue, ConversationList, type ConversationListProps, type CreateProjectVars, type CreateTagInput, type CropArea, type CropOutput, type CropResult, DEFAULT_ASPECT_OPTIONS, DEFAULT_DOCUMENT_VIEWER_STATE, DEFAULT_PASSWORD_CHANGE_FORM_MESSAGES, DEFAULT_SEGMENTER_CONFIG, DEFAULT_START_BY_EMAIL_LABELS, DOCUMENTS_FIRST_PAGE_MEASURE, DOCUMENTS_FIRST_PAGE_SIZE, DOCUMENTS_PAGE_SIZE, DateSeparator, type DateSeparatorProps, type DeleteAccountBlocker, type DeleteAccountFlow, type DescribeServerNotificationOptions, DirectMessages, type DirectMessagesProps, DmAvatar, type DmAvatarProps, type DmClassNames, DmComposer, type DmComposerProps, type DmConversation, type DmMessage, type DmUser, DocIcon, DocQaPanel, DocSearch, DocumentCardMenu, type DocumentCardMenuProps, DocumentGallery, type DocumentGalleryProps, DocumentReview, type DocumentReviewProps, type DocumentRowChange, DocumentTable, type DocumentTableProps, type DocumentsSupport, DocumentsSupportProvider, DraftTitleControls, type DraftTitleControlsProps, EMPTY_SESSION_STATE, type EmailChange, type EmailPreferences, EmlIcon, type EnableDriveSyncVars, type EnableMailboxSyncVars, EntityIconComponent, FILE_TYPE_COLORS, FINISHED_DOCUMENT_STATUSES, type FactListFilter, FileIcon, FireworksIcon, type FollowSaveCallbacks, GeminiIcon, type GenerateDocTagsInput, GitHubIcon, GoogleIcon, type GrantAgentAccessVars, HtmlIcon, INITIAL_SEGMENTER_STATE, IdentityPurchase, IdentityStatus, IdentityStep, type IdentityVerificationApi, IdentityVerificationFlow, ImageCropModal, type ImageCropModalProps, ImageCropper, type ImageCropperProps, ImgIcon, InlineMicButton, type InlineMicButtonProps, LinkedInIcon, MAIL_DRAFT_REPLACED_EVENT, MAX_AVATAR_FILE_BYTES, type MailAccount, type MailAddress, type MailAttachment, type MailClient, type MailClientContextValue, MailClientProvider, type MailClientProviderProps, type MailCompose, type MailDeliveryRecipient, type MailDeliveryStatus, type MailDeviceFallback, type MailDraftEditorRequest, type MailDraftEditorSession, type MailFetch, type MailFolder, type MailMessage, type MailMessageUpdate, MailOfflineUnavailableError, type MailPage, type MailPolicy, type MailProject, type MessageArtifact, MessageArtifactCard, MessageBubble, type MessageBubbleProps, MessageThread, type MessageThreadProps, MicRecordingOverlay, type MicRecordingOverlayProps, MicWaveformIndicator, type MicWaveformIndicatorProps, type MountDiditOptions, type NameEditor, type NotificationPreferencesModel, type NotificationTarget, type NotificationTypeMeta, NotifyVariant, OpenAIIcon, type OptimisticDocumentEdit, type OrderResolver, POLL_EVERY_MS, PROJECT_CREATION_DENIED_REASON, type PaletteNavItem, type ParsedChunk, type ParsedChunkMetadata, type ParsedDocument, type ParsedDocumentMetadata, type PassageResolvers, type PasswordChangeForm, type PasswordChangeFormMessages, type PasswordChangeVars, PdfIcon, PhotoCapture, type PhotoCaptureProps, type ProfileView, type ProjectsUsageAggregate, ProviderIcon, type QueuedCalendarWrite, type QueuedDocument, type QuoteResolver, RUN_WINDOW_MS, type RecordedChunk, type RefreshDocumentsOptions, type RelevancePatch, type RemoveDocTagsInput, type RenderMarkdown, SIGNATURE_NOTIFICATION_TYPES, SIMILARITY_THRESHOLD, SLOW_AFTER_MS, STILL_WORKING, type SaveAgentConfigVars, type SearchMode, SearchSession, SearchStatus, type SegmenterConfig, type SegmenterEvent, type SegmenterState, type SemanticSearch, type SemanticSearchOptions, type ServerNotificationDescription, type ShellRecentWorkspaceItem, type ShellWorkspaceItem, type ShellWorkspaceKind, type ShellWorkspaceMember, type ShellWorkspaceSeed, type ShellWorkspaceSource, type SignatureNotificationType, StartByEmail, type StartByEmailLabels, type StartByEmailProps, type ThreadAccessors, type ThreadItem, type ToolResponses, TxtIcon, TypingIndicator, type UpdateDocTagInput, type UpdateDocumentsInput, type UpdateProfileVars, type UploadDocumentsInput, type UploadUrlsInput, type UsageTotals, type UseArbiChatOptions, type UseArbiShellWorkspacesOptions, type UseAudioRecorderOptions, type UseAudioRecorderResult, type UseAvatarCropOptions, type UseCameraStreamResult, type UseDeleteAccountFlowOptions, type UseDirectMessagesResult, type UseEmailChangeOptions, type UseIdentityVerificationFlowOptions, type UseNameEditorOptions, type UsePasswordChangeFormOptions, type UseShellWorkspacesOptions, type UseShellWorkspacesResult, type UseVideoRecorderResult, type UserSettingsPatch, VIDEO_MIME_PREFERENCE, VidIcon, VideoCapture, type VideoCaptureProps, type VideoRecorderState, VoiceNoteRecorder, type VoiceNoteRecorderProps, WORK_NOTIFICATION_LABELS, type WorkspaceDocument, type WorkspaceMember, type WorkspaceNotificationLevel, type WorkspaceRole, type WorkspaceUpdate, XlsIcon, accountPath, adjustTagCounts, aliasTakenMessage, annotateThread, announceMailDraftReplaced, applyOptimisticDocumentEdit, arbiAccountClient, arbiMailClient, arbiMutationKeys, arbiQueryKeys, calendarQueryKeys, callNotificationMeta, captureFrameAsBlob, classifyMediaError, connectOAuthCalendarAccount, connectorErrorStatus, connectorQueryKeys, connectorReturnTo, createArbiSessionStore, createChunkedRecorder, createMailClient, cropImage, dayKey, defaultMailAlias, deploymentUserMeta, describeActivity, describeServerNotification, documentActivityMeta, documentActivityPhrase, documentDisplayName, docxMentionMeta, downloadRecoveryFile, fileAttachment, flushSegmenter, forgetDocuments, formatElapsed, formatIdentityPrice, formatRelativeTime, getCachedDocuments, getNotificationTypeMeta, getWorkspaceActionText, getWorkspaceKind, getWorkspaceSentPhrase, hasVideoTrack, identityStepFor, inputRequestTitle, invalidateCalendarEvents, invalidateCalendars, invalidateTagData, invalidateTagTables, isAliasTakenError, isDeploymentAdmin, isDeploymentUserNotification, isDocumentsLoading, isOfflineReadableArbiQuery, isQueuedCalendarWrite, isReplayableArbiMutation, isRestorableArbiQueryOnline, isSignatureNotificationType, isUsageMetered, isWorkspaceNotificationType, levelFromRms, mailDraftIdFromContent, mailJson, mailQueryKeys, mountDiditVerification, nextAliasSuggestion, nextViewingDocument, notificationUserName, parseActivityContent, parseDeleteAccountBlockers, patchCachedDocument, patchDocuments, patchWorkspaceTags, pickRecentWorkspaces, pickRecorderMimeType, redlineStats, refreshDocuments, registerArbiMutationDefaults, resetCalendarAccountSyncState, resolveActiveWorkspace, rollbackOptimisticDocumentEdit, safePortalUrl, selectIsGenerating, selectViewingDocumentId, setCachedDocument, signatureNotificationPhrase, signatureRequestMeta, stepSegmenter, stopDocumentsLoading, subscribeDocumentRows, supportsHouseTemplates, textToArtifact, titleFromQuestion, toChatCitations, toNotificationPreferences, toProfileView, toRedlineMarkdown, toShellWorkspace, upsertDocuments, useAccountClient, useActOnStep, useActivity, useAddHolidayCalendar, useAddProjectAddonBlock, useAddWorkspaceMembers, useAddonQuote, useAgentChats, useAgentConfig, useAgentModels, useAgentSession, useAgentWorkspaces, useAgents, useAiTask, useArbi, useArbiChat, useArbiConnected, useArbiDocumentSync, useArbiSessionState, useArbiSessionStore, useArbiShellWorkspaces, useArbiWebSocket, useArbiWsContext, useArbiWsMessage, useArbiWsStatus, useArbiWsStore, useArbiWsTask, useArbiWsTasks, useAssignDocTags, useAssistantQuery, useAudioRecorder, useAuthorizeLimits, useAvailableModels, useAvatarCrop, useBookingPages, useCalDavProfiles, useCalendarAccounts, useCalendarEvent, useCalendarEventByUid, useCalendarEvents, useCalendarInvitations, useCalendarOutbox, useCalendarOverlays, useCalendarSettings, useCalendarShares, useCalendarSupport, useCalendars, useCameraStream, useCanCreateProjects, useCancelDriveSync, useCancelMailboxSync, useCancelProjectSubscription, useChangeProjectPlan, useChargeWatch, useClaimNativeAlias, useCloseAgentSession, useCommandPalette, useConfigs, useConfirmEmailChange, useConnectCalDavAccount, useConnectMailAccount, useConnectOAuthAccount, useConnectorAutoSync, useConnectorCatalog, useConnectorVendorVisibility, useContacts, useConversationActivity, useConversationPendingAuth, useConversationThreads, useConversationUsage, useConversations, useCreateAgent, useCreateCalendar, useCreateContact, useCreateEvent, useCreateFact, useCreateFacts, useCreateProject, useCreateProjectCheckout, useCreateRoom, useCreateTag, useCreateWork, useCreateWorkflow, useCurrentSessionId, useCurrentUser, useDecideCounter, useDeleteAccount, useDeleteAccountFlow, useDeleteAgents, useDeleteBookingPage, useDeleteCalendar, useDeleteContact, useDeleteDocuments, useDeleteEvent, useDeleteFact, useDeleteNotifications, useDeleteProject, useDeleteSkill, useDeleteTag, useDeleteWorkflow, useDeleteWorkspaces, useDeploymentDomain, useDirectMessages, useDisconnectCalendarAccount, useDisconnectConnector, useDisconnectMailAccount, useDisconnectSlack, useDocument, useDocumentVersionList, useDocuments, useDocumentsById, useDocumentsLoading, useDocumentsSupport, useDriveFolderChildren, useDriveFolderDocCount, useDriveFolders, useDriveSyncEstimate, useDriveSyncProgress, useEmailChange, useEnableDriveSync, useEnableMailboxSync, useExtractEntities, useFacts, useFetchCalendarEvent, useFilteredProjects, useFinaliseTranslation, useFindTime, useFirmPool, useFollowThread, useFreeBusy, useGenerateAgentAvatar, useGenerateDocTags, useGrantAgentAccess, useHealth, useHolidayCountries, useHouseTemplateCandidates, useIdentityVerification, useIdentityVerificationFlow, useImportCalendar, useInvalidateProjects, useInvalidateTagData, useInviteContacts, useIsSlow, useMailAccounts, useMailAttachmentText, useMailCache, useMailClient, useMailDraftCompose, useMailDraftEditor, useMailDraftReplaced, useMailFolders, useMailMessage, useMailMessages, useMailOnline, useMailPolicy, useMailProjects, useMailUnlock, useMailboxFolders, useMailboxSyncProgress, useMarkNotificationsRead, useMcpTools, useMoveEvent, useMyConnectors, useNameEditor, useNotificationPreferences, useNotifications, useParsedDocument, usePassageQuotes, usePasswordChange, usePasswordChangeForm, usePendingContacts, usePlanQuote, usePlanWork, usePreviewProjectPlanChange, useProducts, useProfile, useProjectBillingPortal, useProjectConversationUsage, useProjectEvents, useProjectInvoices, useProjectUsage, useProjects, useProjectsUsage, usePublishCalendar, useRefreshCalendar, useRefreshConnectorsOnRunEnd, useRefreshProject, useRemoveDocTags, useRemoveWorkspaceMembers, useRequestEmailChange, useRespondToEvent, useResumeCalendarAccountConnect, useRevokeAgentAccess, useRooms, useRunConversation, useRunWorkflow, useSaveAgentConfig, useSaveBookingPage, useSaveCalendarSettings, useSaveMailDraft, useSearchContacts, useSearchFacts, useSemanticSearch, useSendBackStep, useSendMail, useSessions, useSetSkillVisibility, useSetTagValues, useSetWorkspaceHouseTemplate, useSetWorkspaceMemberRoles, useShareCalendar, useShellWorkspaces, useSignOut, useSimilarDocuments, useSkillSource, useSkills, useSlackConnection, useStartAgentSession, useStartCalendarAccountOAuth, useStartWorkQuery, useSubscribeCalendar, useSyncAccountsOnOpen, useSyncCalendarAccount, useTagKindSchema, useTags, useTerminateSession, useThumbnails, useTopUpFirmPool, useTriggerDriveSync, useTriggerMailboxSync, useUnshareCalendar, useUpdateCalendar, useUpdateCalendarAccount, useUpdateContact, useUpdateConversation, useUpdateDocTag, useUpdateDocuments, useUpdateEvent, useUpdateFact, useUpdateMailMessage, useUpdateProfile, useUpdateProjectAddonSettings, useUpdateProjectFields, useUpdateProjectNextPeriodAddons, useUpdateTag, useUpdateTagKindSchema, useUpdateUserSettings, useUpdateWorkflow, useUpdateWorkspace, useUploadDocuments, useUploadSkillFiles, useUploadUrls, useUserSettings, useUserUsageToday, useVideoRecorder, useWorkNotifications, useWorkflowRuns, useWorkflows, useWorkspaceActivity, useWorkspaceDocs, useWorkspaceNotificationLevel, useWorkspaceUsers, useWorkspaces, userDisplayName, userInitials, workflowStepOf, workspaceHouseTemplateId };
10621
+ export { ALLOWED_PORTAL_ORIGINS, AUDIO_MIME_PREFERENCE, type AccountClient, type AccountClientContextValue, AccountClientProvider, type AccountClientProviderProps, type AccountSession, type AccountSignOutOptions, type ActivityContent, type ActivityDescription, ActivityFeed, type ActivityFeedProps, type AddWorkspaceMembersRequest, type AgentAccessMode, type AgentConfigSections, type AggregatedDailyUsage, type AggregatedModelGroupUsage, AiActionCard, AiAnswer, type AiRunOptions, type AiTaskStatus, AppleIcon, ArbiBotHeadIcon, ArbiBotIcon, type ArbiChat, type ArbiChatCitation, type ArbiChatDocument, type ArbiChatMessage, type ArbiChatMessageStatus, type ArbiChatPassage, type ArbiChatRole, type ArbiChatThread, type ArbiConversationDocument, type ArbiConversationGeneration, type ArbiDocumentViewerState, ArbiProvider, type ArbiProviderProps, type ArbiSessionState, ArbiSessionStateProvider, type ArbiSessionStateProviderProps, type ArbiSessionStore, type ArbiViewerTab, type ArbiViewingDocument, type ArbiViewingDocumentInput, ArbiWebSocketProvider, type ArbiWebSocketProviderProps, type ArbiWsState, type ArbiWsStatus, ArtifactCanvas, type AspectOption, type AssignDocTagsInput, AudIcon, type AudioRecorderState, type AudioSegment, type AvatarCrop, type AvatarFileProblem, BOX_SEAT_REFUSED, BOX_SEAT_REFUSED_ACTION, BOX_SEAT_REFUSED_TITLE, COLUMN_LABEL_FALLBACKS, type CalendarConnectorSupport, type CalendarOfflineSupport, type CalendarPendingWrite, type CalendarSupport, CalendarSupportProvider, type CalendarWriteOp, ChatBubble, type ChatBubbleProps, type Chunk, type ChunkActivation, type ChunkedRecorder, type ChunkedRecorderOptions, CitationRenderer, type CitationRendererProps, type CitationState, ClaudeIcon, CommandPalette, type CommandPaletteClassNames, type CommandPaletteProps, CommandPaletteProvider, type CommandPaletteProviderProps, type CommandPaletteValue, ConversationList, type ConversationListProps, type CreateProjectVars, type CreateTagInput, type CropArea, type CropOutput, type CropResult, DEFAULT_ASPECT_OPTIONS, DEFAULT_DOCUMENT_VIEWER_STATE, DEFAULT_METADATA_TAGS, DEFAULT_PASSWORD_CHANGE_FORM_MESSAGES, DEFAULT_SEGMENTER_CONFIG, DEFAULT_START_BY_EMAIL_LABELS, DOCUMENTS_FIRST_PAGE_MEASURE, DOCUMENTS_FIRST_PAGE_SIZE, DOCUMENTS_PAGE_SIZE, DateSeparator, type DateSeparatorProps, type DeleteAccountBlocker, type DeleteAccountFlow, type DescribeServerNotificationOptions, DirectMessages, type DirectMessagesProps, DmAvatar, type DmAvatarProps, type DmClassNames, DmComposer, type DmComposerProps, type DmConversation, type DmMessage, type DmUser, DocIcon, DocQaPanel, DocSearch, DocumentCardMenu, type DocumentCardMenuProps, DocumentGallery, type DocumentGalleryProps, DocumentReview, type DocumentReviewProps, type DocumentRowChange, DocumentTable, type DocumentTableProps, type DocumentsSupport, DocumentsSupportProvider, DraftTitleControls, type DraftTitleControlsProps, EMPTY_SESSION_STATE, type EmailChange, type EmailPreferences, EmlIcon, type EnableDriveSyncVars, type EnableMailboxSyncVars, EntityIconComponent, FILE_TYPE_COLORS, FINISHED_DOCUMENT_STATUSES, type FactListFilter, FileIcon, FireworksIcon, type FolderTreeNode, type FollowSaveCallbacks, GeminiIcon, type GenerateDocTagsInput, GitHubIcon, GoogleIcon, type GrantAgentAccessVars, HtmlIcon, INITIAL_SEGMENTER_STATE, IdentityPurchase, IdentityStatus, IdentityStep, type IdentityVerificationApi, IdentityVerificationFlow, ImageCropModal, type ImageCropModalProps, ImageCropper, type ImageCropperProps, ImgIcon, InlineMicButton, type InlineMicButtonProps, LinkedInIcon, MAIL_DRAFT_REPLACED_EVENT, MAX_AVATAR_FILE_BYTES, type MailAccount, type MailAddress, type MailAttachment, type MailClient, type MailClientContextValue, MailClientProvider, type MailClientProviderProps, type MailCompose, type MailDeliveryRecipient, type MailDeliveryStatus, type MailDeviceFallback, type MailDraftEditorRequest, type MailDraftEditorSession, type MailFetch, type MailFolder, type MailMessage, type MailMessageUpdate, MailOfflineUnavailableError, type MailPage, type MailPolicy, type MailProject, type MessageArtifact, MessageArtifactCard, MessageBubble, type MessageBubbleProps, MessageThread, type MessageThreadProps, MicRecordingOverlay, type MicRecordingOverlayProps, MicWaveformIndicator, type MicWaveformIndicatorProps, type MountDiditOptions, type NameEditor, type NotificationPreferencesModel, type NotificationTarget, type NotificationTypeMeta, NotifyVariant, OpenAIIcon, type OptimisticDocumentEdit, type OrderResolver, POLL_EVERY_MS, PROJECT_CREATION_DENIED_REASON, type PaletteNavItem, type ParsedChunk, type ParsedChunkMetadata, type ParsedDocument, type ParsedDocumentMetadata, type PassageResolvers, type PasswordChangeForm, type PasswordChangeFormMessages, type PasswordChangeVars, PdfIcon, PhotoCapture, type PhotoCaptureProps, type ProcessingTask, type ProfileView, type ProjectsUsageAggregate, ProviderIcon, type QueuedCalendarWrite, type QueuedDocument, type QuoteResolver, RUN_WINDOW_MS, type RecordedChunk, type RefreshDocumentsOptions, type RelevancePatch, type RemoveDocTagsInput, type RenderMarkdown, SIGNATURE_NOTIFICATION_TYPES, SIMILARITY_THRESHOLD, SLOW_AFTER_MS, STILL_WORKING, type SaveAgentConfigVars, type SearchMode, SearchSession, SearchStatus, type SegmenterConfig, type SegmenterEvent, type SegmenterState, type SemanticSearch, type SemanticSearchOptions, type ServerNotificationDescription, type ShellRecentWorkspaceItem, type ShellWorkspaceItem, type ShellWorkspaceKind, type ShellWorkspaceMember, type ShellWorkspaceSeed, type ShellWorkspaceSource, type SignatureNotificationType, StartByEmail, type StartByEmailLabels, type StartByEmailProps, type ThreadAccessors, type ThreadItem, type ToolResponses, TxtIcon, TypingIndicator, type UpdateDocTagInput, type UpdateDocumentsInput, type UpdateProfileVars, type UploadDocumentsInput, type UploadUrlsInput, type UsageTotals, type UseArbiChatOptions, type UseArbiShellWorkspacesOptions, type UseAudioRecorderOptions, type UseAudioRecorderResult, type UseAvatarCropOptions, type UseCameraStreamResult, type UseDeleteAccountFlowOptions, type UseDirectMessagesResult, type UseDownloadDocumentsOptions, type UseEmailChangeOptions, type UseIdentityVerificationFlowOptions, type UseNameEditorOptions, type UsePasswordChangeFormOptions, type UseShellWorkspacesOptions, type UseShellWorkspacesResult, type UseVideoRecorderResult, type UserSettingsPatch, VIDEO_MIME_PREFERENCE, VidIcon, VideoCapture, type VideoCaptureProps, type VideoRecorderState, VoiceNoteRecorder, type VoiceNoteRecorderProps, WORK_NOTIFICATION_LABELS, type WorkspaceDocument, type WorkspaceMember, type WorkspaceNotificationLevel, type WorkspaceRole, type WorkspaceUpdate, XlsIcon, accountPath, adjustTagCounts, aliasTakenMessage, annotateThread, announceMailDraftReplaced, applyOptimisticDocumentEdit, arbiAccountClient, arbiMailClient, arbiMutationKeys, arbiQueryKeys, archiveName, buildDocumentMetadataRows, buildFolderTree, calendarQueryKeys, callNotificationMeta, canonicalFolderPath, captureFrameAsBlob, classifyMediaError, connectOAuthCalendarAccount, connectorErrorStatus, connectorQueryKeys, connectorReturnTo, createArbiSessionStore, createChunkedRecorder, createMailClient, cropImage, dayKey, defaultMailAlias, deploymentUserMeta, describeActivity, describeServerNotification, documentActivityMeta, documentActivityPhrase, documentDisplayName, docxMentionMeta, downloadRecoveryFile, fallbackFileName, fileAttachment, flushSegmenter, forgetDocuments, formatDocDate, formatElapsed, formatFolderLabel, formatIdentityPrice, formatRelativeTime, getCachedDocuments, getDocumentAuthor, getDocumentDate, getDocumentNature, getDocumentSubject, getNotificationTypeMeta, getWorkspaceActionText, getWorkspaceKind, getWorkspaceSentPhrase, hasVideoTrack, identityStepFor, inputRequestTitle, invalidateCalendarEvents, invalidateCalendars, invalidateTagData, invalidateTagTables, isAliasTakenError, isDeploymentAdmin, isDeploymentUserNotification, isDocumentAddableToConversation, isDocumentsLoading, isOfflineReadableArbiQuery, isQueuedCalendarWrite, isReplayableArbiMutation, isRestorableArbiQueryOnline, isSignatureNotificationType, isUsageMetered, isWorkspaceNotificationType, levelFromRms, mailDraftIdFromContent, mailJson, mailQueryKeys, mountDiditVerification, nextAliasSuggestion, nextViewingDocument, notificationUserName, parseActivityContent, parseDeleteAccountBlockers, patchCachedDocument, patchDocuments, patchWorkspaceTags, pickRecentWorkspaces, pickRecorderMimeType, redlineStats, refreshDocuments, registerArbiMutationDefaults, resetCalendarAccountSyncState, resolveActiveWorkspace, rollbackOptimisticDocumentEdit, safePortalUrl, selectIsGenerating, selectViewingDocumentId, setCachedDocument, signatureNotificationPhrase, signatureRequestMeta, stepSegmenter, stopDocumentsLoading, subscribeDocumentRows, supportsHouseTemplates, textToArtifact, titleFromQuestion, toChatCitations, toNotificationPreferences, toProfileView, toRedlineMarkdown, toShellWorkspace, upsertDocuments, useAccountClient, useActOnStep, useActivity, useAddHolidayCalendar, useAddProjectAddonBlock, useAddWorkspaceMembers, useAddonQuote, useAgentChats, useAgentConfig, useAgentModels, useAgentSession, useAgentWorkspaces, useAgents, useAiTask, useArbi, useArbiChat, useArbiConnected, useArbiDocumentSync, useArbiSessionState, useArbiSessionStore, useArbiShellWorkspaces, useArbiWebSocket, useArbiWsContext, useArbiWsMessage, useArbiWsStatus, useArbiWsStore, useArbiWsTask, useArbiWsTasks, useAssignDocTags, useAssistantQuery, useAudioRecorder, useAuthorizeLimits, useAvailableModels, useAvatarCrop, useBookingPages, useCalDavProfiles, useCalendarAccounts, useCalendarEvent, useCalendarEventByUid, useCalendarEvents, useCalendarInvitations, useCalendarOutbox, useCalendarOverlays, useCalendarSettings, useCalendarShares, useCalendarSupport, useCalendars, useCameraStream, useCanCreateProjects, useCancelDriveSync, useCancelMailboxSync, useCancelProjectSubscription, useChangeProjectPlan, useChargeWatch, useClaimNativeAlias, useCloseAgentSession, useCommandPalette, useConfigs, useConfirmEmailChange, useConnectCalDavAccount, useConnectMailAccount, useConnectOAuthAccount, useConnectorAutoSync, useConnectorCatalog, useConnectorVendorVisibility, useContacts, useConversationActivity, useConversationPendingAuth, useConversationThreads, useConversationUsage, useConversations, useCreateAgent, useCreateCalendar, useCreateContact, useCreateEvent, useCreateFact, useCreateFacts, useCreateProject, useCreateProjectCheckout, useCreateRoom, useCreateTag, useCreateWork, useCreateWorkflow, useCurrentSessionId, useCurrentUser, useDecideCounter, useDeleteAccount, useDeleteAccountFlow, useDeleteAgents, useDeleteBookingPage, useDeleteCalendar, useDeleteContact, useDeleteDocuments, useDeleteEvent, useDeleteFact, useDeleteNotifications, useDeleteProject, useDeleteSkill, useDeleteTag, useDeleteWorkflow, useDeleteWorkspaces, useDeploymentDomain, useDirectMessages, useDisconnectCalendarAccount, useDisconnectConnector, useDisconnectMailAccount, useDisconnectSlack, useDocument, useDocumentThumbnails, useDocumentVersionList, useDocuments, useDocumentsById, useDocumentsLoading, useDocumentsSupport, useDownloadDocuments, useDriveFolderChildren, useDriveFolderDocCount, useDriveFolders, useDriveSyncEstimate, useDriveSyncProgress, useEmailChange, useEnableDriveSync, useEnableMailboxSync, useExtractEntities, useFacts, useFetchCalendarEvent, useFilteredProjects, useFinaliseTranslation, useFindTime, useFirmPool, useFollowThread, useFreeBusy, useGenerateAgentAvatar, useGenerateDocTags, useGrantAgentAccess, useHealth, useHolidayCountries, useHouseTemplateCandidates, useIdentityVerification, useIdentityVerificationFlow, useImportCalendar, useInvalidateProjects, useInvalidateTagData, useInviteContacts, useIsSlow, useMailAccounts, useMailAttachmentText, useMailCache, useMailClient, useMailDraftCompose, useMailDraftEditor, useMailDraftReplaced, useMailFolders, useMailMessage, useMailMessages, useMailOnline, useMailPolicy, useMailProjects, useMailUnlock, useMailboxFolders, useMailboxSyncProgress, useMarkNotificationsRead, useMcpTools, useMoveEvent, useMyConnectors, useNameEditor, useNotificationPreferences, useNotifications, useParsedDocument, usePassageQuotes, usePasswordChange, usePasswordChangeForm, usePendingContacts, usePlanQuote, usePlanWork, usePreviewProjectPlanChange, useProcessingTask, useProcessingTasks, useProducts, useProfile, useProjectBillingPortal, useProjectConversationUsage, useProjectEvents, useProjectInvoices, useProjectUsage, useProjects, useProjectsUsage, usePublishCalendar, useRefreshCalendar, useRefreshConnectorsOnRunEnd, useRefreshProject, useRemoveDocTags, useRemoveWorkspaceMembers, useRenameFolder, useRequestEmailChange, useRespondToEvent, useResumeCalendarAccountConnect, useRevokeAgentAccess, useRooms, useRunConversation, useRunWorkflow, useSaveAgentConfig, useSaveBookingPage, useSaveCalendarSettings, useSaveMailDraft, useSearchContacts, useSearchFacts, useSemanticSearch, useSendBackStep, useSendMail, useSessions, useSetSkillVisibility, useSetTagValues, useSetWorkspaceHouseTemplate, useSetWorkspaceMemberRoles, useShareCalendar, useShellWorkspaces, useSignOut, useSimilarDocuments, useSkillSource, useSkills, useSlackConnection, useStartAgentSession, useStartCalendarAccountOAuth, useStartWorkQuery, useSubscribeCalendar, useSyncAccountsOnOpen, useSyncCalendarAccount, useTagKindSchema, useTags, useTerminateSession, useThumbnails, useTopUpFirmPool, useTriggerDriveSync, useTriggerMailboxSync, useUnshareCalendar, useUpdateCalendar, useUpdateCalendarAccount, useUpdateContact, useUpdateConversation, useUpdateDocTag, useUpdateDocuments, useUpdateEvent, useUpdateFact, useUpdateMailMessage, useUpdateProfile, useUpdateProjectAddonSettings, useUpdateProjectFields, useUpdateProjectNextPeriodAddons, useUpdateTag, useUpdateTagKindSchema, useUpdateUserSettings, useUpdateWorkflow, useUpdateWorkspace, useUploadDocuments, useUploadSkillFiles, useUploadUrls, useUserSettings, useUserUsageToday, useVideoRecorder, useWorkNotifications, useWorkflowRuns, useWorkflows, useWorkspaceActivity, useWorkspaceDocs, useWorkspaceNotificationLevel, useWorkspaceUsers, useWorkspaces, userDisplayName, userInitials, workflowStepOf, workspaceHouseTemplateId };
package/dist/index.d.ts CHANGED
@@ -10,8 +10,8 @@ import * as zustand from 'zustand';
10
10
  import * as _tanstack_react_query from '@tanstack/react-query';
11
11
  import { QueryClient, QueryKey, MutationKey } from '@tanstack/react-query';
12
12
  import * as _tanstack_query_core from '@tanstack/query-core';
13
- import { ar as IdentityStatus, ap as IdentityPurchase, as as IdentityStep, at as IdentityVerificationFlow, ae as EntityIconComponent } from './index-BV7pBlgY.js';
14
- export { A as AgentBadge, a as AiMarkdown, b as ArbiIcon, c as Avatar, d as AvatarFallback, e as AvatarImage, B as BASE_COLORS, f as Badge, g as BadgeProps, h as Button, i as ButtonProps, C as Card, j as CardContent, k as CardDescription, l as CardFooter, m as CardHeader, n as CardProps, o as CardTitle, p as Checkbox, q as Collapsible, r as CollapsibleContent, s as CollapsibleTrigger, t as Command, u as CommandDialog, v as CommandEmpty, w as CommandGroup, x as CommandInput, y as CommandItem, z as CommandList, D as CommandSeparator, E as CommandShortcut, F as DebouncedInput, G as DebouncedInputProps, H as Dialog, I as DialogClose, J as DialogContent, K as DialogDescription, L as DialogFooter, M as DialogHeader, N as DialogOverlay, O as DialogPortal, P as DialogPresentation, Q as DialogTitle, R as DialogTrigger, S as DictateContextValue, T as DictateProvider, U as DocumentCard, V as DocumentCardProps, W as DocumentEntity, X as DocumentEntityProps, Y as DocumentLike, Z as DropdownMenu, _ as DropdownMenuCheckboxItem, $ as DropdownMenuContent, a0 as DropdownMenuGroup, a1 as DropdownMenuItem, a2 as DropdownMenuLabel, a3 as DropdownMenuPortal, a4 as DropdownMenuRadioGroup, a5 as DropdownMenuRadioItem, a6 as DropdownMenuSeparator, a7 as DropdownMenuShortcut, a8 as DropdownMenuSub, a9 as DropdownMenuSubContent, aa as DropdownMenuSubTrigger, ab as DropdownMenuTrigger, ac as ENTITY_MAPPINGS, ad as EntityIcon, af as EntityPill, ag as EntityRegistryOverride, ah as EntityType, ai as HoverCard, aj as HoverCardContent, ak as HoverCardTrigger, al as IconToggle, am as IconToggleProps, an as IdentityBusy, ao as IdentityProblem, aq as IdentityState, au as Input, av as InputProps, aw as Label, ax as MarkMenu, ay as MarkMenuItem, az as MarkMenuProps, aA as MarkdownCode, aB as MarkdownLink, aC as MarkdownRenderer, aD as MarkdownRendererProps, aE as MarkdownStreamingContext, aF as NEUTRAL_GRAY, aG as PLACEHOLDER_COLOR, aH as PassageCard, aI as PassageCardProps, aJ as Popover, aK as PopoverAnchor, aL as PopoverClose, aM as PopoverContent, aN as PopoverTrigger, aO as PortalContainerProvider, aP as PresenceDisplayStatus, aQ as PresenceLabel, aR as Progress, aS as ProjectEntity, aT as ProjectEntityProps, aU as ProjectRelation, aV as RadioGroup, aW as RadioGroupItem, aX as Rag, aY as RagDot, aZ as RelevanceDot, a_ as ScrollArea, a$ as ScrollBar, b0 as Select, b1 as SelectContent, b2 as SelectGroup, b3 as SelectItem, b4 as SelectLabel, b5 as SelectScrollDownButton, b6 as SelectScrollUpButton, b7 as SelectSeparator, b8 as SelectTrigger, b9 as SelectValue, ba as Separator, bb as ShieldIcon, bc as ShieldIconProps, bd as Slider, be as StatusBadgeComponent, bf as StatusBadgeProps, bg as StatusPill, bh as StatusPillProps, bi as StatusVariant, bj as Switch, bk as TAG_TYPE_ICONS, bl as TAG_TYPE_LABELS, bm as Table, bn as TableBody, bo as TableCaption, bp as TableCell, bq as TableFooter, br as TableHead, bs as TableHeader, bt as TableRow, bu as Tabs, bv as TabsContent, bw as TabsList, bx as TabsTrigger, by as TagEntity, bz as TagEntityProps, bA as TagLike, bB as Textarea, bC as TextareaProps, bD as ThreadVisibilityIcon, bE as Toggle, bF as ToggleGroup, bG as ToggleGroupItem, bH as Tooltip, bI as TooltipContent, bJ as TooltipProvider, bK as TooltipTrigger, bL as UserEntity, bM as UserEntityProps, bN as UserMenu, bO as UserMenuItem, bP as UserMenuProps, bQ as UserMenuStatus, bR as VISIBILITY_ICONS, bS as VerifiedBadge, bT as VerifiedBadgeProps, bU as VerifiedToggle, bV as VisibilityIcon, bW as VisibilityToggle, bX as VisibilityToggleProps, bY as agentAvatarColors, bZ as badgeVariants, b_ as buttonVariants, b$ as cardVariants, c0 as closeOpenEmphasis, c1 as cn, c2 as configureEntityRegistry, c3 as configureRagLabels, c4 as configureStatusRegistry, c5 as formatFriendlyDate, c6 as friendlyFileType, c7 as getDocIcon, c8 as getDocumentTitle, c9 as getEntityColor, ca as getEntityColorStyles, cb as getEntityIcon, cc as getEntityLabel, cd as getStatusVariant, ce as getTagTypeIcon, cf as getTagTypeLabel, cg as getWorkspaceColor, ch as isAudioFile, ci as isDownloadOnlyFile, cj as isImageDocument, ck as isImageFile, cl as isMediaFile, cm as isVideoFile, cn as markdownBaseComponents, co as markdownSanitizeSchema, cp as normalizeCitationMarkup, cq as splitMarkdownBlocks, cr as tagKindNouns, cs as tagKindTitle, ct as toggleVariants, cu as trimOpenCitation, cv as useDictateContext, cw as usePortalContainer, cx as usesOriginalBytesForViewer } from './index-BV7pBlgY.js';
13
+ import { as as IdentityStatus, aq as IdentityPurchase, at as IdentityStep, au as IdentityVerificationFlow, ae as EntityIconComponent } from './index-CDTwtUr9.js';
14
+ export { A as AgentBadge, a as AiMarkdown, b as ArbiIcon, c as Avatar, d as AvatarFallback, e as AvatarImage, B as BASE_COLORS, f as Badge, g as BadgeProps, h as Button, i as ButtonProps, C as Card, j as CardContent, k as CardDescription, l as CardFooter, m as CardHeader, n as CardProps, o as CardTitle, p as Checkbox, q as Collapsible, r as CollapsibleContent, s as CollapsibleTrigger, t as Command, u as CommandDialog, v as CommandEmpty, w as CommandGroup, x as CommandInput, y as CommandItem, z as CommandList, D as CommandSeparator, E as CommandShortcut, F as DebouncedInput, G as DebouncedInputProps, H as Dialog, I as DialogClose, J as DialogContent, K as DialogDescription, L as DialogFooter, M as DialogHeader, N as DialogOverlay, O as DialogPortal, P as DialogPresentation, Q as DialogTitle, R as DialogTrigger, S as DictateContextValue, T as DictateProvider, U as DocumentCard, V as DocumentCardProps, W as DocumentEntity, X as DocumentEntityProps, Y as DocumentLike, Z as DropdownMenu, _ as DropdownMenuCheckboxItem, $ as DropdownMenuContent, a0 as DropdownMenuGroup, a1 as DropdownMenuItem, a2 as DropdownMenuLabel, a3 as DropdownMenuPortal, a4 as DropdownMenuRadioGroup, a5 as DropdownMenuRadioItem, a6 as DropdownMenuSeparator, a7 as DropdownMenuShortcut, a8 as DropdownMenuSub, a9 as DropdownMenuSubContent, aa as DropdownMenuSubTrigger, ab as DropdownMenuTrigger, ac as ENTITY_MAPPINGS, ad as EntityIcon, af as EntityPill, ag as EntityRegistryOverride, ah as EntityType, ai as FileTypeIcon, aj as HoverCard, ak as HoverCardContent, al as HoverCardTrigger, am as IconToggle, an as IconToggleProps, ao as IdentityBusy, ap as IdentityProblem, ar as IdentityState, av as Input, aw as InputProps, ax as Label, ay as MarkMenu, az as MarkMenuItem, aA as MarkMenuProps, aB as MarkdownCode, aC as MarkdownLink, aD as MarkdownRenderer, aE as MarkdownRendererProps, aF as MarkdownStreamingContext, aG as NEUTRAL_GRAY, aH as PLACEHOLDER_COLOR, aI as PassageCard, aJ as PassageCardProps, aK as Popover, aL as PopoverAnchor, aM as PopoverClose, aN as PopoverContent, aO as PopoverTrigger, aP as PortalContainerProvider, aQ as PresenceDisplayStatus, aR as PresenceLabel, aS as Progress, aT as ProjectEntity, aU as ProjectEntityProps, aV as ProjectRelation, aW as RadioGroup, aX as RadioGroupItem, aY as Rag, aZ as RagDot, a_ as RelevanceDot, a$ as ScrollArea, b0 as ScrollBar, b1 as Select, b2 as SelectContent, b3 as SelectGroup, b4 as SelectItem, b5 as SelectLabel, b6 as SelectScrollDownButton, b7 as SelectScrollUpButton, b8 as SelectSeparator, b9 as SelectTrigger, ba as SelectValue, bb as Separator, bc as ShieldIcon, bd as ShieldIconProps, be as Slider, bf as StatusBadgeComponent, bg as StatusBadgeProps, bh as StatusPill, bi as StatusPillProps, bj as StatusVariant, bk as Switch, bl as TAG_TYPE_ICONS, bm as TAG_TYPE_LABELS, bn as Table, bo as TableBody, bp as TableCaption, bq as TableCell, br as TableFooter, bs as TableHead, bt as TableHeader, bu as TableRow, bv as Tabs, bw as TabsContent, bx as TabsList, by as TabsTrigger, bz as TagEntity, bA as TagEntityProps, bB as TagLike, bC as Textarea, bD as TextareaProps, bE as ThreadVisibilityIcon, bF as Toggle, bG as ToggleGroup, bH as ToggleGroupItem, bI as Tooltip, bJ as TooltipContent, bK as TooltipProvider, bL as TooltipTrigger, bM as UserEntity, bN as UserEntityProps, bO as UserMenu, bP as UserMenuItem, bQ as UserMenuProps, bR as UserMenuStatus, bS as VISIBILITY_ICONS, bT as VerifiedBadge, bU as VerifiedBadgeProps, bV as VerifiedToggle, bW as VisibilityIcon, bX as VisibilityToggle, bY as VisibilityToggleProps, bZ as agentAvatarColors, b_ as badgeVariants, b$ as buttonVariants, c0 as cardVariants, c1 as closeOpenEmphasis, c2 as cn, c3 as configureEntityRegistry, c4 as configureRagLabels, c5 as configureStatusRegistry, c6 as createUserAvatarIcon, c7 as extensionFromMime, c8 as formatFriendlyDate, c9 as friendlyFileType, ca as getDocIcon, cb as getDocumentTitle, cc as getEntityColor, cd as getEntityColorStyles, ce as getEntityIcon, cf as getEntityLabel, cg as getFileExtension, ch as getFileTypeIcon, ci as getStatusVariant, cj as getTagTypeIcon, ck as getTagTypeLabel, cl as getUserAvatarColor, cm as getUserDisplayName, cn as getUserInitials, co as getWorkspaceColor, cp as isAgent, cq as isAudioFile, cr as isDownloadOnlyFile, cs as isImageDocument, ct as isImageFile, cu as isMediaFile, cv as isVideoFile, cw as markdownBaseComponents, cx as markdownSanitizeSchema, cy as normalizeCitationMarkup, cz as splitMarkdownBlocks, cA as tagKindNouns, cB as tagKindTitle, cC as toggleVariants, cD as trimOpenCitation, cE as useDictateContext, cF as usePortalContainer, cG as usesOriginalBytesForViewer } from './index-CDTwtUr9.js';
15
15
  import { VerificationResult } from '@didit-protocol/sdk-web';
16
16
  import { LucideIcon } from 'lucide-react';
17
17
  import { Components } from 'react-markdown';
@@ -9535,6 +9535,12 @@ declare function useUpdateDocuments(): _tanstack_react_query.UseMutationResult<{
9535
9535
  doctags: components["schemas"]["DocTagResponse"][];
9536
9536
  doc_metadata?: components["schemas"]["DocMetadata"] | null;
9537
9537
  }[], Error, UpdateDocumentsInput, OptimisticDocumentEdit | undefined>;
9538
+ /**
9539
+ * Rename or move a folder: each of `documents` beneath `from` moves under `to`, keeping the
9540
+ * structure below it. The batch write does not return an email's attachments, so every cached row
9541
+ * beneath `from` moves too. Resolves to how many documents were written.
9542
+ */
9543
+ declare function useRenameFolder(): (documents: WorkspaceDocument[], from: string[], to: string[]) => Promise<number>;
9538
9544
  /**
9539
9545
  * Delete documents (each with all its versions; an email with its attachments). They leave every
9540
9546
  * list, what was cached about them is forgotten, and the workspaces' file counts re-read.
@@ -9629,7 +9635,23 @@ interface QueuedDocument {
9629
9635
  fileName: string;
9630
9636
  version: number;
9631
9637
  }
9638
+ /** A document's live processing, as the host follows it (a `task_update` and what it adds). */
9639
+ interface ProcessingTask {
9640
+ doc_ext_id: string;
9641
+ status: string;
9642
+ progress?: number | null;
9643
+ workspace_ext_id?: string | null;
9644
+ file_name?: string | null;
9645
+ failed_stage?: string | null;
9646
+ }
9632
9647
  interface DocumentsSupport {
9648
+ /**
9649
+ * Every document's live processing, as a hook (a stable function for the provider's life).
9650
+ * Without one, the package's own WebSocket store (`ArbiWebSocketProvider`) is read.
9651
+ */
9652
+ useProcessingTasks?: () => Readonly<Record<string, ProcessingTask>>;
9653
+ /** One document's live processing, as a hook: re-renders only when that document's changes. */
9654
+ useProcessingTask?: (docId: string) => ProcessingTask | undefined;
9633
9655
  /**
9634
9656
  * A document's processing status as the host last heard it live. A finished status heard live is
9635
9657
  * kept over an older one a re-read returns (the server may not have committed it yet).
@@ -9646,6 +9668,168 @@ declare function DocumentsSupportProvider({ support, children, }: {
9646
9668
  }): React$1.JSX.Element;
9647
9669
  /** The host's document support (empty without a provider). */
9648
9670
  declare function useDocumentsSupport(): DocumentsSupport;
9671
+ /** Every document's live processing (the host's, else the package WebSocket store's). */
9672
+ declare function useProcessingTasks(): Readonly<Record<string, ProcessingTask>>;
9673
+ /** One document's live processing (the host's, else the package WebSocket store's). */
9674
+ declare function useProcessingTask(docId: string): ProcessingTask | undefined;
9675
+
9676
+ /**
9677
+ * A document's fields as the lists show them: the metadata the pipeline extracts (date, type,
9678
+ * author, abstract), whether it can join a conversation, and its folder path in canonical form
9679
+ * (the form folder filters and the explorer navigate by).
9680
+ */
9681
+
9682
+ /**
9683
+ * Whether a document can be added to a conversation. This is the single source
9684
+ * of truth shared by the add flow (`useAddToConversation`) and any UI that
9685
+ * counts/enables an "Add" affordance — so a badge never advertises a document
9686
+ * that the add flow will silently refuse (e.g. a 'skipped' document).
9687
+ */
9688
+ declare const isDocumentAddableToConversation: (document: WorkspaceDocument | null | undefined) => boolean;
9689
+ /**
9690
+ * Gets the date of a document from doc_metadata.
9691
+ * @param document Document to get date from
9692
+ * @returns Document date string or undefined
9693
+ */
9694
+ declare const getDocumentDate: (document: WorkspaceDocument | null | undefined) => string | null | undefined;
9695
+ /**
9696
+ * Format a doc_date for display. Date-only values ("YYYY-MM-DD") are shown as-is;
9697
+ * full datetimes (e.g. emails, "...T14:30:00Z") are shown as "YYYY-MM-DD HH:MM"
9698
+ * in local time. Invalid/empty values return an empty string.
9699
+ */
9700
+ declare const formatDocDate: (value?: string | null) => string;
9701
+ /**
9702
+ * Gets the document nature (type) from doc_metadata.
9703
+ * @param document Document to get nature from
9704
+ * @returns Document nature (e.g., email, contract, memorandum) or undefined
9705
+ */
9706
+ declare const getDocumentNature: (document: WorkspaceDocument | null | undefined) => string | null | undefined;
9707
+ /**
9708
+ * Gets the document author from doc_metadata.
9709
+ * @param document Document to get author from
9710
+ * @returns Document author or undefined
9711
+ */
9712
+ declare const getDocumentAuthor: (document: WorkspaceDocument | null | undefined) => string | null | undefined;
9713
+ /**
9714
+ * Gets the document subject from doc_metadata.
9715
+ * @param document Document to get subject from
9716
+ * @returns Document subject or undefined
9717
+ */
9718
+ declare const getDocumentSubject: (document: WorkspaceDocument | null | undefined) => string | null | undefined;
9719
+ /**
9720
+ * Default metadata tags that are automatically applied to all documents during indexing.
9721
+ * These are generated by AI during document processing and cannot be disabled.
9722
+ * Keep in sync with backend DocTagLLMConfig.DEFAULT_METADATA_TAGS
9723
+ */
9724
+ declare const DEFAULT_METADATA_TAGS: readonly [{
9725
+ readonly name: "doc_date";
9726
+ readonly label: "Date";
9727
+ }, {
9728
+ readonly name: "doc_nature";
9729
+ readonly label: "Type";
9730
+ }, {
9731
+ readonly name: "doc_author";
9732
+ readonly label: "Author";
9733
+ }, {
9734
+ readonly name: "doc_subject";
9735
+ readonly label: "Abstract";
9736
+ }];
9737
+ /**
9738
+ * Canonicalizes a `Doc.folder` path: trims each segment and drops empty ones,
9739
+ * returning null for a blank path. Drive-synced folders use provider names
9740
+ * verbatim, which can carry stray whitespace ("Google Drive (u)/Reports ");
9741
+ * the explorer navigates via trimmed segments, so folder filter IDs and
9742
+ * navigation keys must agree on this canonical form.
9743
+ */
9744
+ declare const canonicalFolderPath: (folder: string | null | undefined) => string | null;
9745
+ /** One row of a folder picker: the folder itself plus every ancestor above it. */
9746
+ interface FolderTreeNode {
9747
+ /** Canonical path — the same form folder filter IDs are built from. */
9748
+ path: string;
9749
+ /** Last segment, for display. */
9750
+ label: string;
9751
+ /** How far down the tree, for indentation. */
9752
+ depth: number;
9753
+ /** Documents at or below this folder. */
9754
+ count: number;
9755
+ }
9756
+ /**
9757
+ * Builds the folder rows a picker shows, from the documents themselves.
9758
+ *
9759
+ * Every path here is canonical, and that is the point: a folder filter ID is
9760
+ * `folder:${canonicalFolderPath(doc.folder)}`, and an ID outside that set is
9761
+ * dropped as invalid — so a picker that emitted the raw path (" Reports / Q1 ",
9762
+ * or "/Inbox" with its phantom blank root) would send the view back to "All"
9763
+ * instead of into the folder the user clicked.
9764
+ */
9765
+ declare const buildFolderTree: (docs: {
9766
+ folder?: string | null;
9767
+ }[]) => {
9768
+ nodes: FolderTreeNode[];
9769
+ unfiledCount: number;
9770
+ };
9771
+ /**
9772
+ * Formats a folder path for display: "Reports/Q1/January" → "../../January"
9773
+ * Shows depth via `../` prefixes and only the last segment name.
9774
+ * @param path Folder path string (slash-separated)
9775
+ * @returns Formatted display label
9776
+ */
9777
+ declare const formatFolderLabel: (path: string | null | undefined) => string;
9778
+ /**
9779
+ * Fallback labels for standard document columns when grid isn't ready yet.
9780
+ * These match the headerName values in createDocumentColumns.tsx.
9781
+ */
9782
+ declare const COLUMN_LABEL_FALLBACKS: Record<string, string>;
9783
+
9784
+ /**
9785
+ * Document download building blocks shared by the documents ZIP (`useDownloadDocuments`) and a
9786
+ * workspace export archive: name a file and the archive, and build the metadata rows of
9787
+ * `index.csv`. Fetching and saving are the document tools' `fetchDocumentFile` and `downloadBlob`.
9788
+ */
9789
+
9790
+ /** The ZIP entry name for a document when the server did not name it. */
9791
+ declare function fallbackFileName(doc: WorkspaceDocument): string;
9792
+ /**
9793
+ * One `index.csv` row per document for the chosen columns (`undefined` = every
9794
+ * standard column). A `tag-…` column holds that tag's value, or "Yes" for a
9795
+ * label without one.
9796
+ */
9797
+ declare function buildDocumentMetadataRows(documents: WorkspaceDocument[], selectedColumns?: string[]): Record<string, string | number>[];
9798
+ /** `2026-10-15_My_Workspace_<suffix>.zip` */
9799
+ declare function archiveName(workspaceName: string | undefined, suffix: string): string;
9800
+
9801
+ /**
9802
+ * Downloading documents: one file as stored, or several as a ZIP (the files, plus an `index.csv`
9803
+ * of their metadata unless asked for files only). Used by the explorer (a file, a folder) and the
9804
+ * documents table. Progress and outcome are told through `notify`.
9805
+ */
9806
+
9807
+ interface UseDownloadDocumentsOptions {
9808
+ /** Names the ZIP. */
9809
+ workspaceName?: string;
9810
+ }
9811
+ declare function useDownloadDocuments({ workspaceName }?: UseDownloadDocumentsOptions): {
9812
+ downloadDocuments: (documents: WorkspaceDocument[], selectedColumns?: string[]) => Promise<void>;
9813
+ downloadDocument: (doc: WorkspaceDocument) => Promise<void>;
9814
+ isDownloading: boolean;
9815
+ };
9816
+
9817
+ /**
9818
+ * Windowed thumbnail loader for a gallery of documents.
9819
+ *
9820
+ * - The caller passes only the **visible** document ids (a virtualised window plus overscan), not
9821
+ * the whole folder. They are fetched in batches — never one request per document.
9822
+ * - Results accumulate in a map that survives scrolling, so an id is fetched at most once;
9823
+ * scrolling fetches only the newly revealed ids.
9824
+ * - A freshly uploaded document's thumbnail exists once its processing finishes. Nothing polls:
9825
+ * a visible document reaching a finished status (its live processing, `useProcessingTasks`) is
9826
+ * fetched once at that moment. One that finishes with no thumbnail (video, audio, a failed
9827
+ * render) is not asked for again — until it is processed again, which is how a missing
9828
+ * thumbnail gets generated: going back into processing forgets what was known about it.
9829
+ * - Thumbnails come as `data:image/webp` URIs, used directly as `<img src>`.
9830
+ */
9831
+ /** A `Map<docId, dataUri>` of thumbnails for the visible documents, growing as they scroll. */
9832
+ declare function useDocumentThumbnails(visibleIds: string[]): Map<string, string>;
9649
9833
 
9650
9834
  /**
9651
9835
  * DocumentTable — a reusable AG Grid (community) block that renders a
@@ -10434,4 +10618,4 @@ declare function useArbiSessionStore(): ArbiSessionStore;
10434
10618
  */
10435
10619
  declare function useArbiSessionState<T>(selector: (state: ArbiSessionState) => T): T;
10436
10620
 
10437
- export { ALLOWED_PORTAL_ORIGINS, AUDIO_MIME_PREFERENCE, type AccountClient, type AccountClientContextValue, AccountClientProvider, type AccountClientProviderProps, type AccountSession, type AccountSignOutOptions, type ActivityContent, type ActivityDescription, ActivityFeed, type ActivityFeedProps, type AddWorkspaceMembersRequest, type AgentAccessMode, type AgentConfigSections, type AggregatedDailyUsage, type AggregatedModelGroupUsage, AiActionCard, AiAnswer, type AiRunOptions, type AiTaskStatus, AppleIcon, ArbiBotHeadIcon, ArbiBotIcon, type ArbiChat, type ArbiChatCitation, type ArbiChatDocument, type ArbiChatMessage, type ArbiChatMessageStatus, type ArbiChatPassage, type ArbiChatRole, type ArbiChatThread, type ArbiConversationDocument, type ArbiConversationGeneration, type ArbiDocumentViewerState, ArbiProvider, type ArbiProviderProps, type ArbiSessionState, ArbiSessionStateProvider, type ArbiSessionStateProviderProps, type ArbiSessionStore, type ArbiViewerTab, type ArbiViewingDocument, type ArbiViewingDocumentInput, ArbiWebSocketProvider, type ArbiWebSocketProviderProps, type ArbiWsState, type ArbiWsStatus, ArtifactCanvas, type AspectOption, type AssignDocTagsInput, AudIcon, type AudioRecorderState, type AudioSegment, type AvatarCrop, type AvatarFileProblem, BOX_SEAT_REFUSED, BOX_SEAT_REFUSED_ACTION, BOX_SEAT_REFUSED_TITLE, type CalendarConnectorSupport, type CalendarOfflineSupport, type CalendarPendingWrite, type CalendarSupport, CalendarSupportProvider, type CalendarWriteOp, ChatBubble, type ChatBubbleProps, type Chunk, type ChunkActivation, type ChunkedRecorder, type ChunkedRecorderOptions, CitationRenderer, type CitationRendererProps, type CitationState, ClaudeIcon, CommandPalette, type CommandPaletteClassNames, type CommandPaletteProps, CommandPaletteProvider, type CommandPaletteProviderProps, type CommandPaletteValue, ConversationList, type ConversationListProps, type CreateProjectVars, type CreateTagInput, type CropArea, type CropOutput, type CropResult, DEFAULT_ASPECT_OPTIONS, DEFAULT_DOCUMENT_VIEWER_STATE, DEFAULT_PASSWORD_CHANGE_FORM_MESSAGES, DEFAULT_SEGMENTER_CONFIG, DEFAULT_START_BY_EMAIL_LABELS, DOCUMENTS_FIRST_PAGE_MEASURE, DOCUMENTS_FIRST_PAGE_SIZE, DOCUMENTS_PAGE_SIZE, DateSeparator, type DateSeparatorProps, type DeleteAccountBlocker, type DeleteAccountFlow, type DescribeServerNotificationOptions, DirectMessages, type DirectMessagesProps, DmAvatar, type DmAvatarProps, type DmClassNames, DmComposer, type DmComposerProps, type DmConversation, type DmMessage, type DmUser, DocIcon, DocQaPanel, DocSearch, DocumentCardMenu, type DocumentCardMenuProps, DocumentGallery, type DocumentGalleryProps, DocumentReview, type DocumentReviewProps, type DocumentRowChange, DocumentTable, type DocumentTableProps, type DocumentsSupport, DocumentsSupportProvider, DraftTitleControls, type DraftTitleControlsProps, EMPTY_SESSION_STATE, type EmailChange, type EmailPreferences, EmlIcon, type EnableDriveSyncVars, type EnableMailboxSyncVars, EntityIconComponent, FILE_TYPE_COLORS, FINISHED_DOCUMENT_STATUSES, type FactListFilter, FileIcon, FireworksIcon, type FollowSaveCallbacks, GeminiIcon, type GenerateDocTagsInput, GitHubIcon, GoogleIcon, type GrantAgentAccessVars, HtmlIcon, INITIAL_SEGMENTER_STATE, IdentityPurchase, IdentityStatus, IdentityStep, type IdentityVerificationApi, IdentityVerificationFlow, ImageCropModal, type ImageCropModalProps, ImageCropper, type ImageCropperProps, ImgIcon, InlineMicButton, type InlineMicButtonProps, LinkedInIcon, MAIL_DRAFT_REPLACED_EVENT, MAX_AVATAR_FILE_BYTES, type MailAccount, type MailAddress, type MailAttachment, type MailClient, type MailClientContextValue, MailClientProvider, type MailClientProviderProps, type MailCompose, type MailDeliveryRecipient, type MailDeliveryStatus, type MailDeviceFallback, type MailDraftEditorRequest, type MailDraftEditorSession, type MailFetch, type MailFolder, type MailMessage, type MailMessageUpdate, MailOfflineUnavailableError, type MailPage, type MailPolicy, type MailProject, type MessageArtifact, MessageArtifactCard, MessageBubble, type MessageBubbleProps, MessageThread, type MessageThreadProps, MicRecordingOverlay, type MicRecordingOverlayProps, MicWaveformIndicator, type MicWaveformIndicatorProps, type MountDiditOptions, type NameEditor, type NotificationPreferencesModel, type NotificationTarget, type NotificationTypeMeta, NotifyVariant, OpenAIIcon, type OptimisticDocumentEdit, type OrderResolver, POLL_EVERY_MS, PROJECT_CREATION_DENIED_REASON, type PaletteNavItem, type ParsedChunk, type ParsedChunkMetadata, type ParsedDocument, type ParsedDocumentMetadata, type PassageResolvers, type PasswordChangeForm, type PasswordChangeFormMessages, type PasswordChangeVars, PdfIcon, PhotoCapture, type PhotoCaptureProps, type ProfileView, type ProjectsUsageAggregate, ProviderIcon, type QueuedCalendarWrite, type QueuedDocument, type QuoteResolver, RUN_WINDOW_MS, type RecordedChunk, type RefreshDocumentsOptions, type RelevancePatch, type RemoveDocTagsInput, type RenderMarkdown, SIGNATURE_NOTIFICATION_TYPES, SIMILARITY_THRESHOLD, SLOW_AFTER_MS, STILL_WORKING, type SaveAgentConfigVars, type SearchMode, SearchSession, SearchStatus, type SegmenterConfig, type SegmenterEvent, type SegmenterState, type SemanticSearch, type SemanticSearchOptions, type ServerNotificationDescription, type ShellRecentWorkspaceItem, type ShellWorkspaceItem, type ShellWorkspaceKind, type ShellWorkspaceMember, type ShellWorkspaceSeed, type ShellWorkspaceSource, type SignatureNotificationType, StartByEmail, type StartByEmailLabels, type StartByEmailProps, type ThreadAccessors, type ThreadItem, type ToolResponses, TxtIcon, TypingIndicator, type UpdateDocTagInput, type UpdateDocumentsInput, type UpdateProfileVars, type UploadDocumentsInput, type UploadUrlsInput, type UsageTotals, type UseArbiChatOptions, type UseArbiShellWorkspacesOptions, type UseAudioRecorderOptions, type UseAudioRecorderResult, type UseAvatarCropOptions, type UseCameraStreamResult, type UseDeleteAccountFlowOptions, type UseDirectMessagesResult, type UseEmailChangeOptions, type UseIdentityVerificationFlowOptions, type UseNameEditorOptions, type UsePasswordChangeFormOptions, type UseShellWorkspacesOptions, type UseShellWorkspacesResult, type UseVideoRecorderResult, type UserSettingsPatch, VIDEO_MIME_PREFERENCE, VidIcon, VideoCapture, type VideoCaptureProps, type VideoRecorderState, VoiceNoteRecorder, type VoiceNoteRecorderProps, WORK_NOTIFICATION_LABELS, type WorkspaceDocument, type WorkspaceMember, type WorkspaceNotificationLevel, type WorkspaceRole, type WorkspaceUpdate, XlsIcon, accountPath, adjustTagCounts, aliasTakenMessage, annotateThread, announceMailDraftReplaced, applyOptimisticDocumentEdit, arbiAccountClient, arbiMailClient, arbiMutationKeys, arbiQueryKeys, calendarQueryKeys, callNotificationMeta, captureFrameAsBlob, classifyMediaError, connectOAuthCalendarAccount, connectorErrorStatus, connectorQueryKeys, connectorReturnTo, createArbiSessionStore, createChunkedRecorder, createMailClient, cropImage, dayKey, defaultMailAlias, deploymentUserMeta, describeActivity, describeServerNotification, documentActivityMeta, documentActivityPhrase, documentDisplayName, docxMentionMeta, downloadRecoveryFile, fileAttachment, flushSegmenter, forgetDocuments, formatElapsed, formatIdentityPrice, formatRelativeTime, getCachedDocuments, getNotificationTypeMeta, getWorkspaceActionText, getWorkspaceKind, getWorkspaceSentPhrase, hasVideoTrack, identityStepFor, inputRequestTitle, invalidateCalendarEvents, invalidateCalendars, invalidateTagData, invalidateTagTables, isAliasTakenError, isDeploymentAdmin, isDeploymentUserNotification, isDocumentsLoading, isOfflineReadableArbiQuery, isQueuedCalendarWrite, isReplayableArbiMutation, isRestorableArbiQueryOnline, isSignatureNotificationType, isUsageMetered, isWorkspaceNotificationType, levelFromRms, mailDraftIdFromContent, mailJson, mailQueryKeys, mountDiditVerification, nextAliasSuggestion, nextViewingDocument, notificationUserName, parseActivityContent, parseDeleteAccountBlockers, patchCachedDocument, patchDocuments, patchWorkspaceTags, pickRecentWorkspaces, pickRecorderMimeType, redlineStats, refreshDocuments, registerArbiMutationDefaults, resetCalendarAccountSyncState, resolveActiveWorkspace, rollbackOptimisticDocumentEdit, safePortalUrl, selectIsGenerating, selectViewingDocumentId, setCachedDocument, signatureNotificationPhrase, signatureRequestMeta, stepSegmenter, stopDocumentsLoading, subscribeDocumentRows, supportsHouseTemplates, textToArtifact, titleFromQuestion, toChatCitations, toNotificationPreferences, toProfileView, toRedlineMarkdown, toShellWorkspace, upsertDocuments, useAccountClient, useActOnStep, useActivity, useAddHolidayCalendar, useAddProjectAddonBlock, useAddWorkspaceMembers, useAddonQuote, useAgentChats, useAgentConfig, useAgentModels, useAgentSession, useAgentWorkspaces, useAgents, useAiTask, useArbi, useArbiChat, useArbiConnected, useArbiDocumentSync, useArbiSessionState, useArbiSessionStore, useArbiShellWorkspaces, useArbiWebSocket, useArbiWsContext, useArbiWsMessage, useArbiWsStatus, useArbiWsStore, useArbiWsTask, useArbiWsTasks, useAssignDocTags, useAssistantQuery, useAudioRecorder, useAuthorizeLimits, useAvailableModels, useAvatarCrop, useBookingPages, useCalDavProfiles, useCalendarAccounts, useCalendarEvent, useCalendarEventByUid, useCalendarEvents, useCalendarInvitations, useCalendarOutbox, useCalendarOverlays, useCalendarSettings, useCalendarShares, useCalendarSupport, useCalendars, useCameraStream, useCanCreateProjects, useCancelDriveSync, useCancelMailboxSync, useCancelProjectSubscription, useChangeProjectPlan, useChargeWatch, useClaimNativeAlias, useCloseAgentSession, useCommandPalette, useConfigs, useConfirmEmailChange, useConnectCalDavAccount, useConnectMailAccount, useConnectOAuthAccount, useConnectorAutoSync, useConnectorCatalog, useConnectorVendorVisibility, useContacts, useConversationActivity, useConversationPendingAuth, useConversationThreads, useConversationUsage, useConversations, useCreateAgent, useCreateCalendar, useCreateContact, useCreateEvent, useCreateFact, useCreateFacts, useCreateProject, useCreateProjectCheckout, useCreateRoom, useCreateTag, useCreateWork, useCreateWorkflow, useCurrentSessionId, useCurrentUser, useDecideCounter, useDeleteAccount, useDeleteAccountFlow, useDeleteAgents, useDeleteBookingPage, useDeleteCalendar, useDeleteContact, useDeleteDocuments, useDeleteEvent, useDeleteFact, useDeleteNotifications, useDeleteProject, useDeleteSkill, useDeleteTag, useDeleteWorkflow, useDeleteWorkspaces, useDeploymentDomain, useDirectMessages, useDisconnectCalendarAccount, useDisconnectConnector, useDisconnectMailAccount, useDisconnectSlack, useDocument, useDocumentVersionList, useDocuments, useDocumentsById, useDocumentsLoading, useDocumentsSupport, useDriveFolderChildren, useDriveFolderDocCount, useDriveFolders, useDriveSyncEstimate, useDriveSyncProgress, useEmailChange, useEnableDriveSync, useEnableMailboxSync, useExtractEntities, useFacts, useFetchCalendarEvent, useFilteredProjects, useFinaliseTranslation, useFindTime, useFirmPool, useFollowThread, useFreeBusy, useGenerateAgentAvatar, useGenerateDocTags, useGrantAgentAccess, useHealth, useHolidayCountries, useHouseTemplateCandidates, useIdentityVerification, useIdentityVerificationFlow, useImportCalendar, useInvalidateProjects, useInvalidateTagData, useInviteContacts, useIsSlow, useMailAccounts, useMailAttachmentText, useMailCache, useMailClient, useMailDraftCompose, useMailDraftEditor, useMailDraftReplaced, useMailFolders, useMailMessage, useMailMessages, useMailOnline, useMailPolicy, useMailProjects, useMailUnlock, useMailboxFolders, useMailboxSyncProgress, useMarkNotificationsRead, useMcpTools, useMoveEvent, useMyConnectors, useNameEditor, useNotificationPreferences, useNotifications, useParsedDocument, usePassageQuotes, usePasswordChange, usePasswordChangeForm, usePendingContacts, usePlanQuote, usePlanWork, usePreviewProjectPlanChange, useProducts, useProfile, useProjectBillingPortal, useProjectConversationUsage, useProjectEvents, useProjectInvoices, useProjectUsage, useProjects, useProjectsUsage, usePublishCalendar, useRefreshCalendar, useRefreshConnectorsOnRunEnd, useRefreshProject, useRemoveDocTags, useRemoveWorkspaceMembers, useRequestEmailChange, useRespondToEvent, useResumeCalendarAccountConnect, useRevokeAgentAccess, useRooms, useRunConversation, useRunWorkflow, useSaveAgentConfig, useSaveBookingPage, useSaveCalendarSettings, useSaveMailDraft, useSearchContacts, useSearchFacts, useSemanticSearch, useSendBackStep, useSendMail, useSessions, useSetSkillVisibility, useSetTagValues, useSetWorkspaceHouseTemplate, useSetWorkspaceMemberRoles, useShareCalendar, useShellWorkspaces, useSignOut, useSimilarDocuments, useSkillSource, useSkills, useSlackConnection, useStartAgentSession, useStartCalendarAccountOAuth, useStartWorkQuery, useSubscribeCalendar, useSyncAccountsOnOpen, useSyncCalendarAccount, useTagKindSchema, useTags, useTerminateSession, useThumbnails, useTopUpFirmPool, useTriggerDriveSync, useTriggerMailboxSync, useUnshareCalendar, useUpdateCalendar, useUpdateCalendarAccount, useUpdateContact, useUpdateConversation, useUpdateDocTag, useUpdateDocuments, useUpdateEvent, useUpdateFact, useUpdateMailMessage, useUpdateProfile, useUpdateProjectAddonSettings, useUpdateProjectFields, useUpdateProjectNextPeriodAddons, useUpdateTag, useUpdateTagKindSchema, useUpdateUserSettings, useUpdateWorkflow, useUpdateWorkspace, useUploadDocuments, useUploadSkillFiles, useUploadUrls, useUserSettings, useUserUsageToday, useVideoRecorder, useWorkNotifications, useWorkflowRuns, useWorkflows, useWorkspaceActivity, useWorkspaceDocs, useWorkspaceNotificationLevel, useWorkspaceUsers, useWorkspaces, userDisplayName, userInitials, workflowStepOf, workspaceHouseTemplateId };
10621
+ export { ALLOWED_PORTAL_ORIGINS, AUDIO_MIME_PREFERENCE, type AccountClient, type AccountClientContextValue, AccountClientProvider, type AccountClientProviderProps, type AccountSession, type AccountSignOutOptions, type ActivityContent, type ActivityDescription, ActivityFeed, type ActivityFeedProps, type AddWorkspaceMembersRequest, type AgentAccessMode, type AgentConfigSections, type AggregatedDailyUsage, type AggregatedModelGroupUsage, AiActionCard, AiAnswer, type AiRunOptions, type AiTaskStatus, AppleIcon, ArbiBotHeadIcon, ArbiBotIcon, type ArbiChat, type ArbiChatCitation, type ArbiChatDocument, type ArbiChatMessage, type ArbiChatMessageStatus, type ArbiChatPassage, type ArbiChatRole, type ArbiChatThread, type ArbiConversationDocument, type ArbiConversationGeneration, type ArbiDocumentViewerState, ArbiProvider, type ArbiProviderProps, type ArbiSessionState, ArbiSessionStateProvider, type ArbiSessionStateProviderProps, type ArbiSessionStore, type ArbiViewerTab, type ArbiViewingDocument, type ArbiViewingDocumentInput, ArbiWebSocketProvider, type ArbiWebSocketProviderProps, type ArbiWsState, type ArbiWsStatus, ArtifactCanvas, type AspectOption, type AssignDocTagsInput, AudIcon, type AudioRecorderState, type AudioSegment, type AvatarCrop, type AvatarFileProblem, BOX_SEAT_REFUSED, BOX_SEAT_REFUSED_ACTION, BOX_SEAT_REFUSED_TITLE, COLUMN_LABEL_FALLBACKS, type CalendarConnectorSupport, type CalendarOfflineSupport, type CalendarPendingWrite, type CalendarSupport, CalendarSupportProvider, type CalendarWriteOp, ChatBubble, type ChatBubbleProps, type Chunk, type ChunkActivation, type ChunkedRecorder, type ChunkedRecorderOptions, CitationRenderer, type CitationRendererProps, type CitationState, ClaudeIcon, CommandPalette, type CommandPaletteClassNames, type CommandPaletteProps, CommandPaletteProvider, type CommandPaletteProviderProps, type CommandPaletteValue, ConversationList, type ConversationListProps, type CreateProjectVars, type CreateTagInput, type CropArea, type CropOutput, type CropResult, DEFAULT_ASPECT_OPTIONS, DEFAULT_DOCUMENT_VIEWER_STATE, DEFAULT_METADATA_TAGS, DEFAULT_PASSWORD_CHANGE_FORM_MESSAGES, DEFAULT_SEGMENTER_CONFIG, DEFAULT_START_BY_EMAIL_LABELS, DOCUMENTS_FIRST_PAGE_MEASURE, DOCUMENTS_FIRST_PAGE_SIZE, DOCUMENTS_PAGE_SIZE, DateSeparator, type DateSeparatorProps, type DeleteAccountBlocker, type DeleteAccountFlow, type DescribeServerNotificationOptions, DirectMessages, type DirectMessagesProps, DmAvatar, type DmAvatarProps, type DmClassNames, DmComposer, type DmComposerProps, type DmConversation, type DmMessage, type DmUser, DocIcon, DocQaPanel, DocSearch, DocumentCardMenu, type DocumentCardMenuProps, DocumentGallery, type DocumentGalleryProps, DocumentReview, type DocumentReviewProps, type DocumentRowChange, DocumentTable, type DocumentTableProps, type DocumentsSupport, DocumentsSupportProvider, DraftTitleControls, type DraftTitleControlsProps, EMPTY_SESSION_STATE, type EmailChange, type EmailPreferences, EmlIcon, type EnableDriveSyncVars, type EnableMailboxSyncVars, EntityIconComponent, FILE_TYPE_COLORS, FINISHED_DOCUMENT_STATUSES, type FactListFilter, FileIcon, FireworksIcon, type FolderTreeNode, type FollowSaveCallbacks, GeminiIcon, type GenerateDocTagsInput, GitHubIcon, GoogleIcon, type GrantAgentAccessVars, HtmlIcon, INITIAL_SEGMENTER_STATE, IdentityPurchase, IdentityStatus, IdentityStep, type IdentityVerificationApi, IdentityVerificationFlow, ImageCropModal, type ImageCropModalProps, ImageCropper, type ImageCropperProps, ImgIcon, InlineMicButton, type InlineMicButtonProps, LinkedInIcon, MAIL_DRAFT_REPLACED_EVENT, MAX_AVATAR_FILE_BYTES, type MailAccount, type MailAddress, type MailAttachment, type MailClient, type MailClientContextValue, MailClientProvider, type MailClientProviderProps, type MailCompose, type MailDeliveryRecipient, type MailDeliveryStatus, type MailDeviceFallback, type MailDraftEditorRequest, type MailDraftEditorSession, type MailFetch, type MailFolder, type MailMessage, type MailMessageUpdate, MailOfflineUnavailableError, type MailPage, type MailPolicy, type MailProject, type MessageArtifact, MessageArtifactCard, MessageBubble, type MessageBubbleProps, MessageThread, type MessageThreadProps, MicRecordingOverlay, type MicRecordingOverlayProps, MicWaveformIndicator, type MicWaveformIndicatorProps, type MountDiditOptions, type NameEditor, type NotificationPreferencesModel, type NotificationTarget, type NotificationTypeMeta, NotifyVariant, OpenAIIcon, type OptimisticDocumentEdit, type OrderResolver, POLL_EVERY_MS, PROJECT_CREATION_DENIED_REASON, type PaletteNavItem, type ParsedChunk, type ParsedChunkMetadata, type ParsedDocument, type ParsedDocumentMetadata, type PassageResolvers, type PasswordChangeForm, type PasswordChangeFormMessages, type PasswordChangeVars, PdfIcon, PhotoCapture, type PhotoCaptureProps, type ProcessingTask, type ProfileView, type ProjectsUsageAggregate, ProviderIcon, type QueuedCalendarWrite, type QueuedDocument, type QuoteResolver, RUN_WINDOW_MS, type RecordedChunk, type RefreshDocumentsOptions, type RelevancePatch, type RemoveDocTagsInput, type RenderMarkdown, SIGNATURE_NOTIFICATION_TYPES, SIMILARITY_THRESHOLD, SLOW_AFTER_MS, STILL_WORKING, type SaveAgentConfigVars, type SearchMode, SearchSession, SearchStatus, type SegmenterConfig, type SegmenterEvent, type SegmenterState, type SemanticSearch, type SemanticSearchOptions, type ServerNotificationDescription, type ShellRecentWorkspaceItem, type ShellWorkspaceItem, type ShellWorkspaceKind, type ShellWorkspaceMember, type ShellWorkspaceSeed, type ShellWorkspaceSource, type SignatureNotificationType, StartByEmail, type StartByEmailLabels, type StartByEmailProps, type ThreadAccessors, type ThreadItem, type ToolResponses, TxtIcon, TypingIndicator, type UpdateDocTagInput, type UpdateDocumentsInput, type UpdateProfileVars, type UploadDocumentsInput, type UploadUrlsInput, type UsageTotals, type UseArbiChatOptions, type UseArbiShellWorkspacesOptions, type UseAudioRecorderOptions, type UseAudioRecorderResult, type UseAvatarCropOptions, type UseCameraStreamResult, type UseDeleteAccountFlowOptions, type UseDirectMessagesResult, type UseDownloadDocumentsOptions, type UseEmailChangeOptions, type UseIdentityVerificationFlowOptions, type UseNameEditorOptions, type UsePasswordChangeFormOptions, type UseShellWorkspacesOptions, type UseShellWorkspacesResult, type UseVideoRecorderResult, type UserSettingsPatch, VIDEO_MIME_PREFERENCE, VidIcon, VideoCapture, type VideoCaptureProps, type VideoRecorderState, VoiceNoteRecorder, type VoiceNoteRecorderProps, WORK_NOTIFICATION_LABELS, type WorkspaceDocument, type WorkspaceMember, type WorkspaceNotificationLevel, type WorkspaceRole, type WorkspaceUpdate, XlsIcon, accountPath, adjustTagCounts, aliasTakenMessage, annotateThread, announceMailDraftReplaced, applyOptimisticDocumentEdit, arbiAccountClient, arbiMailClient, arbiMutationKeys, arbiQueryKeys, archiveName, buildDocumentMetadataRows, buildFolderTree, calendarQueryKeys, callNotificationMeta, canonicalFolderPath, captureFrameAsBlob, classifyMediaError, connectOAuthCalendarAccount, connectorErrorStatus, connectorQueryKeys, connectorReturnTo, createArbiSessionStore, createChunkedRecorder, createMailClient, cropImage, dayKey, defaultMailAlias, deploymentUserMeta, describeActivity, describeServerNotification, documentActivityMeta, documentActivityPhrase, documentDisplayName, docxMentionMeta, downloadRecoveryFile, fallbackFileName, fileAttachment, flushSegmenter, forgetDocuments, formatDocDate, formatElapsed, formatFolderLabel, formatIdentityPrice, formatRelativeTime, getCachedDocuments, getDocumentAuthor, getDocumentDate, getDocumentNature, getDocumentSubject, getNotificationTypeMeta, getWorkspaceActionText, getWorkspaceKind, getWorkspaceSentPhrase, hasVideoTrack, identityStepFor, inputRequestTitle, invalidateCalendarEvents, invalidateCalendars, invalidateTagData, invalidateTagTables, isAliasTakenError, isDeploymentAdmin, isDeploymentUserNotification, isDocumentAddableToConversation, isDocumentsLoading, isOfflineReadableArbiQuery, isQueuedCalendarWrite, isReplayableArbiMutation, isRestorableArbiQueryOnline, isSignatureNotificationType, isUsageMetered, isWorkspaceNotificationType, levelFromRms, mailDraftIdFromContent, mailJson, mailQueryKeys, mountDiditVerification, nextAliasSuggestion, nextViewingDocument, notificationUserName, parseActivityContent, parseDeleteAccountBlockers, patchCachedDocument, patchDocuments, patchWorkspaceTags, pickRecentWorkspaces, pickRecorderMimeType, redlineStats, refreshDocuments, registerArbiMutationDefaults, resetCalendarAccountSyncState, resolveActiveWorkspace, rollbackOptimisticDocumentEdit, safePortalUrl, selectIsGenerating, selectViewingDocumentId, setCachedDocument, signatureNotificationPhrase, signatureRequestMeta, stepSegmenter, stopDocumentsLoading, subscribeDocumentRows, supportsHouseTemplates, textToArtifact, titleFromQuestion, toChatCitations, toNotificationPreferences, toProfileView, toRedlineMarkdown, toShellWorkspace, upsertDocuments, useAccountClient, useActOnStep, useActivity, useAddHolidayCalendar, useAddProjectAddonBlock, useAddWorkspaceMembers, useAddonQuote, useAgentChats, useAgentConfig, useAgentModels, useAgentSession, useAgentWorkspaces, useAgents, useAiTask, useArbi, useArbiChat, useArbiConnected, useArbiDocumentSync, useArbiSessionState, useArbiSessionStore, useArbiShellWorkspaces, useArbiWebSocket, useArbiWsContext, useArbiWsMessage, useArbiWsStatus, useArbiWsStore, useArbiWsTask, useArbiWsTasks, useAssignDocTags, useAssistantQuery, useAudioRecorder, useAuthorizeLimits, useAvailableModels, useAvatarCrop, useBookingPages, useCalDavProfiles, useCalendarAccounts, useCalendarEvent, useCalendarEventByUid, useCalendarEvents, useCalendarInvitations, useCalendarOutbox, useCalendarOverlays, useCalendarSettings, useCalendarShares, useCalendarSupport, useCalendars, useCameraStream, useCanCreateProjects, useCancelDriveSync, useCancelMailboxSync, useCancelProjectSubscription, useChangeProjectPlan, useChargeWatch, useClaimNativeAlias, useCloseAgentSession, useCommandPalette, useConfigs, useConfirmEmailChange, useConnectCalDavAccount, useConnectMailAccount, useConnectOAuthAccount, useConnectorAutoSync, useConnectorCatalog, useConnectorVendorVisibility, useContacts, useConversationActivity, useConversationPendingAuth, useConversationThreads, useConversationUsage, useConversations, useCreateAgent, useCreateCalendar, useCreateContact, useCreateEvent, useCreateFact, useCreateFacts, useCreateProject, useCreateProjectCheckout, useCreateRoom, useCreateTag, useCreateWork, useCreateWorkflow, useCurrentSessionId, useCurrentUser, useDecideCounter, useDeleteAccount, useDeleteAccountFlow, useDeleteAgents, useDeleteBookingPage, useDeleteCalendar, useDeleteContact, useDeleteDocuments, useDeleteEvent, useDeleteFact, useDeleteNotifications, useDeleteProject, useDeleteSkill, useDeleteTag, useDeleteWorkflow, useDeleteWorkspaces, useDeploymentDomain, useDirectMessages, useDisconnectCalendarAccount, useDisconnectConnector, useDisconnectMailAccount, useDisconnectSlack, useDocument, useDocumentThumbnails, useDocumentVersionList, useDocuments, useDocumentsById, useDocumentsLoading, useDocumentsSupport, useDownloadDocuments, useDriveFolderChildren, useDriveFolderDocCount, useDriveFolders, useDriveSyncEstimate, useDriveSyncProgress, useEmailChange, useEnableDriveSync, useEnableMailboxSync, useExtractEntities, useFacts, useFetchCalendarEvent, useFilteredProjects, useFinaliseTranslation, useFindTime, useFirmPool, useFollowThread, useFreeBusy, useGenerateAgentAvatar, useGenerateDocTags, useGrantAgentAccess, useHealth, useHolidayCountries, useHouseTemplateCandidates, useIdentityVerification, useIdentityVerificationFlow, useImportCalendar, useInvalidateProjects, useInvalidateTagData, useInviteContacts, useIsSlow, useMailAccounts, useMailAttachmentText, useMailCache, useMailClient, useMailDraftCompose, useMailDraftEditor, useMailDraftReplaced, useMailFolders, useMailMessage, useMailMessages, useMailOnline, useMailPolicy, useMailProjects, useMailUnlock, useMailboxFolders, useMailboxSyncProgress, useMarkNotificationsRead, useMcpTools, useMoveEvent, useMyConnectors, useNameEditor, useNotificationPreferences, useNotifications, useParsedDocument, usePassageQuotes, usePasswordChange, usePasswordChangeForm, usePendingContacts, usePlanQuote, usePlanWork, usePreviewProjectPlanChange, useProcessingTask, useProcessingTasks, useProducts, useProfile, useProjectBillingPortal, useProjectConversationUsage, useProjectEvents, useProjectInvoices, useProjectUsage, useProjects, useProjectsUsage, usePublishCalendar, useRefreshCalendar, useRefreshConnectorsOnRunEnd, useRefreshProject, useRemoveDocTags, useRemoveWorkspaceMembers, useRenameFolder, useRequestEmailChange, useRespondToEvent, useResumeCalendarAccountConnect, useRevokeAgentAccess, useRooms, useRunConversation, useRunWorkflow, useSaveAgentConfig, useSaveBookingPage, useSaveCalendarSettings, useSaveMailDraft, useSearchContacts, useSearchFacts, useSemanticSearch, useSendBackStep, useSendMail, useSessions, useSetSkillVisibility, useSetTagValues, useSetWorkspaceHouseTemplate, useSetWorkspaceMemberRoles, useShareCalendar, useShellWorkspaces, useSignOut, useSimilarDocuments, useSkillSource, useSkills, useSlackConnection, useStartAgentSession, useStartCalendarAccountOAuth, useStartWorkQuery, useSubscribeCalendar, useSyncAccountsOnOpen, useSyncCalendarAccount, useTagKindSchema, useTags, useTerminateSession, useThumbnails, useTopUpFirmPool, useTriggerDriveSync, useTriggerMailboxSync, useUnshareCalendar, useUpdateCalendar, useUpdateCalendarAccount, useUpdateContact, useUpdateConversation, useUpdateDocTag, useUpdateDocuments, useUpdateEvent, useUpdateFact, useUpdateMailMessage, useUpdateProfile, useUpdateProjectAddonSettings, useUpdateProjectFields, useUpdateProjectNextPeriodAddons, useUpdateTag, useUpdateTagKindSchema, useUpdateUserSettings, useUpdateWorkflow, useUpdateWorkspace, useUploadDocuments, useUploadSkillFiles, useUploadUrls, useUserSettings, useUserUsageToday, useVideoRecorder, useWorkNotifications, useWorkflowRuns, useWorkflows, useWorkspaceActivity, useWorkspaceDocs, useWorkspaceNotificationLevel, useWorkspaceUsers, useWorkspaces, userDisplayName, userInitials, workflowStepOf, workspaceHouseTemplateId };