@vantageos/mosaic-blocks 0.5.33-alpha → 0.5.35-alpha

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
@@ -17,11 +17,13 @@ import { Avatar } from '@base-ui/react/avatar';
17
17
  import { Input } from '@base-ui/react/input';
18
18
  import { Field } from '@base-ui/react/field';
19
19
  import { Switch } from '@base-ui/react/switch';
20
+ import { Combobox } from '@base-ui/react/combobox';
20
21
  import * as class_variance_authority_types from 'class-variance-authority/types';
21
22
  import { AlertDialog } from '@base-ui/react/alert-dialog';
23
+ import { BarChart, Bar, LineChart, Line, PieChart, Pie, Cell, XAxis, YAxis, CartesianGrid, Tooltip, Legend, ResponsiveContainer } from 'recharts';
22
24
  export { Tooltip } from '@base-ui/react/tooltip';
23
25
 
24
- declare const version = "0.5.33-alpha";
26
+ declare const version = "0.5.35-alpha";
25
27
 
26
28
  /**
27
29
  * Placeholder component — infra scaffold only.
@@ -615,7 +617,18 @@ declare namespace MosaicCounter {
615
617
  * Ported from heyfabrika/styleui components/theme-toggle (MIT).
616
618
  * Flips `data-theme` attribute on document.documentElement.
617
619
  * Theme-reactive: reads current state from DOM on mount.
618
- * No hardcoded branding — icon is a pure SVG, all color via OKLCH CSS vars.
620
+ * No hardcoded branding — icon is a pure SVG, all color via theme tokens
621
+ * (Tailwind utilities wired from @vantageos/mosaic-tokens / mosaic-blocks
622
+ * styles.css) — never an inline literal OKLCH value.
623
+ *
624
+ * Earlier defect fixed here: the previous build used an arbitrary
625
+ * `bg-[oklch(var(--mosaic-surface,1_0_0))]` value. `--mosaic-surface` (bare,
626
+ * no suffix) is not a real token anywhere in this package — the fallback
627
+ * `1 0 0` (solid white) always won, so the button rendered a white disc in
628
+ * BOTH themes, and its `currentColor` icon (white foreground in dark mode)
629
+ * disappeared into it. Fixed by using the real wired tokens: `bg-secondary`
630
+ * (a neutral/ghost surface, distinct in both modes) + `text-foreground`
631
+ * (explicit icon colour) + `hover:bg-accent` for the ghost hover state.
619
632
  */
620
633
 
621
634
  type Theme = "light" | "dark" | "system";
@@ -1885,6 +1898,10 @@ declare function MosaicSelect({ items, value, onValueChange, placeholder, defaul
1885
1898
  * Styling: Tailwind v4 semantic tokens only.
1886
1899
  */
1887
1900
 
1901
+ type PositionerSide$1 = NonNullable<Combobox.Positioner.Props["side"]>;
1902
+ type PositionerAlign$1 = NonNullable<Combobox.Positioner.Props["align"]>;
1903
+ type PositionerCollisionBoundary$1 = Combobox.Positioner.Props["collisionBoundary"];
1904
+ type PositionerCollisionPadding$1 = Combobox.Positioner.Props["collisionPadding"];
1888
1905
  interface MosaicComboboxItem {
1889
1906
  value: string;
1890
1907
  label: string;
@@ -1909,6 +1926,27 @@ interface MosaicComboboxProps {
1909
1926
  */
1910
1927
  emptyMessage: string;
1911
1928
  className?: string;
1929
+ /**
1930
+ * Which side of the input the popup opens against. Base UI may still
1931
+ * auto-flip to avoid a collision unless `collisionAvoidance` disables it.
1932
+ * @default 'bottom'
1933
+ */
1934
+ side?: PositionerSide$1;
1935
+ /**
1936
+ * How the popup aligns relative to the requested side.
1937
+ * @default 'center'
1938
+ */
1939
+ align?: PositionerAlign$1;
1940
+ /**
1941
+ * Element/rect the popup is confined to.
1942
+ * @default 'clipping-ancestors'
1943
+ */
1944
+ collisionBoundary?: PositionerCollisionBoundary$1;
1945
+ /**
1946
+ * Space to keep between the popup and the edge of the collision boundary.
1947
+ * @default 5
1948
+ */
1949
+ collisionPadding?: PositionerCollisionPadding$1;
1912
1950
  }
1913
1951
  /**
1914
1952
  * MosaicCombobox — production Combobox atom for @vantageos/mosaic-blocks.
@@ -1925,8 +1963,35 @@ interface MosaicComboboxProps {
1925
1963
  * emptyMessage={t('Combobox.empty')}
1926
1964
  * />
1927
1965
  */
1928
- declare function MosaicCombobox({ items, value, onValueChange, defaultValue, placeholder, disabled, name, emptyMessage, className, }: MosaicComboboxProps): React.JSX.Element;
1966
+ declare function MosaicCombobox({ items, value, onValueChange, defaultValue, placeholder, disabled, name, emptyMessage, className, side, align, collisionBoundary, collisionPadding, }: MosaicComboboxProps): React.JSX.Element;
1929
1967
 
1968
+ /**
1969
+ * MosaicModelSelector — @base-ui/react Combobox primitive
1970
+ *
1971
+ * Ported from any-debate-ai components/agent-composer/ModelSelector.tsx.
1972
+ * (gh api repos/elpiarthera/any-debate-ai/contents/components/agent-composer/ModelSelector.tsx)
1973
+ *
1974
+ * The source component hard-coded AVAILABLE_MODELS + getRecommendedModels
1975
+ * from a local catalogue module. That catalogue is business knowledge that
1976
+ * changes independently of the library — it does NOT belong in
1977
+ * @vantageos/mosaic-blocks. This port strips it entirely: the host supplies
1978
+ * `models: MosaicModelOption[]`, the library only knows how to render and
1979
+ * navigate a list of options it is handed.
1980
+ *
1981
+ * Built on @base-ui/react/combobox (native in @base-ui/react@1.5.0).
1982
+ * Filtering via built-in useFilter with "contains" strategy (same recipe as
1983
+ * MosaicCombobox). Keyboard-accessible: ArrowDown/Up navigate, Enter selects,
1984
+ * Escape closes. Disabled options are visibly non-interactive
1985
+ * (aria-disabled) and never fire onValueChange.
1986
+ *
1987
+ * Controlled: `value` + `onValueChange` are owned by the host.
1988
+ * data-slot="model-selector" on the root wrapper.
1989
+ */
1990
+
1991
+ type PositionerSide = NonNullable<Combobox.Positioner.Props["side"]>;
1992
+ type PositionerAlign = NonNullable<Combobox.Positioner.Props["align"]>;
1993
+ type PositionerCollisionBoundary = Combobox.Positioner.Props["collisionBoundary"];
1994
+ type PositionerCollisionPadding = Combobox.Positioner.Props["collisionPadding"];
1930
1995
  interface MosaicModelOption {
1931
1996
  /** Unique identifier the host resolves back to its own model catalogue. */
1932
1997
  value: string;
@@ -1961,6 +2026,27 @@ interface MosaicModelSelectorProps {
1961
2026
  disabled?: boolean;
1962
2027
  name?: string;
1963
2028
  className?: string;
2029
+ /**
2030
+ * Which side of the trigger the popup opens against. Base UI may still
2031
+ * auto-flip to avoid a collision unless `collisionAvoidance` disables it.
2032
+ * @default 'bottom'
2033
+ */
2034
+ side?: PositionerSide;
2035
+ /**
2036
+ * How the popup aligns relative to the requested side.
2037
+ * @default 'center'
2038
+ */
2039
+ align?: PositionerAlign;
2040
+ /**
2041
+ * Element/rect the popup is confined to.
2042
+ * @default 'clipping-ancestors'
2043
+ */
2044
+ collisionBoundary?: PositionerCollisionBoundary;
2045
+ /**
2046
+ * Space to keep between the popup and the edge of the collision boundary.
2047
+ * @default 5
2048
+ */
2049
+ collisionPadding?: PositionerCollisionPadding;
1964
2050
  }
1965
2051
  /**
1966
2052
  * MosaicModelSelector — production model-picker atom for @vantageos/mosaic-blocks.
@@ -1979,7 +2065,7 @@ interface MosaicModelSelectorProps {
1979
2065
  * emptyMessage={t('ModelSelector.empty')}
1980
2066
  * />
1981
2067
  */
1982
- declare function MosaicModelSelector({ models, value, onValueChange, placeholder, emptyMessage, disabled, name, className, }: MosaicModelSelectorProps): React.JSX.Element;
2068
+ declare function MosaicModelSelector({ models, value, onValueChange, placeholder, emptyMessage, disabled, name, className, side, align, collisionBoundary, collisionPadding, }: MosaicModelSelectorProps): React.JSX.Element;
1983
2069
  declare namespace MosaicModelSelector {
1984
2070
  var displayName: string;
1985
2071
  }
@@ -5883,10 +5969,19 @@ declare namespace MosaicKanbanColumn {
5883
5969
  *
5884
5970
  * @example
5885
5971
  * import { ClerkProvider } from "@clerk/nextjs"
5886
- * import { getEffectiveWorkspaceId } from "@vantageos/cloud-identity"
5972
+ * import { resolveTenantIdOrAbsent } from "@vantageos/cloud-identity" // >= 0.6.0
5973
+ *
5974
+ * // Adapts cloud-identity's typed result to the (orgId) => string | null shape
5975
+ * // of the `resolveWorkspaceId` prop. cloud-identity names this "tenant".
5976
+ * const resolveWorkspaceId = (orgId: string | null) => {
5977
+ * const r = resolveTenantIdOrAbsent({ kind: "session", identity: { orgId } })
5978
+ * return r.present ? r.tenantId : null
5979
+ * }
5980
+ *
5887
5981
  * <MosaicMultiTenantProvider
5888
5982
  * clerkProvider={ClerkProvider}
5889
5983
  * publishableKey={process.env.NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY}
5984
+ * resolveWorkspaceId={resolveWorkspaceId}
5890
5985
  * >
5891
5986
  * {children}
5892
5987
  * </MosaicMultiTenantProvider>
@@ -5910,7 +6005,9 @@ interface MosaicMultiTenantProviderProps {
5910
6005
  /** Clerk publishable key */
5911
6006
  publishableKey?: string;
5912
6007
  /**
5913
- * Optional workspace-ID resolver from @vantageos/cloud-identity.
6008
+ * Optional workspace-ID resolver, typically built on
6009
+ * `resolveTenantIdOrAbsent` from @vantageos/cloud-identity (see the example
6010
+ * above). cloud-identity exports no function of this exact shape.
5914
6011
  * Called with the current Clerk org ID (or null for personal workspace).
5915
6012
  * Defaults to identity pass-through when not provided.
5916
6013
  */
@@ -10297,4 +10394,1107 @@ declare const saveChatAsMemoryFormButtonVariants: (props?: ({
10297
10394
  intent?: "cancel" | "save" | null | undefined;
10298
10395
  } & class_variance_authority_types.ClassProp) | undefined) => string;
10299
10396
 
10300
- export { type Breakpoint, type DeviceContextValue, type Feature3ColItem, type FeatureItem, type FooterColumn, type FooterLink, type HeroCta, type LogoItem, MosaicAccordion, MosaicAccordionItem, type MosaicAccordionItemProps, MosaicAccordionPanel, type MosaicAccordionPanelProps, type MosaicAccordionProps, MosaicAccordionTrigger, type MosaicAccordionTriggerProps, type MosaicActionAccent, type MosaicActivity, MosaicActivityFeed, type MosaicActivityFeedProps, MosaicActivityItem, type MosaicActivityItemProps, type MosaicActivityStatus, MosaicAdaptiveGrid, type MosaicAdaptiveGridProps, MosaicAdaptiveModal, type MosaicAdaptiveModalProps, MosaicAdaptiveNavigation, type MosaicAdaptiveNavigationProps, MosaicAddMemoryForm, type MosaicAddMemoryFormProps, MosaicAgentBuilderModal, type MosaicAgentBuilderModalProps, MosaicAgentCard, type MosaicAgentCardProps, MosaicAgentChat, type MosaicAgentChatApprovalLabels, type MosaicAgentChatApprovalRequest, type MosaicAgentChatApprovalResponsePayload, type MosaicAgentChatMessage, type MosaicAgentChatMessagePart, type MosaicAgentChatProps, type MosaicAgentChatState, type MosaicAgentChatToolPart, type MosaicAgentChatToolPartState, MosaicAgentComposer, MosaicAgentComposerDesktop, type MosaicAgentComposerDesktopProps, MosaicAgentComposerMobile, type MosaicAgentComposerMobileProps, type MosaicAgentComposerProps, type MosaicAgentData, MosaicAgentEditor, type MosaicAgentEditorProps, MosaicAgentList, AgentListDesktop as MosaicAgentListDesktop, AgentListMobile as MosaicAgentListMobile, type MosaicAgentListProps, type MosaicAgentPreset, MosaicAgentPreview, type MosaicAgentPreviewAttribute, type MosaicAgentPreviewDetailedProps, type MosaicAgentPreviewProps, type MosaicAgentPreviewSummaryProps, MosaicAgentTeamPreview, type MosaicAgentTeamPreviewProps, MosaicAlertDialog, MosaicAlertDialogAction, type MosaicAlertDialogActionProps, MosaicAlertDialogCancel, type MosaicAlertDialogCancelProps, MosaicAlertDialogContent, type MosaicAlertDialogContentProps, MosaicAlertDialogDescription, type MosaicAlertDialogDescriptionProps, MosaicAlertDialogFooter, MosaicAlertDialogHeader, MosaicAlertDialogOverlay, type MosaicAlertDialogOverlayProps, MosaicAlertDialogPortal, MosaicAlertDialogTitle, type MosaicAlertDialogTitleProps, MosaicAlertDialogTrigger, MosaicAnimatedList, type MosaicAnimatedListProps, MosaicApiKeyPanel, type MosaicApiKeyPanelProps, type MosaicApiKeyPanelProvider, type MosaicApiKeyPanelState, MosaicAppSidebar, type MosaicAppSidebarProps, MosaicApprovalPrompt, type MosaicApprovalPromptProps, type MosaicApprovalPromptState, MosaicAvatar, type MosaicAvatarProps, MosaicBadge, type MosaicBadgeProps, MosaicBlurredOrb, type MosaicBlurredOrbProps, type MosaicBreadcrumb, MosaicButton, type MosaicButtonProps, MosaicCard, MosaicCardContent, type MosaicCardContentProps, MosaicCardDescription, type MosaicCardDescriptionProps, MosaicCardFooter, type MosaicCardFooterProps, MosaicCardHeader, type MosaicCardHeaderProps, type MosaicCardProps, MosaicCardTitle, type MosaicCardTitleProps, MosaicChatComposer, type MosaicChatComposerProps, type MosaicChatComposerState, MosaicChatMessage, type MosaicChatMessageAttachmentPart, type MosaicChatMessagePart, type MosaicChatMessageProps, type MosaicChatMessageReasoningPart, type MosaicChatMessageSenderRole, type MosaicChatMessageTextPart, type MosaicChatMessageToolPart, type MosaicChatMessageToolState, type MosaicChatMessageToolStatusLabels, MosaicChatSidebar, type MosaicChatSidebarProps, MosaicChatThread, type MosaicChatThreadProps, MosaicCheckbox, type MosaicCheckboxProps, type MosaicClerkMembership, MosaicClerkOrgSwitcher, type MosaicClerkOrgSwitcherProps, type MosaicClerkOrganization, MosaicClerkWebhookHandler, type MosaicClerkWebhookHandlerOptions, MosaicCollapsible, MosaicCollapsiblePanel, type MosaicCollapsiblePanelProps, type MosaicCollapsibleProps, MosaicCollapsibleTrigger, type MosaicCollapsibleTriggerProps, MosaicCombobox, type MosaicComboboxItem, type MosaicComboboxProps, type MosaicComposerModel, type MosaicComposerModule, MosaicCounter, type MosaicCounterProps, MosaicCreateOrgDialog, type MosaicCreateOrgDialogProps, MosaicDashboardContent, type MosaicDashboardContentProps, MosaicDashboardHeader, type MosaicDashboardHeaderProps, MosaicDashboardLayout, type MosaicDashboardLayoutProps, type MosaicDashboardView, MosaicDataTable, type MosaicDataTableColumn, type MosaicDataTablePagination, type MosaicDataTableProps, MosaicDeleteConfirmationDialog, type MosaicDeleteConfirmationDialogProps, MosaicDeviceProvider, type MosaicDeviceProviderProps, MosaicDocumentUpload, type MosaicDocumentUploadFile, type MosaicDocumentUploadFileStatus, type MosaicDocumentUploadProps, MosaicDrawer, type MosaicDrawerProps, MosaicDropdownMenu, type MosaicDropdownMenuItem, type MosaicDropdownMenuProps, MosaicEditMemoryDialog, type MosaicEditMemoryDialogProps, MosaicEditSessionDialog, type MosaicEditSessionDialogProps, MosaicEmptyState, type MosaicEmptyStateProps, MosaicFallingPattern, type MosaicFallingPatternProps, MosaicFeature3Col, type MosaicFeature3ColProps, MosaicFeatureCenteredMedia, type MosaicFeatureCenteredMediaProps, MosaicField, MosaicFieldControl, type MosaicFieldControlProps, MosaicFieldDescription, type MosaicFieldDescriptionProps, MosaicFieldError, type MosaicFieldErrorProps, MosaicFieldLabel, type MosaicFieldLabelProps, type MosaicFieldProps, MosaicFilterBar, type MosaicFilterBarProps, type MosaicFilterOption, MosaicFilterSidebar, type MosaicFilterSidebarProps, MosaicFooterSimple, type MosaicFooterSimpleProps, MosaicHeroSplit, type MosaicHeroSplitProps, MosaicInput, MosaicInputGroup, type MosaicInputGroupProps, type MosaicInputProps, MosaicIntegrationsBadge, type MosaicIntegrationsBadgeProps, MosaicInviteMemberDialog, type MosaicInviteMemberDialogProps, MosaicKanbanBoard, type MosaicKanbanBoardProps, MosaicKanbanColumn, type MosaicKanbanColumnProps, MosaicLogosGrid, type MosaicLogosGridProps, MosaicMainNav, type MosaicMainNavProps, MosaicMarkdown, type MosaicMarkdownProps, MosaicMarketplaceCard, type MosaicMarketplaceCardProps, type MosaicMarketplaceItem, MosaicMarketplaceList, MarketplaceListDesktop as MosaicMarketplaceListDesktop, MarketplaceListMobile as MosaicMarketplaceListMobile, type MosaicMarketplaceListProps, MosaicMemberList, type MosaicMemberListProps, MosaicMemoryCard, type MosaicMemoryCardProps, MosaicMemoryDashboard, type MosaicMemoryDashboardProps, type MosaicMemoryDashboardStat, type MosaicMemoryDashboardViewMode, type MosaicMemoryData, MosaicMemoryGrid, type MosaicMemoryGridProps, MosaicMemoryList, type MosaicMemoryListProps, type MosaicMemoryScope, MosaicMemorySearch, type MosaicMemorySearchFilter, type MosaicMemorySearchProps, type MosaicMemorySource, MosaicMentionInput, type MosaicMentionInputProps, type MosaicMessage, MosaicMessageCard, type MosaicMessageCardProps, MosaicMessageList, MessageListDesktop as MosaicMessageListDesktop, MessageListMobile as MosaicMessageListMobile, type MosaicMessageListProps, type MosaicMessageReactions, MosaicMessageSearch, type MosaicMessageSearchProps, type MosaicMessageSender, type MosaicMessageSenderType, type MosaicModelOption, MosaicModelSelector, type MosaicModelSelectorProps, MosaicModuleCard, type MosaicModuleCardProps, type MosaicModuleData, MosaicModuleForm, type MosaicModuleFormField, type MosaicModuleFormProps, type MosaicModuleItem, MosaicModuleLibrary, type MosaicModuleLibraryProps, type MosaicModuleType, MosaicMultiOrgIndicator, type MosaicMultiOrgIndicatorProps, MosaicMultiTenantProvider, type MosaicMultiTenantProviderProps, type MosaicNavItem, MosaicNavbar, type MosaicNavbarProps, type MosaicNavigationItem, type MosaicOrg, type MosaicOrgInfo, type MosaicOrgMember, MosaicOrgPanel, type MosaicOrgPanelProps, type MosaicOrgPanelTab, MosaicOrgProfilePage, type MosaicOrgProfilePageProps, type MosaicOrgRole, MosaicOrgRoleBadge, type MosaicOrgRoleBadgeProps, type MosaicOrgStats, MosaicOrgSwitcher, type MosaicOrgSwitcherProps, MosaicPdfViewer, type MosaicPdfViewerProps, MosaicPopover, type MosaicPopoverProps, type MosaicSelectItem as MosaicPrefSelectItem, type MosaicPreference, type MosaicPreferenceGroup, MosaicPreferencesPanel, type MosaicPreferencesPanelProps, MosaicPricingCard, type MosaicPricingCardProps, type MosaicProfileField, MosaicProfilePanel, type MosaicProfilePanelProps, MosaicProgress, type MosaicProgressProps, type MosaicQuickAction$1 as MosaicQuickAction, MosaicQuickActionCard, type MosaicQuickActionCardProps, MosaicQuickActionsMenu, type MosaicQuickAction as MosaicQuickActionsMenuItem, type MosaicQuickActionsMenuProps, type MosaicQuickAgent, MosaicQuickAgentSelector, type MosaicQuickAgentSelectorProps, MosaicQuickStartPanel, type MosaicQuickStartPanelProps, MosaicRadioGroup, MosaicRadioGroupItem, type MosaicRadioGroupItemProps, type MosaicRadioGroupProps, MosaicReplyInput, type MosaicReplyInputProps, MosaicResizableSplitPane, type MosaicResizableSplitPaneProps, MosaicSaveChatAsMemoryForm, type MosaicSaveChatAsMemoryFormProps, MosaicSaveTemplateModal, type MosaicSaveTemplateModalProps, type MosaicScenario, MosaicScrollArea, type MosaicScrollAreaProps, MosaicSelect, type MosaicSelectItem$1 as MosaicSelectItem, type MosaicSelectProps, type MosaicSelectorCategory, type MosaicSelectorItem, MosaicSelectorModal, type MosaicSelectorModalProps, MosaicSeparator, type MosaicSeparatorProps, MosaicSessionCard, type MosaicSessionCardInteractionProps, type MosaicSessionCardProps, type MosaicSessionCardVariantProps, type MosaicSessionData, MosaicSessionList, type MosaicSessionListLayout, type MosaicSessionListProps, type MosaicSessionStatus, type MosaicSidebarFooterStatus, type MosaicSidebarNavItem, type MosaicSidebarQuickAction, type MosaicSidebarRecentItem, MosaicSignInLayout, type MosaicSignInLayoutProps, MosaicSignUpLayout, type MosaicSignUpLayoutProps, MosaicSkeleton, type MosaicSkeletonProps, MosaicSlider, type MosaicSliderProps, type MosaicStatItem, MosaicStatsGrid, type MosaicStatsGridProps, type MosaicStep, MosaicStepPipeline, type MosaicStepPipelineDotsProps, type MosaicStepPipelineProps, type MosaicStepPipelineSegmentsProps, type MosaicStepStatus, MosaicSwitch, type MosaicSwitchProps, MosaicTabs, MosaicTabsList, type MosaicTabsListProps, MosaicTabsPanel, type MosaicTabsPanelProps, type MosaicTabsProps, MosaicTabsTrigger, type MosaicTabsTriggerProps, MosaicTagInput, type MosaicTagInputProps, type MosaicTemplate, type MosaicTemplateAgent, MosaicTemplateAgentCard, type MosaicTemplateAgentCardProps, type MosaicTemplateAgentData, MosaicTemplateCard, type MosaicTemplateCardProps, type MosaicTemplateCategory, MosaicTemplateCategoryChips, type MosaicTemplateCategoryChipsProps, MosaicTemplateGallery, type MosaicTemplateGalleryProps, MosaicTemplateList, type MosaicTemplateListProps, type MosaicTemplateManagementItem, MosaicTemplateManagementPanel, type MosaicTemplateManagementPanelProps, type MosaicTemplateMetadata, MosaicTemplatePreview, type MosaicTemplatePreviewProps, MosaicTestimonialsGrid, type MosaicTestimonialsGridProps, MosaicTextarea, type MosaicTextareaProps, MosaicThemeProvider, type MosaicThemeProviderProps, MosaicThemeToggle, type MosaicThemeToggleProps, MosaicThreadIndicator, type MosaicThreadIndicatorProps, type MosaicThreadIndicatorReplyStatus, MosaicThreadView, type MosaicThreadViewMessage, type MosaicThreadViewProps, MosaicToast, type MosaicToastProps, MosaicToastProvider, type MosaicToastProviderPosition, type MosaicToastProviderProps, type MosaicToastVariant, MosaicToolToggleList, type MosaicToolToggleListApprovalLevel, type MosaicToolToggleListProps, type MosaicToolToggleListSection, type MosaicToolToggleListTool, MosaicTooltip, MosaicTooltipContent, type MosaicTooltipContentProps, type MosaicTooltipProps, MosaicTooltipProvider, type MosaicTooltipProviderProps, MosaicTooltipRoot, type MosaicTooltipRootProps, MosaicTooltipTrigger, type MosaicTooltipTriggerProps, MosaicUrlScraper, type MosaicUrlScraperContent, type MosaicUrlScraperProps, type MosaicUrlScraperState, MosaicUserButton, type MosaicUserButtonProps, type MosaicWorkspaceContext, type NavCta, type NavLink, type OrbPosition, type Orientation, Placeholder, type PricingCta, type SocialLink, type StatItem, type TestimonialItem, type Theme, addMemoryFormButtonVariants, addMemoryFormErrorVariants, addMemoryFormFieldVariants, addMemoryFormFooterVariants, addMemoryFormRootVariants, agentBuilderModalBackdropVariants, agentBuilderModalPopupVariants, agentChatRootVariants, agentEditorVariants, agentPreviewVariants, alertDialogContentVariants, alertDialogOverlayVariants, badgeVariants, buttonVariants, chatMessageBubbleVariants, chatMessageContainerVariants, chatMessageToolStatusVariants, chatSidebarThreadVariants, drawerBackdropVariants, drawerPopupVariants, editMemoryDialogBackdropVariants, editMemoryDialogErrorVariants, editMemoryDialogFieldVariants, editMemoryDialogPopupVariants, editSessionDialogBodyVariants, editSessionDialogButtonVariants, editSessionDialogErrorVariants, editSessionDialogFieldVariants, editSessionDialogFooterVariants, marketplaceCardVariants, memoryDashboardViewToggleButtonVariants, memoryGridVariants, memoryListItemVariants, memoryListVariants, memorySearchFilterChipVariants, mentionInputFieldVariants, mentionListItemVariants, mentionListVariants, pdfViewerFrameVariants, pdfViewerStatusVariants, pdfViewerToolbarButtonVariants, popoverPopupVariants, replyInputActionButtonVariants, replyInputContextVariants, replyInputRootVariants, replyInputTextareaVariants, saveChatAsMemoryFormButtonVariants, saveChatAsMemoryFormErrorVariants, saveChatAsMemoryFormFieldVariants, saveChatAsMemoryFormFooterVariants, saveChatAsMemoryFormRootVariants, saveTemplateModalBodyVariants, saveTemplateModalButtonVariants, saveTemplateModalErrorVariants, saveTemplateModalFieldVariants, saveTemplateModalFooterVariants, sessionCardVariants, sessionListItemVariants, sessionListVariants, skeletonVariants, splitPaneCollapseButtonVariants, splitPaneHandleVariants, splitPaneRootVariants, tagInputFieldVariants, tagInputRemoveButtonVariants, tagInputRootVariants, tagInputTagVariants, templateAgentCardBadgeVariants, templateAgentCardTagVariants, templateAgentCardVariants, templateCategoryChipVariants, templateListVariants, templateManagementRowVariants, threadIndicatorCountVariants, threadIndicatorRootVariants, threadViewEmptyVariants, threadViewRepliesVariants, threadViewReplyVariants, threadViewRootMessageVariants, threadViewRootVariants, toastCardVariants, toastDismissButtonVariants, toastProviderPositionVariants, toastTitleVariants, toolToggleListRowVariants, toolToggleListSectionVariants, useBreakpoint, useDevice, useMosaicWorkspace as useEffectiveWorkspaceId, useIsDesktop, useIsMobile, useIsTablet, useMediaQuery, useMosaicWorkspace, useOrientation, useViewport, version };
10397
+ /**
10398
+ * calloutVariants — pure CVA variant function for MosaicCallout.
10399
+ *
10400
+ * Isolated in its own module so it can be re-exported from the
10401
+ * `@vantageos/mosaic-blocks/server` subpath without pulling in React.
10402
+ *
10403
+ * Zero browser / React runtime dependencies — safe in RSC / Node.js.
10404
+ */
10405
+ declare const calloutVariants: (props?: ({
10406
+ variant?: "info" | "warning" | null | undefined;
10407
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
10408
+
10409
+ /**
10410
+ * MosaicCallout — inline bordered notice
10411
+ *
10412
+ * Style-only component: a bordered box carrying a required title and
10413
+ * optional children/icon, supplied entirely by the host.
10414
+ *
10415
+ * variant="info" -> role="status" (non-urgent, ambient notice)
10416
+ * variant="warning" -> role="alert" (urgent, must be announced)
10417
+ *
10418
+ * data-slot="callout" for composability.
10419
+ * Design tokens: Tailwind v4 semantic classes only. No hardcoded colors.
10420
+ */
10421
+
10422
+ interface MosaicCalloutProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "title">, VariantProps<typeof calloutVariants> {
10423
+ /** Required — the host owns the copy, no default text is generated. */
10424
+ title: string;
10425
+ children?: React.ReactNode;
10426
+ /** Host-supplied icon, rendered as-is. */
10427
+ icon?: React.ReactNode;
10428
+ className?: string;
10429
+ ref?: React.Ref<HTMLDivElement>;
10430
+ }
10431
+ /**
10432
+ * MosaicCallout — inline notice with a semantic role driven by variant.
10433
+ *
10434
+ * @example
10435
+ * <MosaicCallout variant="info" title="Heads up">
10436
+ * Optional supporting copy supplied by the host.
10437
+ * </MosaicCallout>
10438
+ * <MosaicCallout variant="warning" title="Action required" icon={<WarnIcon />} />
10439
+ */
10440
+ declare function MosaicCallout({ variant, title, children, icon, className, ref, ...props }: MosaicCalloutProps): React.JSX.Element;
10441
+ declare namespace MosaicCallout {
10442
+ var displayName: string;
10443
+ }
10444
+
10445
+ type MosaicMatchInputState = "exact" | "partial" | "ambiguous" | "none";
10446
+ interface MosaicMatchInputStateLabels {
10447
+ exact: string;
10448
+ partial: string;
10449
+ ambiguous: string;
10450
+ none: string;
10451
+ }
10452
+ interface MosaicMatchInputProps extends Omit<MosaicComboboxProps, "disabled" | "className"> {
10453
+ /** Required — the four match states are match semantics, never inferred. */
10454
+ matchState: MosaicMatchInputState;
10455
+ /** Required — the host owns every label, no default copy is generated. */
10456
+ stateLabels: MosaicMatchInputStateLabels;
10457
+ /** Locked mode: the input becomes read-only/disabled. */
10458
+ locked?: boolean;
10459
+ className?: string;
10460
+ }
10461
+
10462
+ /**
10463
+ * MosaicMatchInput — combobox + match-state indicator.
10464
+ *
10465
+ * @example
10466
+ * <MosaicMatchInput
10467
+ * items={items}
10468
+ * matchState="ambiguous"
10469
+ * stateLabels={{
10470
+ * exact: t('MatchInput.exact'),
10471
+ * partial: t('MatchInput.partial'),
10472
+ * ambiguous: t('MatchInput.ambiguous'),
10473
+ * none: t('MatchInput.none'),
10474
+ * }}
10475
+ * emptyMessage={t('MatchInput.empty')}
10476
+ * />
10477
+ */
10478
+ declare function MosaicMatchInput({ matchState, stateLabels, locked, className, ...comboboxProps }: MosaicMatchInputProps): React.JSX.Element;
10479
+ declare namespace MosaicMatchInput {
10480
+ var displayName: string;
10481
+ }
10482
+
10483
+ /**
10484
+ * matchStateVariants — pure CVA variant function for the match-state
10485
+ * indicator rendered by MosaicMatchInput.
10486
+ *
10487
+ * Each match state maps to a distinct visual + accessible signal so the
10488
+ * four states are mutually distinguishable BY THE COMPONENT, independent
10489
+ * of whatever label text the host passes in
10490
+ * (see MosaicMatchInput.test.tsx negative-pole tests, which pass an
10491
+ * IDENTICAL label for all four states on purpose).
10492
+ *
10493
+ * Zero browser / React runtime dependencies — safe in RSC / Node.js.
10494
+ */
10495
+ declare const matchStateVariants: (props?: ({
10496
+ matchState?: "none" | "exact" | "partial" | "ambiguous" | null | undefined;
10497
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
10498
+
10499
+ /**
10500
+ * MosaicEditableCell — table cell with double-click-to-edit
10501
+ *
10502
+ * Composes MosaicInput. Double-click enters edit mode; Enter validates
10503
+ * and commits; Escape cancels and restores the original value. A failed
10504
+ * `validate` blocks the commit and surfaces its error message inline.
10505
+ *
10506
+ * data-slot="editable-cell" on the wrapper.
10507
+ */
10508
+
10509
+ interface MosaicEditableCellProps {
10510
+ value: string;
10511
+ onCommit: (next: string) => void;
10512
+ onCancel?: () => void;
10513
+ /** Returns an error message to block the commit, or null to allow it. */
10514
+ validate?: (next: string) => string | null;
10515
+ /** Required — the host owns the language, no default fallback. */
10516
+ editAriaLabel: string;
10517
+ disabled?: boolean;
10518
+ className?: string;
10519
+ ref?: React.Ref<HTMLButtonElement | HTMLDivElement>;
10520
+ }
10521
+ /**
10522
+ * MosaicEditableCell — double-click to edit a table cell.
10523
+ *
10524
+ * @example
10525
+ * <MosaicEditableCell
10526
+ * value={row.name}
10527
+ * onCommit={(next) => save(row.id, next)}
10528
+ * validate={(next) => (next.trim() ? null : t('EditableCell.required'))}
10529
+ * editAriaLabel={t('EditableCell.editLabel')}
10530
+ * />
10531
+ */
10532
+ declare function MosaicEditableCell({ value, onCommit, onCancel, validate, editAriaLabel, disabled, className, ref, }: MosaicEditableCellProps): React.JSX.Element;
10533
+ declare namespace MosaicEditableCell {
10534
+ var displayName: string;
10535
+ }
10536
+
10537
+ /**
10538
+ * editableCellVariants — pure CVA variant function for MosaicEditableCell.
10539
+ *
10540
+ * Isolated in its own module so it can be re-exported from the
10541
+ * `@vantageos/mosaic-blocks/server` subpath without pulling in React.
10542
+ *
10543
+ * Zero browser / React runtime dependencies — safe in RSC / Node.js.
10544
+ */
10545
+ declare const editableCellVariants: (props?: ({
10546
+ disabled?: boolean | null | undefined;
10547
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
10548
+
10549
+ /**
10550
+ * artifact-canvas-adapter — dual-source contract.
10551
+ *
10552
+ * The adapter normalizes an artifact from EITHER runtime source into one
10553
+ * internal shape (`NormalizedArtifact`) so a single presentation layer
10554
+ * renders under both:
10555
+ *
10556
+ * (a) @ai-sdk-tools/artifacts — `useArtifacts()` client shape
10557
+ * (b) MCP Apps ui:// bridge — GA nested `_meta.ui.resourceUri` tool result
10558
+ *
10559
+ * Never widen this file to a third shape without adding its own
10560
+ * `normalizeFrom*` function and a dedicated integration test proving the
10561
+ * new source traverses the adapter at runtime — see D6 (mcp-doctor) for the
10562
+ * static form-check this shape must keep satisfying.
10563
+ */
10564
+ type ArtifactType = "document" | "data-table" | "checklist" | "chart";
10565
+ interface NormalizedArtifact {
10566
+ id: string;
10567
+ type: ArtifactType;
10568
+ title: string;
10569
+ /** Raw source-specific payload, kept for the type-specific renderer. */
10570
+ data: Record<string, unknown>;
10571
+ }
10572
+ interface AiSdkArtifactEntry {
10573
+ id: string;
10574
+ type: string;
10575
+ data: Record<string, unknown>;
10576
+ }
10577
+ interface AiSdkArtifactsSource {
10578
+ kind: "ai-sdk-artifacts";
10579
+ artifacts: AiSdkArtifactEntry[];
10580
+ activeId: string | null;
10581
+ }
10582
+ /**
10583
+ * The GA-nested MCP Apps UI key, exactly the form D6 (mcp-doctor) classifies
10584
+ * as `present`/conforming: `_meta: { ui: { resourceUri } }`. Community
10585
+ * (`io.modelcontextprotocol/ui`) and flat (`ui/resourceUri`) forms are
10586
+ * rejected by the normalizer — see `normalizeFromMcpToolResult`.
10587
+ */
10588
+ interface McpToolResultMeta {
10589
+ ui: {
10590
+ resourceUri: string;
10591
+ };
10592
+ }
10593
+ interface McpToolResult {
10594
+ structuredContent: Record<string, unknown>;
10595
+ _meta: {
10596
+ ui: {
10597
+ resourceUri: string;
10598
+ };
10599
+ };
10600
+ }
10601
+ interface McpUiSource {
10602
+ kind: "mcp-ui";
10603
+ toolResult: McpToolResult;
10604
+ }
10605
+ type ArtifactCanvasSource = AiSdkArtifactsSource | McpUiSource;
10606
+
10607
+ /**
10608
+ * MosaicArtifactCanvasAdapter — dual-source artifact runtime chrome.
10609
+ *
10610
+ * Absorbs the 4 any-debate-ai runtime concerns (canvas-toggle, artifact-canvas,
10611
+ * artifact-renderer, artifact-toolbar) behind ONE presentation layer that
10612
+ * renders under either runtime source:
10613
+ *
10614
+ * (a) @ai-sdk-tools/artifacts — pass `source={{ kind: "ai-sdk-artifacts", ... }}`
10615
+ * (b) MCP Apps ui:// bridge — pass `source={{ kind: "mcp-ui", ... }}`
10616
+ *
10617
+ * Both are normalized by `normalizeArtifact` (./normalize.ts) into one
10618
+ * `NormalizedArtifact` shape before this component ever touches them — this
10619
+ * component itself never branches on `source.kind` beyond that single call.
10620
+ *
10621
+ * i18n: zero hardcoded user-facing strings (mosaic-blocks doctrine — see
10622
+ * src/__tests__/i18n-no-hardcoded-literals.test.ts). Every label is a
10623
+ * required prop; the host owns the language.
10624
+ *
10625
+ * data-slot="artifact-canvas-adapter" on the root, "artifact-canvas-toggle"
10626
+ * on the toggle button, "artifact-canvas-toolbar" on the toolbar,
10627
+ * "artifact-canvas-body" on the rendered artifact region.
10628
+ */
10629
+
10630
+ interface MosaicArtifactCanvasAdapterLabels {
10631
+ /** Accessible name for the collapsed-state toggle button. */
10632
+ toggleLabel: string;
10633
+ /** Accessible name for the canvas close button. */
10634
+ closeLabel: string;
10635
+ /** Region heading shown in the toolbar when the canvas is open. */
10636
+ toolbarHeading: string;
10637
+ /** Heading shown when no artifact is active. */
10638
+ emptyTitle: string;
10639
+ /** Body copy shown when no artifact is active. */
10640
+ emptyBody: string;
10641
+ /** Heading shown when the source resolves to no renderable artifact. */
10642
+ notFoundTitle: string;
10643
+ /** Body copy shown when the source resolves to no renderable artifact. */
10644
+ notFoundBody: string;
10645
+ /** Localizes the artifact type badge, e.g. (t) => ({ document: "Document", ... })[t]. */
10646
+ typeLabel: (type: ArtifactType) => string;
10647
+ }
10648
+ interface MosaicArtifactCanvasAdapterProps {
10649
+ /** Either runtime source; `null` renders the empty state. */
10650
+ source: ArtifactCanvasSource | null;
10651
+ isOpen: boolean;
10652
+ onToggle: () => void;
10653
+ onClose: () => void;
10654
+ labels: MosaicArtifactCanvasAdapterLabels;
10655
+ className?: string;
10656
+ ref?: React.Ref<HTMLDivElement>;
10657
+ }
10658
+ declare function MosaicArtifactCanvasAdapter({ source, isOpen, onToggle, onClose, labels, className, ref, }: MosaicArtifactCanvasAdapterProps): React.JSX.Element;
10659
+ declare namespace MosaicArtifactCanvasAdapter {
10660
+ var displayName: string;
10661
+ }
10662
+
10663
+ /** Source (a): @ai-sdk-tools/artifacts `useArtifacts()` shape. */
10664
+ declare function normalizeFromAiSdkArtifacts(source: AiSdkArtifactsSource): NormalizedArtifact | null;
10665
+ /**
10666
+ * Source (b): MCP Apps ui:// bridge. Requires the GA-nested key
10667
+ * `_meta.ui.resourceUri` (matches mcp-doctor D6 `present`/conforming state).
10668
+ * The artifact type is the last path segment of the resourceUri
10669
+ * (`ui://artifact-canvas/document` -> "document"); `structuredContent` is
10670
+ * the artifact payload, same shape family as the ai-sdk-artifacts entry.
10671
+ */
10672
+ declare function normalizeFromMcpToolResult(source: McpUiSource): NormalizedArtifact | null;
10673
+ /** Single entry point: dispatches to the right normalizer by `source.kind`. */
10674
+ declare function normalizeArtifact(source: ArtifactCanvasSource): NormalizedArtifact | null;
10675
+
10676
+ /**
10677
+ * MosaicArtifactDocument — dumb, contract-agnostic document artifact renderer
10678
+ *
10679
+ * Renders a normalized document artifact payload. Owns no knowledge of its
10680
+ * runtime source (@ai-sdk-tools/artifacts vs the MCP Apps ui:// bridge) —
10681
+ * it consumes the same `data` shape either source normalizes to, one level
10682
+ * below `NormalizedArtifact["data"]` in `artifact-canvas-adapter`.
10683
+ *
10684
+ * Read-only presentation. Ported from any-debate-ai's DocumentArtifact,
10685
+ * stripped of editing state (inline edit mode, autosave, markdown toolbar)
10686
+ * to keep this a pure render component, per the C1 adapter contract.
10687
+ *
10688
+ * data-slot="artifact-document" on the root, "artifact-document-section"
10689
+ * per section, "artifact-document-tag" per tag.
10690
+ *
10691
+ * i18n: zero hardcoded user-facing strings — every label is a required
10692
+ * prop (mosaic-blocks doctrine, see src/__tests__/i18n-no-hardcoded-literals.test.ts).
10693
+ */
10694
+
10695
+ interface MosaicArtifactDocumentSection {
10696
+ id: string;
10697
+ title: string;
10698
+ content: string;
10699
+ order: number;
10700
+ }
10701
+ interface MosaicArtifactDocumentData {
10702
+ title: string;
10703
+ content: string;
10704
+ sections?: MosaicArtifactDocumentSection[];
10705
+ metadata?: {
10706
+ updatedAt?: string;
10707
+ tags?: string[];
10708
+ };
10709
+ }
10710
+ interface MosaicArtifactDocumentLabels {
10711
+ /** Accessible text for the "Document" type badge. */
10712
+ typeBadgeLabel: string;
10713
+ /** Heading above the sections list. */
10714
+ sectionsHeading: string;
10715
+ /** Prefix label shown before the tags list. */
10716
+ tagsLabel: string;
10717
+ /** Formats the last-updated line, e.g. (date) => `Updated ${date}`. */
10718
+ updatedLabel: (formattedDate: string) => string;
10719
+ /** Shown in place of the content when it is blank. */
10720
+ emptyContentMessage: string;
10721
+ /** Formats a section's character count, e.g. (n) => `${n} chars`. */
10722
+ charsLabel: (count: number) => string;
10723
+ }
10724
+ interface MosaicArtifactDocumentProps {
10725
+ data: MosaicArtifactDocumentData;
10726
+ labels: MosaicArtifactDocumentLabels;
10727
+ className?: string;
10728
+ ref?: React.Ref<HTMLDivElement>;
10729
+ }
10730
+ /**
10731
+ * MosaicArtifactDocument — read-only document artifact renderer.
10732
+ *
10733
+ * @example
10734
+ * <MosaicArtifactDocument
10735
+ * data={{ title: "Launch plan", content: "..." }}
10736
+ * labels={{
10737
+ * typeBadgeLabel: "Document",
10738
+ * sectionsHeading: "Sections",
10739
+ * tagsLabel: "Tags:",
10740
+ * updatedLabel: (d) => `Updated ${d}`,
10741
+ * emptyContentMessage: "This document is empty.",
10742
+ * charsLabel: (n) => `${n} chars`,
10743
+ * }}
10744
+ * />
10745
+ */
10746
+ declare function MosaicArtifactDocument({ data, labels, className, ref, }: MosaicArtifactDocumentProps): React.JSX.Element;
10747
+ declare namespace MosaicArtifactDocument {
10748
+ var displayName: string;
10749
+ }
10750
+
10751
+ /**
10752
+ * MosaicArtifactDataTable — dumb, contract-agnostic data-table artifact renderer
10753
+ *
10754
+ * Renders a normalized data-table artifact payload on top of the existing
10755
+ * `MosaicDataTable` atom (reuse-first — no re-implementation of sort/render
10756
+ * logic). Owns no knowledge of its runtime source (@ai-sdk-tools/artifacts vs
10757
+ * the MCP Apps ui:// bridge); it consumes the same `data` shape either source
10758
+ * normalizes to.
10759
+ *
10760
+ * Read-only presentation. Ported from any-debate-ai's DataTableArtifact,
10761
+ * stripped of inline-edit/add-row/delete-row/search state to keep this a
10762
+ * pure render component, per the C1 adapter contract.
10763
+ *
10764
+ * data-slot="artifact-data-table" on the root.
10765
+ *
10766
+ * i18n: zero hardcoded user-facing strings — every label is a required
10767
+ * prop (mosaic-blocks doctrine, see src/__tests__/i18n-no-hardcoded-literals.test.ts).
10768
+ */
10769
+
10770
+ interface MosaicArtifactDataTableColumn {
10771
+ id: string;
10772
+ name: string;
10773
+ type: "string" | "number" | "boolean";
10774
+ width?: number;
10775
+ }
10776
+ interface MosaicArtifactDataTableData {
10777
+ title: string;
10778
+ columns: MosaicArtifactDataTableColumn[];
10779
+ rows: Record<string, unknown>[];
10780
+ metadata?: {
10781
+ sortBy?: string;
10782
+ sortOrder?: "asc" | "desc";
10783
+ };
10784
+ }
10785
+ interface MosaicArtifactDataTableLabels {
10786
+ /** Accessible text for the "Data Table" type badge. */
10787
+ typeBadgeLabel: string;
10788
+ /** Formats the row/column count badge, e.g. (rows, cols) => `${rows} rows × ${cols} cols`. */
10789
+ rowsColsLabel: (rows: number, cols: number) => string;
10790
+ /** Shown when there are no rows. */
10791
+ emptyMessage: string;
10792
+ /** Boolean-column cell label for `true`. */
10793
+ yesLabel: string;
10794
+ /** Boolean-column cell label for `false`. */
10795
+ noLabel: string;
10796
+ }
10797
+ interface MosaicArtifactDataTableProps {
10798
+ data: MosaicArtifactDataTableData;
10799
+ labels: MosaicArtifactDataTableLabels;
10800
+ className?: string;
10801
+ ref?: React.Ref<HTMLDivElement>;
10802
+ }
10803
+ /**
10804
+ * MosaicArtifactDataTable — read-only data-table artifact renderer.
10805
+ *
10806
+ * @example
10807
+ * <MosaicArtifactDataTable
10808
+ * data={{ title: "Q3 pipeline", columns: [...], rows: [...] }}
10809
+ * labels={{
10810
+ * typeBadgeLabel: "Data Table",
10811
+ * rowsColsLabel: (r, c) => `${r} rows × ${c} cols`,
10812
+ * emptyMessage: "No rows.",
10813
+ * yesLabel: "Yes",
10814
+ * noLabel: "No",
10815
+ * }}
10816
+ * />
10817
+ */
10818
+ declare function MosaicArtifactDataTable({ data, labels, className, ref, }: MosaicArtifactDataTableProps): React.JSX.Element;
10819
+ declare namespace MosaicArtifactDataTable {
10820
+ var displayName: string;
10821
+ }
10822
+
10823
+ /**
10824
+ * MosaicArtifactChart — dumb, contract-agnostic chart artifact renderer
10825
+ *
10826
+ * Renders a normalized chart artifact payload with Recharts (already the
10827
+ * charting library mosaic-blocks standardizes on). Owns no knowledge of its
10828
+ * runtime source (@ai-sdk-tools/artifacts vs the MCP Apps ui:// bridge); it
10829
+ * consumes the same `data` shape either source normalizes to.
10830
+ *
10831
+ * Read-only presentation. Ported from any-debate-ai's ChartArtifact,
10832
+ * stripped of the type-switcher/refresh/download toolbar to keep this a
10833
+ * pure render component, per the C1 adapter contract.
10834
+ *
10835
+ * `recharts` is a genuinely OPTIONAL peer dependency (see package.json
10836
+ * peerDependenciesMeta) — only hosts rendering chart artifacts need it.
10837
+ * mosaic-blocks does not bundle it: this component follows the repo's
10838
+ * canonical optional-peer pattern (dependency injection, see
10839
+ * MosaicUserButton/MosaicMultiTenantProvider) instead of a static top-level
10840
+ * `import ... from "recharts"`, which would make recharts a hard runtime
10841
+ * requirement and contradict the "optional" contract — a caller without
10842
+ * recharts installed would crash at module-resolution time. Only
10843
+ * `import type` is used below: type-only imports are erased at build time,
10844
+ * so no runtime dependency on recharts exists in the published bundle.
10845
+ * Callers that DO want charts pass the recharts primitives via the
10846
+ * `recharts` prop; callers that don't render `labels.unavailableMessage`.
10847
+ *
10848
+ * data-slot="artifact-chart" on the root.
10849
+ *
10850
+ * i18n: zero hardcoded user-facing strings — every label is a required
10851
+ * prop (mosaic-blocks doctrine, see src/__tests__/i18n-no-hardcoded-literals.test.ts).
10852
+ */
10853
+
10854
+ type MosaicArtifactChartType = "bar" | "line" | "pie";
10855
+ interface MosaicArtifactChartConfig {
10856
+ xAxis?: string;
10857
+ colors?: string[];
10858
+ legend?: boolean;
10859
+ grid?: boolean;
10860
+ }
10861
+ interface MosaicArtifactChartData {
10862
+ title: string;
10863
+ type: MosaicArtifactChartType;
10864
+ data: Record<string, unknown>[];
10865
+ config?: MosaicArtifactChartConfig;
10866
+ metadata?: {
10867
+ dataSource?: string;
10868
+ description?: string;
10869
+ };
10870
+ }
10871
+ interface MosaicArtifactChartLabels {
10872
+ /** Formats the chart-type badge, e.g. (type) => `${type} Chart`. */
10873
+ typeBadgeLabel: (type: MosaicArtifactChartType) => string;
10874
+ /** Formats the point-count badge, e.g. (n) => `${n} points`. */
10875
+ pointsLabel: (count: number) => string;
10876
+ /** Shown when `data.type` is not one of bar/line/pie. */
10877
+ unsupportedTypeMessage: (type: string) => string;
10878
+ /** Shown when the `recharts` prop is not supplied (optional peer absent). */
10879
+ unavailableMessage: string;
10880
+ }
10881
+ /**
10882
+ * Recharts primitives injected by the caller. Optional peer dependency —
10883
+ * omit entirely when the host app does not render charts; the component
10884
+ * then renders `labels.unavailableMessage` instead of crashing.
10885
+ *
10886
+ * @example
10887
+ * import * as Recharts from "recharts"
10888
+ * <MosaicArtifactChart data={data} labels={labels} recharts={Recharts} />
10889
+ */
10890
+ interface MosaicArtifactChartRecharts {
10891
+ BarChart: typeof BarChart;
10892
+ Bar: typeof Bar;
10893
+ LineChart: typeof LineChart;
10894
+ Line: typeof Line;
10895
+ PieChart: typeof PieChart;
10896
+ Pie: typeof Pie;
10897
+ Cell: typeof Cell;
10898
+ XAxis: typeof XAxis;
10899
+ YAxis: typeof YAxis;
10900
+ CartesianGrid: typeof CartesianGrid;
10901
+ Tooltip: typeof Tooltip;
10902
+ Legend: typeof Legend;
10903
+ ResponsiveContainer: typeof ResponsiveContainer;
10904
+ }
10905
+ interface MosaicArtifactChartProps {
10906
+ data: MosaicArtifactChartData;
10907
+ labels: MosaicArtifactChartLabels;
10908
+ /** recharts primitives — omit when the optional recharts peer is absent. */
10909
+ recharts?: MosaicArtifactChartRecharts;
10910
+ className?: string;
10911
+ ref?: React.Ref<HTMLDivElement>;
10912
+ }
10913
+ /**
10914
+ * MosaicArtifactChart — read-only chart artifact renderer (bar/line/pie).
10915
+ *
10916
+ * @example
10917
+ * <MosaicArtifactChart
10918
+ * data={{ title: "Q3 revenue", type: "bar", data: [{ month: "Jul", value: 100 }] }}
10919
+ * labels={{
10920
+ * typeBadgeLabel: (t) => `${t} Chart`,
10921
+ * pointsLabel: (n) => `${n} points`,
10922
+ * unsupportedTypeMessage: (t) => `Unsupported chart type: ${t}`,
10923
+ * unavailableMessage: "Charts unavailable",
10924
+ * }}
10925
+ * recharts={Recharts}
10926
+ * />
10927
+ */
10928
+ declare function MosaicArtifactChart({ data, labels, recharts, className, ref, }: MosaicArtifactChartProps): React.JSX.Element;
10929
+ declare namespace MosaicArtifactChart {
10930
+ var displayName: string;
10931
+ }
10932
+
10933
+ /**
10934
+ * MosaicArtifactChecklist — dumb, contract-agnostic checklist artifact renderer
10935
+ *
10936
+ * Renders a normalized checklist artifact payload on top of the existing
10937
+ * `MosaicProgress` atom (reuse-first). Owns no knowledge of its runtime
10938
+ * source (@ai-sdk-tools/artifacts vs the MCP Apps ui:// bridge); it consumes
10939
+ * the same `data` shape either source normalizes to.
10940
+ *
10941
+ * Read-only presentation. Ported from any-debate-ai's ChecklistArtifact,
10942
+ * stripped of the toggle/add/delete/bulk-action state to keep this a pure
10943
+ * render component, per the C1 adapter contract.
10944
+ *
10945
+ * data-slot="artifact-checklist" on the root, "artifact-checklist-item" per item.
10946
+ *
10947
+ * i18n: zero hardcoded user-facing strings — every label is a required
10948
+ * prop (mosaic-blocks doctrine, see src/__tests__/i18n-no-hardcoded-literals.test.ts).
10949
+ */
10950
+
10951
+ type MosaicArtifactChecklistPriority = "low" | "medium" | "high";
10952
+ interface MosaicArtifactChecklistItem {
10953
+ id: string;
10954
+ text: string;
10955
+ completed: boolean;
10956
+ priority?: MosaicArtifactChecklistPriority;
10957
+ dueDate?: number | string;
10958
+ assignee?: string;
10959
+ notes?: string;
10960
+ }
10961
+ interface MosaicArtifactChecklistData {
10962
+ title: string;
10963
+ description?: string;
10964
+ items: MosaicArtifactChecklistItem[];
10965
+ metadata?: {
10966
+ category?: string;
10967
+ };
10968
+ }
10969
+ interface MosaicArtifactChecklistLabels {
10970
+ /** Accessible text for the "Checklist" type badge. */
10971
+ typeBadgeLabel: string;
10972
+ /** Formats the header completed/total badge, e.g. (c, t) => `${c}/${t}`. */
10973
+ progressLabel: (completed: number, total: number) => string;
10974
+ /** Formats the progress-section summary line. */
10975
+ completedOfTotalLabel: (completed: number, total: number, percent: number) => string;
10976
+ /** Shown when there are no items. */
10977
+ emptyMessage: string;
10978
+ /** Localizes an item's priority badge. */
10979
+ priorityLabel: (priority: MosaicArtifactChecklistPriority) => string;
10980
+ }
10981
+ interface MosaicArtifactChecklistProps {
10982
+ data: MosaicArtifactChecklistData;
10983
+ labels: MosaicArtifactChecklistLabels;
10984
+ className?: string;
10985
+ ref?: React.Ref<HTMLDivElement>;
10986
+ }
10987
+ /**
10988
+ * MosaicArtifactChecklist — read-only checklist artifact renderer.
10989
+ *
10990
+ * @example
10991
+ * <MosaicArtifactChecklist
10992
+ * data={{ title: "Launch checklist", items: [{ id: "i1", text: "Ship PR", completed: false }] }}
10993
+ * labels={{
10994
+ * typeBadgeLabel: "Checklist",
10995
+ * progressLabel: (c, t) => `${c}/${t}`,
10996
+ * completedOfTotalLabel: (c, t, p) => `${c} of ${t} completed (${p}%)`,
10997
+ * emptyMessage: "No items yet.",
10998
+ * priorityLabel: (p) => ({ low: "Low", medium: "Medium", high: "High" })[p],
10999
+ * }}
11000
+ * />
11001
+ */
11002
+ declare function MosaicArtifactChecklist({ data, labels, className, ref, }: MosaicArtifactChecklistProps): React.JSX.Element;
11003
+ declare namespace MosaicArtifactChecklist {
11004
+ var displayName: string;
11005
+ }
11006
+
11007
+ /**
11008
+ * MosaicArtifactLibrary — org-scoped list/search of saved artifacts, opening
11009
+ * a selected one through the C1 adapter (MosaicArtifactCanvasAdapter) + C2
11010
+ * renderers.
11011
+ *
11012
+ * Reuse: composed from the closest any-debate-ai pattern —
11013
+ * components/artifacts/organization/ArtifactLibrary.tsx (search + type
11014
+ * filter + grid/list of saved artifacts) — stripped of its bulk-actions,
11015
+ * folders/tags organizer (`artifactOrganizer`), framer-motion, and shadcn/ui
11016
+ * deps to keep this a pure, contract-agnostic list component per the C1
11017
+ * adapter's own doctrine. Persistence, org-scoping, and folders/tags are the
11018
+ * host's concern: this component accepts a flat `items` array plus
11019
+ * `onSelect`/`source` props — no backend, no hardcoded business data.
11020
+ *
11021
+ * data-slot="artifact-library" on the root, "artifact-library-search" on
11022
+ * the search input, "artifact-library-list" on the item list,
11023
+ * "artifact-library-item" per item, "artifact-library-canvas" on the
11024
+ * forwarded MosaicArtifactCanvasAdapter.
11025
+ *
11026
+ * i18n: zero hardcoded user-facing strings (mosaic-blocks doctrine — see
11027
+ * src/__tests__/i18n-no-hardcoded-literals.test.ts). Every label is a
11028
+ * required prop; the host owns the language.
11029
+ */
11030
+
11031
+ interface MosaicArtifactLibraryItem {
11032
+ id: string;
11033
+ type: ArtifactType;
11034
+ title: string;
11035
+ /** Host-formatted "last updated" string (locale/timezone owned by the host). */
11036
+ updatedAtLabel: string;
11037
+ }
11038
+ interface MosaicArtifactLibraryProps {
11039
+ /** Saved artifacts to list/search. Host-supplied — no backend, no org logic baked in. */
11040
+ items: MosaicArtifactLibraryItem[];
11041
+ selectedId: string | null;
11042
+ onSelect: (id: string) => void;
11043
+ /** Runtime source for the currently selected artifact; `null` renders the adapter's empty state. */
11044
+ source: ArtifactCanvasSource | null;
11045
+ isCanvasOpen: boolean;
11046
+ onToggleCanvas: () => void;
11047
+ onCloseCanvas: () => void;
11048
+ /** Section heading. Required, no default. */
11049
+ title: string;
11050
+ /** Search input placeholder. Required, no default. */
11051
+ searchPlaceholder: string;
11052
+ /**
11053
+ * Accessible name for the search input. Required, no default — the
11054
+ * placeholder alone is never a substitute for an accessible name (it
11055
+ * disappears once a value is typed and is not reliably exposed by every
11056
+ * assistive technology), so this prop is mandatory and applied verbatim
11057
+ * via aria-label.
11058
+ */
11059
+ searchAriaLabel: string;
11060
+ /** Message shown when the filtered item list is empty. Required, no default. */
11061
+ emptyMessage: string;
11062
+ /** Localizes an item's type badge. Required, no default. */
11063
+ typeLabel: (type: ArtifactType) => string;
11064
+ /** Formats the visible item count, e.g. (n) => `${n} artifacts`. Required, no default. */
11065
+ countLabel: (n: number) => string;
11066
+ /** Forwarded verbatim to MosaicArtifactCanvasAdapter. */
11067
+ adapterLabels: MosaicArtifactCanvasAdapterLabels;
11068
+ className?: string;
11069
+ }
11070
+ declare function MosaicArtifactLibrary({ items, selectedId, onSelect, source, isCanvasOpen, onToggleCanvas, onCloseCanvas, title, searchPlaceholder, searchAriaLabel, emptyMessage, typeLabel, countLabel, adapterLabels, className, }: MosaicArtifactLibraryProps): React.JSX.Element;
11071
+ declare namespace MosaicArtifactLibrary {
11072
+ var displayName: string;
11073
+ }
11074
+
11075
+ /**
11076
+ * MosaicArtifactSaveAsMemoryForm — presentational "capitalise this artifact
11077
+ * into memory" form: the artifact → memory bridge, sibling of
11078
+ * MosaicSaveChatAsMemoryForm (chat → memory) in the same product family.
11079
+ *
11080
+ * Reuse: composed from the closest any-debate-ai pattern —
11081
+ * components/artifacts/save-artifact-as-memory-form.tsx — stripped of its
11082
+ * AdaptiveModal wrapper (host owns the shell/overlay), shadcn/ui deps,
11083
+ * mock-AI-extracted-learnings array, and hardcoded userRole-gated scope
11084
+ * options, to keep this a pure, contract-agnostic form component: prop-
11085
+ * driven, no backend, no hardcoded business data, same doctrine as
11086
+ * MosaicSaveChatAsMemoryForm / MosaicAddMemoryForm.
11087
+ *
11088
+ * Presentational atom composed from existing mosaic-blocks primitives:
11089
+ * MosaicInput + MosaicTagInput. This component never invents a new form
11090
+ * field or tag chip — it assembles the ones the library already ships.
11091
+ *
11092
+ * Zero extraction, zero I/O: the component does NOT read the artifact, does
11093
+ * NOT summarize it and does NOT decide what is worth remembering — it
11094
+ * renders whatever the host already extracted as fully controlled
11095
+ * `learnings`/`title`/`tags`/`scope` values, and routes save/cancel through
11096
+ * host callbacks. No network call of any kind lives in this component.
11097
+ *
11098
+ * Fully controlled: `title`/`learnings`/`scope`/`tags` are single-source-
11099
+ * of-truth values supplied by the host, every change is reported via a
11100
+ * callback. The component keeps no internal form state.
11101
+ *
11102
+ * Validation belongs to the host (SIN-01 + doctrine "the host decides"):
11103
+ * `canSave` is a host-computed boolean gating the save button, and
11104
+ * `titleError` is a host-computed string — this component only *displays*
11105
+ * an error, it never decides whether one exists. When an error string is
11106
+ * supplied, the title field gets `aria-invalid="true"` and
11107
+ * `aria-describedby` pointing at the rendered error text; the field is
11108
+ * `aria-invalid="false"` otherwise, so the absence of an error is never
11109
+ * ambiguous.
11110
+ *
11111
+ * Memory scope is a host-supplied `scopeOptions` list (e.g. gated by the
11112
+ * host's own role/permission model) — this component never hardcodes
11113
+ * "admin"/"member" or any org-scoped business rule; it renders whatever
11114
+ * options the host passes.
11115
+ *
11116
+ * isSaving sets `aria-busy="true"` on the save button and disables both
11117
+ * actions — a save-in-progress is announced, never silent.
11118
+ *
11119
+ * data-slot="artifact-save-as-memory-form" on the form root.
11120
+ * Bilingual: every user-facing string (labels/placeholders/errors/button
11121
+ * labels/type labels) is a required host-supplied prop — zero hardcoded
11122
+ * copy, zero default (SIN-01).
11123
+ *
11124
+ * No "use client" in source — prepend-use-client.mjs adds it to dist.
11125
+ * Design tokens: --border, --destructive, --foreground, --muted-foreground,
11126
+ * --secondary, --secondary-foreground.
11127
+ *
11128
+ * @example
11129
+ * <MosaicArtifactSaveAsMemoryForm
11130
+ * artifact={artifact}
11131
+ * typeLabel={(type) => typeLabels[type]}
11132
+ * title={title}
11133
+ * onTitleChange={setTitle}
11134
+ * titleLabel="Memory Title"
11135
+ * titleError={titleError}
11136
+ * learnings={learnings}
11137
+ * onEditLearning={(i, value) => editLearning(i, value)}
11138
+ * onRemoveLearning={(i) => removeLearning(i)}
11139
+ * learningsLabel="AI-Extracted Learnings"
11140
+ * editLearningAriaLabel={(i) => `Edit learning ${i + 1}`}
11141
+ * removeLearningAriaLabel={(i) => `Remove learning ${i + 1}`}
11142
+ * scope={scope}
11143
+ * onScopeChange={setScope}
11144
+ * scopeLabel="Memory Scope"
11145
+ * scopeOptions={scopeOptions}
11146
+ * tags={tags}
11147
+ * onAddTag={(t) => setTags((prev) => [...prev, t])}
11148
+ * onRemoveTag={(t) => setTags((prev) => prev.filter((x) => x !== t))}
11149
+ * tagsLabel="Tags"
11150
+ * tagInputPlaceholder="Add a tag…"
11151
+ * removeTagAriaLabel={(t) => `Remove ${t}`}
11152
+ * isSaving={isSaving}
11153
+ * canSave={canSave}
11154
+ * onSave={handleSave}
11155
+ * onCancel={() => setOpen(false)}
11156
+ * saveLabel="Save to Memory"
11157
+ * savingLabel="Saving…"
11158
+ * cancelLabel="Cancel"
11159
+ * />
11160
+ */
11161
+ type MosaicArtifactSaveAsMemoryArtifactType = "document" | "data-table" | "checklist" | "chart";
11162
+ interface MosaicArtifactSaveAsMemoryArtifact {
11163
+ id: string;
11164
+ type: MosaicArtifactSaveAsMemoryArtifactType;
11165
+ title: string;
11166
+ content: string;
11167
+ preview?: string;
11168
+ }
11169
+ interface MosaicArtifactSaveAsMemoryScopeOption {
11170
+ value: string;
11171
+ label: string;
11172
+ }
11173
+ interface MosaicArtifactSaveAsMemoryFormProps {
11174
+ /** The artifact being capitalised into memory — host-supplied, read-only preview. */
11175
+ artifact: MosaicArtifactSaveAsMemoryArtifact;
11176
+ /** Localizes the artifact type badge. Required, no default. */
11177
+ typeLabel: (type: MosaicArtifactSaveAsMemoryArtifactType) => string;
11178
+ /** Current memory title value — controlled. */
11179
+ title: string;
11180
+ /** Called on every keystroke in the title field. */
11181
+ onTitleChange: (value: string) => void;
11182
+ /** Label for the title field. Required, no default. */
11183
+ titleLabel: string;
11184
+ /** Placeholder for the title field. */
11185
+ titlePlaceholder?: string;
11186
+ /** Host-computed validation message for the title field, or absent when valid. */
11187
+ titleError?: string;
11188
+ /**
11189
+ * Host-supplied, pre-extracted learnings — controlled. This component
11190
+ * never extracts or generates learnings; the host (or its own AI
11191
+ * extraction pipeline) is the sole source of this list.
11192
+ */
11193
+ learnings: string[];
11194
+ /** Called when the host user edits a learning at the given index. */
11195
+ onEditLearning: (index: number) => void;
11196
+ /** Called when the host user removes a learning at the given index. */
11197
+ onRemoveLearning: (index: number) => void;
11198
+ /** Label for the learnings section. Required, no default. */
11199
+ learningsLabel: string;
11200
+ /** Optional helper text under the learnings label. */
11201
+ learningsDescription?: string;
11202
+ /** Per-learning accessible name for the edit button. Required, no default. */
11203
+ editLearningAriaLabel: (index: number) => string;
11204
+ /** Per-learning accessible name for the remove button. Required, no default. */
11205
+ removeLearningAriaLabel: (index: number) => string;
11206
+ /** Current memory scope value — controlled. */
11207
+ scope: string;
11208
+ /** Called when the host user changes the memory scope. */
11209
+ onScopeChange: (value: string) => void;
11210
+ /** Label for the scope selector. Required, no default. */
11211
+ scopeLabel: string;
11212
+ /**
11213
+ * Host-supplied scope options (e.g. gated by the host's own role/
11214
+ * permission model). This component never hardcodes which scopes are
11215
+ * available — it renders exactly the options the host passes.
11216
+ */
11217
+ scopeOptions: MosaicArtifactSaveAsMemoryScopeOption[];
11218
+ /** Current tag list — controlled, single source of truth owned by the host. */
11219
+ tags: string[];
11220
+ /** Called when a tag should be added. */
11221
+ onAddTag: (tag: string) => void;
11222
+ /** Called when a tag should be removed. */
11223
+ onRemoveTag: (tag: string) => void;
11224
+ /** Label for the tags field. Required, no default. */
11225
+ tagsLabel: string;
11226
+ /** Placeholder for the tag input. Required, no default. */
11227
+ tagInputPlaceholder: string;
11228
+ /** Per-tag accessible name for the remove button. Required, no default. */
11229
+ removeTagAriaLabel: (tag: string) => string;
11230
+ /** Optional host-supplied suggested tags. */
11231
+ suggestedTags?: string[];
11232
+ /** Optional maximum number of tags. */
11233
+ maxTags?: number;
11234
+ /** True while a save request is in flight — announced via aria-busy, disables both actions. */
11235
+ isSaving: boolean;
11236
+ /**
11237
+ * Host-computed form validity gating the save button. This component
11238
+ * never decides validation itself — it only reflects the host's verdict.
11239
+ */
11240
+ canSave: boolean;
11241
+ /** Called when the host user saves the form. */
11242
+ onSave: () => void;
11243
+ /** Called when the host user clicks Cancel. */
11244
+ onCancel: () => void;
11245
+ /** Label for the save button while idle. Required, no default. */
11246
+ saveLabel: string;
11247
+ /** Label for the save button while isSaving=true. Required, no default. */
11248
+ savingLabel: string;
11249
+ /** Label for the cancel button. Required, no default. */
11250
+ cancelLabel: string;
11251
+ /** Additional Tailwind classes on the form root. */
11252
+ className?: string;
11253
+ }
11254
+ /**
11255
+ * MosaicArtifactSaveAsMemoryForm — production "save this artifact as a
11256
+ * memory" form for @vantageos/mosaic-blocks.
11257
+ *
11258
+ * Purely presentational and fully controlled: composes MosaicInput +
11259
+ * MosaicTagInput. No network call, no extraction logic, no built-in
11260
+ * validation, no built-in copy.
11261
+ */
11262
+ declare function MosaicArtifactSaveAsMemoryForm({ artifact, typeLabel, title, onTitleChange, titleLabel, titlePlaceholder, titleError, learnings, onEditLearning, onRemoveLearning, learningsLabel, learningsDescription, editLearningAriaLabel, removeLearningAriaLabel, scope, onScopeChange, scopeLabel, scopeOptions, tags, onAddTag, onRemoveTag, tagsLabel, tagInputPlaceholder, removeTagAriaLabel, suggestedTags, maxTags, isSaving, canSave, onSave, onCancel, saveLabel, savingLabel, cancelLabel, className, }: MosaicArtifactSaveAsMemoryFormProps): React.JSX.Element;
11263
+ declare namespace MosaicArtifactSaveAsMemoryForm {
11264
+ var displayName: string;
11265
+ }
11266
+
11267
+ /**
11268
+ * artifactSaveAsMemoryFormVariants — pure CVA variant functions for
11269
+ * MosaicArtifactSaveAsMemoryForm.
11270
+ *
11271
+ * Isolated in their own module so they can be re-exported from the
11272
+ * `@vantageos/mosaic-blocks/server` subpath without pulling in React.
11273
+ *
11274
+ * Zero browser / React runtime dependencies — safe in RSC / Node.js.
11275
+ */
11276
+ /** Form vertical layout. */
11277
+ declare const artifactSaveAsMemoryFormRootVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
11278
+ /** Artifact preview card. */
11279
+ declare const artifactSaveAsMemoryFormPreviewVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
11280
+ /** Field group (label + control + helper/error) vertical layout. */
11281
+ declare const artifactSaveAsMemoryFormFieldVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
11282
+ /** Field error text. */
11283
+ declare const artifactSaveAsMemoryFormErrorVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
11284
+ /** Learning row (extracted insight + edit/remove actions). */
11285
+ declare const artifactSaveAsMemoryFormLearningVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
11286
+ /** Footer action row. */
11287
+ declare const artifactSaveAsMemoryFormFooterVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
11288
+ /** Save / cancel button variants by intent. */
11289
+ declare const artifactSaveAsMemoryFormButtonVariants: (props?: ({
11290
+ intent?: "ghost" | "cancel" | "save" | null | undefined;
11291
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
11292
+
11293
+ interface MosaicArtifactVersionHistoryVersion {
11294
+ id: string;
11295
+ /** Host-formatted version marker, e.g. "v3". */
11296
+ versionLabel: string;
11297
+ /** Host-formatted author name. */
11298
+ authorLabel: string;
11299
+ /** Host-formatted relative/absolute timestamp, e.g. "2 days ago". */
11300
+ timestampLabel: string;
11301
+ /** Host-formatted change-type badge text, e.g. "Edited". */
11302
+ changeTypeLabel: string;
11303
+ /** Optional host-formatted change description/commit message. */
11304
+ descriptionLabel?: string;
11305
+ /** True for the version that is currently live — hides the restore action. */
11306
+ isCurrent: boolean;
11307
+ }
11308
+ interface MosaicArtifactVersionHistoryBaseProps {
11309
+ /** Versions to render, host-ordered (newest-first is the caller's choice). */
11310
+ versions: MosaicArtifactVersionHistoryVersion[];
11311
+ selectedId: string | null;
11312
+ onSelectVersion: (id: string) => void;
11313
+ /** Section heading. Required, no default. */
11314
+ title: string;
11315
+ /** Message shown when there are no versions. Required, no default. */
11316
+ emptyMessage: string;
11317
+ /** Badge text for the current/latest version. Required, no default. */
11318
+ currentLabel: string;
11319
+ /** Accessible name for a version's select button. Required, no default. */
11320
+ selectAriaLabel: (version: MosaicArtifactVersionHistoryVersion) => string;
11321
+ className?: string;
11322
+ }
11323
+ /**
11324
+ * Discriminated union on `onRestoreVersion` — the restore control only ever
11325
+ * renders on the branch where a restore handler is supplied, so its label +
11326
+ * accessible-name formatter are required EXACTLY there, never on the
11327
+ * read-only branch. Requiring them unconditionally would force every
11328
+ * read-only host to supply values the component never displays (the "lying
11329
+ * prop contract" this retrofit closes — see the `no-lying-prop-contract`
11330
+ * guard and the `MosaicMemoryCardVariantProps` precedent in
11331
+ * `memory-card/MosaicMemoryCard.tsx`).
11332
+ */
11333
+ type MosaicArtifactVersionHistoryRestoreProps = {
11334
+ /** Restores a version. */
11335
+ onRestoreVersion: (id: string) => void;
11336
+ /** Restore button visible text. Required — the control renders whenever `onRestoreVersion` is provided. */
11337
+ restoreLabel: string;
11338
+ /**
11339
+ * Accessible name for a version's restore button, DISTINCT per
11340
+ * version — a bare icon/shared label is never a substitute for an
11341
+ * accessible name distinguishing which version is restored (see the
11342
+ * C3 library's searchAriaLabel lesson). Required — the control
11343
+ * renders whenever `onRestoreVersion` is provided.
11344
+ */
11345
+ restoreAriaLabel: (version: MosaicArtifactVersionHistoryVersion) => string;
11346
+ } | {
11347
+ /** Omit to render a read-only history — no restore control at all. */
11348
+ onRestoreVersion?: undefined;
11349
+ };
11350
+ type MosaicArtifactVersionHistoryProps = MosaicArtifactVersionHistoryBaseProps & MosaicArtifactVersionHistoryRestoreProps;
11351
+ declare function MosaicArtifactVersionHistory(props: MosaicArtifactVersionHistoryProps): React.JSX.Element;
11352
+ declare namespace MosaicArtifactVersionHistory {
11353
+ var displayName: string;
11354
+ }
11355
+
11356
+ /**
11357
+ * MosaicOrgContextDisplay — active organization (cloisonnement) indicator +
11358
+ * switcher, EveVantage M3 C6.
11359
+ *
11360
+ * Reuse: ported from any-debate-ai —
11361
+ * components/organization/org-context-display.tsx — stripped of its
11362
+ * `mockOrgContext` fixture, `useDevice` project-local import path, and
11363
+ * shadcn/ui `Button`. The role badge is reused from this repo's own
11364
+ * `MosaicOrgRoleBadge` (`org-panel/MosaicOrgPanel.tsx`) rather than a second
11365
+ * port of `role-badge.tsx` — the component already ships here.
11366
+ *
11367
+ * The panel is a pure, prop-driven display: the host supplies the active
11368
+ * organization state (`org`) plus, when the host allows switching, an
11369
+ * `onSwitchOrg` handler. There is no backend, no fetch, no hardcoded org
11370
+ * data — the host owns fetching the org, computing membership, and driving
11371
+ * the switch flow (dialog, route change, etc.) from `onSwitchOrg`.
11372
+ *
11373
+ * The role badge and member-count caption are hidden below the `md`
11374
+ * breakpoint via Tailwind (`hidden md:...`), never via a `useDevice()`
11375
+ * JS branch — this repo's device hooks resolve via `matchMedia`, which the
11376
+ * jsdom test environment always reports as non-matching, so a JS-branched
11377
+ * "desktop-only" element would be permanently hidden under test.
11378
+ *
11379
+ * data-slot="org-context-display" on the root.
11380
+ *
11381
+ * i18n: zero hardcoded user-facing strings (mosaic-blocks doctrine — see
11382
+ * src/__tests__/i18n-no-hardcoded-literals.test.ts). Every label is a
11383
+ * required prop; the host owns the language.
11384
+ */
11385
+
11386
+ interface MosaicOrgContextInfo {
11387
+ id: string;
11388
+ name: string;
11389
+ avatarUrl?: string;
11390
+ memberCount: number;
11391
+ role: MosaicOrgRole;
11392
+ }
11393
+ interface MosaicOrgContextDisplayBaseProps {
11394
+ /** The currently active organization (the cloisonnement/partitioning state this display reflects). */
11395
+ org: MosaicOrgContextInfo;
11396
+ /** Host-owned display label for `org.role` (e.g. "Admin" / "Administrateur"). Required, no default. */
11397
+ roleLabel: string;
11398
+ /** Host-owned description rendered as the role badge's `title` tooltip. Required, no default. */
11399
+ roleDescription: string;
11400
+ /** Host-formatted member-count caption, e.g. `(count) => `${count} members`` or a pluralized `t()` call. Required, no default. */
11401
+ memberCountLabel: (count: number) => React.ReactNode;
11402
+ className?: string;
11403
+ }
11404
+ /**
11405
+ * Discriminated union on `onSwitchOrg` — the switch control only ever
11406
+ * renders on the branch where a switch handler is supplied, so its
11407
+ * accessible-name prop is required EXACTLY there, never on the read-only
11408
+ * branch. See `MosaicArtifactVersionHistoryRestoreProps` (C6 retrofit) and
11409
+ * `MosaicMemoryCardVariantProps` for the same repo-wide pattern.
11410
+ */
11411
+ type MosaicOrgContextDisplaySwitchProps = {
11412
+ /** Invoked when the host should present the org-switch UI. */
11413
+ onSwitchOrg: () => void;
11414
+ /**
11415
+ * Accessible name for the switch control, reflecting the currently
11416
+ * active org (e.g. `Switch organization, current: ${org.name}`).
11417
+ * Required — the control renders whenever `onSwitchOrg` is provided.
11418
+ */
11419
+ switchAriaLabel: string;
11420
+ } | {
11421
+ /** Omit to render a read-only display — no switch control at all. */
11422
+ onSwitchOrg?: undefined;
11423
+ };
11424
+ type MosaicOrgContextDisplayProps = MosaicOrgContextDisplayBaseProps & MosaicOrgContextDisplaySwitchProps;
11425
+ declare function MosaicOrgContextDisplay(props: MosaicOrgContextDisplayProps): React.JSX.Element;
11426
+ declare namespace MosaicOrgContextDisplay {
11427
+ var displayName: string;
11428
+ }
11429
+
11430
+ /**
11431
+ * MosaicAdminOnlyGuard — permission gate that renders `children` for admins,
11432
+ * an access-denied card for non-admins, and a loading fallback while
11433
+ * permissions resolve, EveVantage M3 C7.
11434
+ *
11435
+ * Reuse: ported from any-debate-ai —
11436
+ * components/organization/admin-only-guard.tsx — stripped of its
11437
+ * `next/navigation` `useRouter`, its mock `useOrganizationContext` Clerk
11438
+ * fixture, its `useDevice()` JS branch, and its shadcn/ui `Button` / `lucide-react`
11439
+ * icon imports. Button primitive reused from this repo's own `MosaicButton`
11440
+ * (`src/components/button/Button.tsx`) rather than a fresh port.
11441
+ *
11442
+ * The gate is a pure, prop-driven display: the host supplies `isAdmin` and
11443
+ * `isLoaded` (from wherever it resolves organization membership) and, when it
11444
+ * wants an exit affordance on the denied state, an `onExit` handler. There is
11445
+ * no backend, no fetch, no router — the host owns navigation from `onExit`.
11446
+ *
11447
+ * Responsive sizing (icon dimensions) is done via Tailwind breakpoints
11448
+ * (`size-16 md:size-20`), never via a `useDevice()` JS branch — see
11449
+ * `MosaicOrgContextDisplay` for the rationale (jsdom's `matchMedia` always
11450
+ * reports non-matching, so a JS-branched "desktop-only" size is permanently
11451
+ * wrong under test).
11452
+ *
11453
+ * data-slot="admin-only-guard" on the denied-state root.
11454
+ *
11455
+ * i18n: zero hardcoded user-facing strings (mosaic-blocks doctrine — see
11456
+ * src/__tests__/i18n-no-hardcoded-literals.test.ts). Every label is a
11457
+ * required prop; the host owns the language.
11458
+ */
11459
+
11460
+ interface MosaicAdminOnlyGuardBaseProps {
11461
+ /** Content rendered only when `isAdmin` is true. */
11462
+ children: React.ReactNode;
11463
+ /** Whether the current user holds the admin role. */
11464
+ isAdmin: boolean;
11465
+ /** Whether permission resolution has completed. `false` renders `loadingFallback`. */
11466
+ isLoaded: boolean;
11467
+ /** Host-owned title for the access-denied card (e.g. "Admin Access Required"). Required, no default. */
11468
+ title: string;
11469
+ /** Host-owned description for the access-denied card. Required, no default. */
11470
+ description: string;
11471
+ /** Host-owned label for the required-role badge (e.g. "Required role: Admin"). Required, no default. */
11472
+ requiredRoleLabel: string;
11473
+ /** Rendered while `isLoaded` is false. Defaults to a minimal spinner div. */
11474
+ loadingFallback?: React.ReactNode;
11475
+ className?: string;
11476
+ }
11477
+ /**
11478
+ * Discriminated union on `onExit` — the exit button only ever renders on
11479
+ * the branch where an exit handler is supplied, so its accessible-name
11480
+ * props are required EXACTLY there, never on the branch without a handler.
11481
+ * See `MosaicOrgContextDisplaySwitchProps` for the same repo-wide pattern.
11482
+ */
11483
+ type MosaicAdminOnlyGuardExitProps = {
11484
+ /** Invoked by the exit button, and once automatically when a non-admin's permissions finish loading. */
11485
+ onExit: () => void;
11486
+ /** Visible label on the exit button (e.g. "Back to Dashboard"). Required — the button renders whenever `onExit` is provided. */
11487
+ exitLabel: string;
11488
+ /** Accessible name for the exit button. Required — the button renders whenever `onExit` is provided. */
11489
+ exitAriaLabel: string;
11490
+ } | {
11491
+ /** Omit to render the denied card with no exit button. */
11492
+ onExit?: undefined;
11493
+ };
11494
+ type MosaicAdminOnlyGuardProps = MosaicAdminOnlyGuardBaseProps & MosaicAdminOnlyGuardExitProps;
11495
+ declare function MosaicAdminOnlyGuard(props: MosaicAdminOnlyGuardProps): React.JSX.Element;
11496
+ declare namespace MosaicAdminOnlyGuard {
11497
+ var displayName: string;
11498
+ }
11499
+
11500
+ export { type AiSdkArtifactEntry, type AiSdkArtifactsSource, type ArtifactCanvasSource, type ArtifactType, type Breakpoint, type DeviceContextValue, type Feature3ColItem, type FeatureItem, type FooterColumn, type FooterLink, type HeroCta, type LogoItem, type McpToolResult, type McpToolResultMeta, type McpUiSource, MosaicAccordion, MosaicAccordionItem, type MosaicAccordionItemProps, MosaicAccordionPanel, type MosaicAccordionPanelProps, type MosaicAccordionProps, MosaicAccordionTrigger, type MosaicAccordionTriggerProps, type MosaicActionAccent, type MosaicActivity, MosaicActivityFeed, type MosaicActivityFeedProps, MosaicActivityItem, type MosaicActivityItemProps, type MosaicActivityStatus, MosaicAdaptiveGrid, type MosaicAdaptiveGridProps, MosaicAdaptiveModal, type MosaicAdaptiveModalProps, MosaicAdaptiveNavigation, type MosaicAdaptiveNavigationProps, MosaicAddMemoryForm, type MosaicAddMemoryFormProps, MosaicAdminOnlyGuard, type MosaicAdminOnlyGuardBaseProps, type MosaicAdminOnlyGuardExitProps, type MosaicAdminOnlyGuardProps, MosaicAgentBuilderModal, type MosaicAgentBuilderModalProps, MosaicAgentCard, type MosaicAgentCardProps, MosaicAgentChat, type MosaicAgentChatApprovalLabels, type MosaicAgentChatApprovalRequest, type MosaicAgentChatApprovalResponsePayload, type MosaicAgentChatMessage, type MosaicAgentChatMessagePart, type MosaicAgentChatProps, type MosaicAgentChatState, type MosaicAgentChatToolPart, type MosaicAgentChatToolPartState, MosaicAgentComposer, MosaicAgentComposerDesktop, type MosaicAgentComposerDesktopProps, MosaicAgentComposerMobile, type MosaicAgentComposerMobileProps, type MosaicAgentComposerProps, type MosaicAgentData, MosaicAgentEditor, type MosaicAgentEditorProps, MosaicAgentList, AgentListDesktop as MosaicAgentListDesktop, AgentListMobile as MosaicAgentListMobile, type MosaicAgentListProps, type MosaicAgentPreset, MosaicAgentPreview, type MosaicAgentPreviewAttribute, type MosaicAgentPreviewDetailedProps, type MosaicAgentPreviewProps, type MosaicAgentPreviewSummaryProps, MosaicAgentTeamPreview, type MosaicAgentTeamPreviewProps, MosaicAlertDialog, MosaicAlertDialogAction, type MosaicAlertDialogActionProps, MosaicAlertDialogCancel, type MosaicAlertDialogCancelProps, MosaicAlertDialogContent, type MosaicAlertDialogContentProps, MosaicAlertDialogDescription, type MosaicAlertDialogDescriptionProps, MosaicAlertDialogFooter, MosaicAlertDialogHeader, MosaicAlertDialogOverlay, type MosaicAlertDialogOverlayProps, MosaicAlertDialogPortal, MosaicAlertDialogTitle, type MosaicAlertDialogTitleProps, MosaicAlertDialogTrigger, MosaicAnimatedList, type MosaicAnimatedListProps, MosaicApiKeyPanel, type MosaicApiKeyPanelProps, type MosaicApiKeyPanelProvider, type MosaicApiKeyPanelState, MosaicAppSidebar, type MosaicAppSidebarProps, MosaicApprovalPrompt, type MosaicApprovalPromptProps, type MosaicApprovalPromptState, MosaicArtifactCanvasAdapter, type MosaicArtifactCanvasAdapterLabels, type MosaicArtifactCanvasAdapterProps, MosaicArtifactChart, type MosaicArtifactChartConfig, type MosaicArtifactChartData, type MosaicArtifactChartLabels, type MosaicArtifactChartProps, type MosaicArtifactChartType, MosaicArtifactChecklist, type MosaicArtifactChecklistData, type MosaicArtifactChecklistItem, type MosaicArtifactChecklistLabels, type MosaicArtifactChecklistPriority, type MosaicArtifactChecklistProps, MosaicArtifactDataTable, type MosaicArtifactDataTableColumn, type MosaicArtifactDataTableData, type MosaicArtifactDataTableLabels, type MosaicArtifactDataTableProps, MosaicArtifactDocument, type MosaicArtifactDocumentData, type MosaicArtifactDocumentLabels, type MosaicArtifactDocumentProps, type MosaicArtifactDocumentSection, MosaicArtifactLibrary, type MosaicArtifactLibraryItem, type MosaicArtifactLibraryProps, type MosaicArtifactSaveAsMemoryArtifact, type MosaicArtifactSaveAsMemoryArtifactType, MosaicArtifactSaveAsMemoryForm, type MosaicArtifactSaveAsMemoryFormProps, type MosaicArtifactSaveAsMemoryScopeOption, MosaicArtifactVersionHistory, type MosaicArtifactVersionHistoryBaseProps, type MosaicArtifactVersionHistoryProps, type MosaicArtifactVersionHistoryRestoreProps, type MosaicArtifactVersionHistoryVersion, MosaicAvatar, type MosaicAvatarProps, MosaicBadge, type MosaicBadgeProps, MosaicBlurredOrb, type MosaicBlurredOrbProps, type MosaicBreadcrumb, MosaicButton, type MosaicButtonProps, MosaicCallout, type MosaicCalloutProps, MosaicCard, MosaicCardContent, type MosaicCardContentProps, MosaicCardDescription, type MosaicCardDescriptionProps, MosaicCardFooter, type MosaicCardFooterProps, MosaicCardHeader, type MosaicCardHeaderProps, type MosaicCardProps, MosaicCardTitle, type MosaicCardTitleProps, MosaicChatComposer, type MosaicChatComposerProps, type MosaicChatComposerState, MosaicChatMessage, type MosaicChatMessageAttachmentPart, type MosaicChatMessagePart, type MosaicChatMessageProps, type MosaicChatMessageReasoningPart, type MosaicChatMessageSenderRole, type MosaicChatMessageTextPart, type MosaicChatMessageToolPart, type MosaicChatMessageToolState, type MosaicChatMessageToolStatusLabels, MosaicChatSidebar, type MosaicChatSidebarProps, MosaicChatThread, type MosaicChatThreadProps, MosaicCheckbox, type MosaicCheckboxProps, type MosaicClerkMembership, MosaicClerkOrgSwitcher, type MosaicClerkOrgSwitcherProps, type MosaicClerkOrganization, MosaicClerkWebhookHandler, type MosaicClerkWebhookHandlerOptions, MosaicCollapsible, MosaicCollapsiblePanel, type MosaicCollapsiblePanelProps, type MosaicCollapsibleProps, MosaicCollapsibleTrigger, type MosaicCollapsibleTriggerProps, MosaicCombobox, type MosaicComboboxItem, type MosaicComboboxProps, type MosaicComposerModel, type MosaicComposerModule, MosaicCounter, type MosaicCounterProps, MosaicCreateOrgDialog, type MosaicCreateOrgDialogProps, MosaicDashboardContent, type MosaicDashboardContentProps, MosaicDashboardHeader, type MosaicDashboardHeaderProps, MosaicDashboardLayout, type MosaicDashboardLayoutProps, type MosaicDashboardView, MosaicDataTable, type MosaicDataTableColumn, type MosaicDataTablePagination, type MosaicDataTableProps, MosaicDeleteConfirmationDialog, type MosaicDeleteConfirmationDialogProps, MosaicDeviceProvider, type MosaicDeviceProviderProps, MosaicDocumentUpload, type MosaicDocumentUploadFile, type MosaicDocumentUploadFileStatus, type MosaicDocumentUploadProps, MosaicDrawer, type MosaicDrawerProps, MosaicDropdownMenu, type MosaicDropdownMenuItem, type MosaicDropdownMenuProps, MosaicEditMemoryDialog, type MosaicEditMemoryDialogProps, MosaicEditSessionDialog, type MosaicEditSessionDialogProps, MosaicEditableCell, type MosaicEditableCellProps, MosaicEmptyState, type MosaicEmptyStateProps, MosaicFallingPattern, type MosaicFallingPatternProps, MosaicFeature3Col, type MosaicFeature3ColProps, MosaicFeatureCenteredMedia, type MosaicFeatureCenteredMediaProps, MosaicField, MosaicFieldControl, type MosaicFieldControlProps, MosaicFieldDescription, type MosaicFieldDescriptionProps, MosaicFieldError, type MosaicFieldErrorProps, MosaicFieldLabel, type MosaicFieldLabelProps, type MosaicFieldProps, MosaicFilterBar, type MosaicFilterBarProps, type MosaicFilterOption, MosaicFilterSidebar, type MosaicFilterSidebarProps, MosaicFooterSimple, type MosaicFooterSimpleProps, MosaicHeroSplit, type MosaicHeroSplitProps, MosaicInput, MosaicInputGroup, type MosaicInputGroupProps, type MosaicInputProps, MosaicIntegrationsBadge, type MosaicIntegrationsBadgeProps, MosaicInviteMemberDialog, type MosaicInviteMemberDialogProps, MosaicKanbanBoard, type MosaicKanbanBoardProps, MosaicKanbanColumn, type MosaicKanbanColumnProps, MosaicLogosGrid, type MosaicLogosGridProps, MosaicMainNav, type MosaicMainNavProps, MosaicMarkdown, type MosaicMarkdownProps, MosaicMarketplaceCard, type MosaicMarketplaceCardProps, type MosaicMarketplaceItem, MosaicMarketplaceList, MarketplaceListDesktop as MosaicMarketplaceListDesktop, MarketplaceListMobile as MosaicMarketplaceListMobile, type MosaicMarketplaceListProps, MosaicMatchInput, type MosaicMatchInputProps, type MosaicMatchInputState, type MosaicMatchInputStateLabels, MosaicMemberList, type MosaicMemberListProps, MosaicMemoryCard, type MosaicMemoryCardProps, MosaicMemoryDashboard, type MosaicMemoryDashboardProps, type MosaicMemoryDashboardStat, type MosaicMemoryDashboardViewMode, type MosaicMemoryData, MosaicMemoryGrid, type MosaicMemoryGridProps, MosaicMemoryList, type MosaicMemoryListProps, type MosaicMemoryScope, MosaicMemorySearch, type MosaicMemorySearchFilter, type MosaicMemorySearchProps, type MosaicMemorySource, MosaicMentionInput, type MosaicMentionInputProps, type MosaicMessage, MosaicMessageCard, type MosaicMessageCardProps, MosaicMessageList, MessageListDesktop as MosaicMessageListDesktop, MessageListMobile as MosaicMessageListMobile, type MosaicMessageListProps, type MosaicMessageReactions, MosaicMessageSearch, type MosaicMessageSearchProps, type MosaicMessageSender, type MosaicMessageSenderType, type MosaicModelOption, MosaicModelSelector, type MosaicModelSelectorProps, MosaicModuleCard, type MosaicModuleCardProps, type MosaicModuleData, MosaicModuleForm, type MosaicModuleFormField, type MosaicModuleFormProps, type MosaicModuleItem, MosaicModuleLibrary, type MosaicModuleLibraryProps, type MosaicModuleType, MosaicMultiOrgIndicator, type MosaicMultiOrgIndicatorProps, MosaicMultiTenantProvider, type MosaicMultiTenantProviderProps, type MosaicNavItem, MosaicNavbar, type MosaicNavbarProps, type MosaicNavigationItem, type MosaicOrg, MosaicOrgContextDisplay, type MosaicOrgContextDisplayBaseProps, type MosaicOrgContextDisplayProps, type MosaicOrgContextDisplaySwitchProps, type MosaicOrgContextInfo, type MosaicOrgInfo, type MosaicOrgMember, MosaicOrgPanel, type MosaicOrgPanelProps, type MosaicOrgPanelTab, MosaicOrgProfilePage, type MosaicOrgProfilePageProps, type MosaicOrgRole, MosaicOrgRoleBadge, type MosaicOrgRoleBadgeProps, type MosaicOrgStats, MosaicOrgSwitcher, type MosaicOrgSwitcherProps, MosaicPdfViewer, type MosaicPdfViewerProps, MosaicPopover, type MosaicPopoverProps, type MosaicSelectItem as MosaicPrefSelectItem, type MosaicPreference, type MosaicPreferenceGroup, MosaicPreferencesPanel, type MosaicPreferencesPanelProps, MosaicPricingCard, type MosaicPricingCardProps, type MosaicProfileField, MosaicProfilePanel, type MosaicProfilePanelProps, MosaicProgress, type MosaicProgressProps, type MosaicQuickAction$1 as MosaicQuickAction, MosaicQuickActionCard, type MosaicQuickActionCardProps, MosaicQuickActionsMenu, type MosaicQuickAction as MosaicQuickActionsMenuItem, type MosaicQuickActionsMenuProps, type MosaicQuickAgent, MosaicQuickAgentSelector, type MosaicQuickAgentSelectorProps, MosaicQuickStartPanel, type MosaicQuickStartPanelProps, MosaicRadioGroup, MosaicRadioGroupItem, type MosaicRadioGroupItemProps, type MosaicRadioGroupProps, MosaicReplyInput, type MosaicReplyInputProps, MosaicResizableSplitPane, type MosaicResizableSplitPaneProps, MosaicSaveChatAsMemoryForm, type MosaicSaveChatAsMemoryFormProps, MosaicSaveTemplateModal, type MosaicSaveTemplateModalProps, type MosaicScenario, MosaicScrollArea, type MosaicScrollAreaProps, MosaicSelect, type MosaicSelectItem$1 as MosaicSelectItem, type MosaicSelectProps, type MosaicSelectorCategory, type MosaicSelectorItem, MosaicSelectorModal, type MosaicSelectorModalProps, MosaicSeparator, type MosaicSeparatorProps, MosaicSessionCard, type MosaicSessionCardInteractionProps, type MosaicSessionCardProps, type MosaicSessionCardVariantProps, type MosaicSessionData, MosaicSessionList, type MosaicSessionListLayout, type MosaicSessionListProps, type MosaicSessionStatus, type MosaicSidebarFooterStatus, type MosaicSidebarNavItem, type MosaicSidebarQuickAction, type MosaicSidebarRecentItem, MosaicSignInLayout, type MosaicSignInLayoutProps, MosaicSignUpLayout, type MosaicSignUpLayoutProps, MosaicSkeleton, type MosaicSkeletonProps, MosaicSlider, type MosaicSliderProps, type MosaicStatItem, MosaicStatsGrid, type MosaicStatsGridProps, type MosaicStep, MosaicStepPipeline, type MosaicStepPipelineDotsProps, type MosaicStepPipelineProps, type MosaicStepPipelineSegmentsProps, type MosaicStepStatus, MosaicSwitch, type MosaicSwitchProps, MosaicTabs, MosaicTabsList, type MosaicTabsListProps, MosaicTabsPanel, type MosaicTabsPanelProps, type MosaicTabsProps, MosaicTabsTrigger, type MosaicTabsTriggerProps, MosaicTagInput, type MosaicTagInputProps, type MosaicTemplate, type MosaicTemplateAgent, MosaicTemplateAgentCard, type MosaicTemplateAgentCardProps, type MosaicTemplateAgentData, MosaicTemplateCard, type MosaicTemplateCardProps, type MosaicTemplateCategory, MosaicTemplateCategoryChips, type MosaicTemplateCategoryChipsProps, MosaicTemplateGallery, type MosaicTemplateGalleryProps, MosaicTemplateList, type MosaicTemplateListProps, type MosaicTemplateManagementItem, MosaicTemplateManagementPanel, type MosaicTemplateManagementPanelProps, type MosaicTemplateMetadata, MosaicTemplatePreview, type MosaicTemplatePreviewProps, MosaicTestimonialsGrid, type MosaicTestimonialsGridProps, MosaicTextarea, type MosaicTextareaProps, MosaicThemeProvider, type MosaicThemeProviderProps, MosaicThemeToggle, type MosaicThemeToggleProps, MosaicThreadIndicator, type MosaicThreadIndicatorProps, type MosaicThreadIndicatorReplyStatus, MosaicThreadView, type MosaicThreadViewMessage, type MosaicThreadViewProps, MosaicToast, type MosaicToastProps, MosaicToastProvider, type MosaicToastProviderPosition, type MosaicToastProviderProps, type MosaicToastVariant, MosaicToolToggleList, type MosaicToolToggleListApprovalLevel, type MosaicToolToggleListProps, type MosaicToolToggleListSection, type MosaicToolToggleListTool, MosaicTooltip, MosaicTooltipContent, type MosaicTooltipContentProps, type MosaicTooltipProps, MosaicTooltipProvider, type MosaicTooltipProviderProps, MosaicTooltipRoot, type MosaicTooltipRootProps, MosaicTooltipTrigger, type MosaicTooltipTriggerProps, MosaicUrlScraper, type MosaicUrlScraperContent, type MosaicUrlScraperProps, type MosaicUrlScraperState, MosaicUserButton, type MosaicUserButtonProps, type MosaicWorkspaceContext, type NavCta, type NavLink, type NormalizedArtifact, type OrbPosition, type Orientation, Placeholder, type PricingCta, type SocialLink, type StatItem, type TestimonialItem, type Theme, addMemoryFormButtonVariants, addMemoryFormErrorVariants, addMemoryFormFieldVariants, addMemoryFormFooterVariants, addMemoryFormRootVariants, agentBuilderModalBackdropVariants, agentBuilderModalPopupVariants, agentChatRootVariants, agentEditorVariants, agentPreviewVariants, alertDialogContentVariants, alertDialogOverlayVariants, artifactSaveAsMemoryFormButtonVariants, artifactSaveAsMemoryFormErrorVariants, artifactSaveAsMemoryFormFieldVariants, artifactSaveAsMemoryFormFooterVariants, artifactSaveAsMemoryFormLearningVariants, artifactSaveAsMemoryFormPreviewVariants, artifactSaveAsMemoryFormRootVariants, badgeVariants, buttonVariants, calloutVariants, chatMessageBubbleVariants, chatMessageContainerVariants, chatMessageToolStatusVariants, chatSidebarThreadVariants, drawerBackdropVariants, drawerPopupVariants, editMemoryDialogBackdropVariants, editMemoryDialogErrorVariants, editMemoryDialogFieldVariants, editMemoryDialogPopupVariants, editSessionDialogBodyVariants, editSessionDialogButtonVariants, editSessionDialogErrorVariants, editSessionDialogFieldVariants, editSessionDialogFooterVariants, editableCellVariants, marketplaceCardVariants, matchStateVariants, memoryDashboardViewToggleButtonVariants, memoryGridVariants, memoryListItemVariants, memoryListVariants, memorySearchFilterChipVariants, mentionInputFieldVariants, mentionListItemVariants, mentionListVariants, normalizeArtifact, normalizeFromAiSdkArtifacts, normalizeFromMcpToolResult, pdfViewerFrameVariants, pdfViewerStatusVariants, pdfViewerToolbarButtonVariants, popoverPopupVariants, replyInputActionButtonVariants, replyInputContextVariants, replyInputRootVariants, replyInputTextareaVariants, saveChatAsMemoryFormButtonVariants, saveChatAsMemoryFormErrorVariants, saveChatAsMemoryFormFieldVariants, saveChatAsMemoryFormFooterVariants, saveChatAsMemoryFormRootVariants, saveTemplateModalBodyVariants, saveTemplateModalButtonVariants, saveTemplateModalErrorVariants, saveTemplateModalFieldVariants, saveTemplateModalFooterVariants, sessionCardVariants, sessionListItemVariants, sessionListVariants, skeletonVariants, splitPaneCollapseButtonVariants, splitPaneHandleVariants, splitPaneRootVariants, tagInputFieldVariants, tagInputRemoveButtonVariants, tagInputRootVariants, tagInputTagVariants, templateAgentCardBadgeVariants, templateAgentCardTagVariants, templateAgentCardVariants, templateCategoryChipVariants, templateListVariants, templateManagementRowVariants, threadIndicatorCountVariants, threadIndicatorRootVariants, threadViewEmptyVariants, threadViewRepliesVariants, threadViewReplyVariants, threadViewRootMessageVariants, threadViewRootVariants, toastCardVariants, toastDismissButtonVariants, toastProviderPositionVariants, toastTitleVariants, toolToggleListRowVariants, toolToggleListSectionVariants, useBreakpoint, useDevice, useMosaicWorkspace as useEffectiveWorkspaceId, useIsDesktop, useIsMobile, useIsTablet, useMediaQuery, useMosaicWorkspace, useOrientation, useViewport, version };