@axiom-lattice/react-sdk 2.1.37 → 2.1.39

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -6,7 +6,8 @@ import React__default, { ReactNode } from 'react';
6
6
  import * as react_jsx_runtime from 'react/jsx-runtime';
7
7
  import { Client, Assistant, CreateAssistantOptions, UpdateAssistantOptions } from '@axiom-lattice/client-sdk';
8
8
  import { Prompts } from '@ant-design/x';
9
- import { GetProp } from 'antd';
9
+ import { GetProp, ThemeConfig } from 'antd';
10
+ export { ThemeConfig } from 'antd';
10
11
  import { NodeProps, Node } from '@xyflow/react';
11
12
 
12
13
  /**
@@ -323,6 +324,8 @@ declare function useAgentChat<T extends UseChatOptions>(options?: T): ChatStateW
323
324
  loadMessages: (limit?: number) => Promise<void>;
324
325
  clearMessages: () => void;
325
326
  clearError: () => void;
327
+ customRunConfig: Record<string, any>;
328
+ updateCustomRunConfig: (config: Record<string, any>) => void;
326
329
  };
327
330
 
328
331
  /**
@@ -397,6 +400,8 @@ interface AgentThreadContextValue<T extends UseChatOptions> {
397
400
  loadMessages: (limit?: number) => Promise<void>;
398
401
  clearMessages: () => void;
399
402
  clearError: () => void;
403
+ customRunConfig: Record<string, any>;
404
+ updateCustomRunConfig: (config: Record<string, any>) => void;
400
405
  }
401
406
  /**
402
407
  * Props for AgentThreadProvider
@@ -457,7 +462,7 @@ declare const AuthProvider: React__default.FC<AuthProviderProps>;
457
462
 
458
463
  /**
459
464
  * Login Form Components
460
- * iOS 26 Liquid Glass Design
465
+ * Uses base styles from design system
461
466
  */
462
467
 
463
468
  interface LoginFormProps {
@@ -469,18 +474,8 @@ interface LoginFormProps {
469
474
  footer?: React__default.ReactNode;
470
475
  className?: string;
471
476
  }
472
- /**
473
- * iOS 26 Liquid Glass Login Form
474
- */
475
477
  declare const LoginForm: React__default.FC<LoginFormProps>;
476
- interface LoginPageProps extends LoginFormProps {
477
- background?: string;
478
- containerStyle?: React__default.CSSProperties;
479
- }
480
- /**
481
- * iOS 26 Login Page with centered layout
482
- */
483
- declare const LoginPage: React__default.FC<LoginPageProps>;
478
+ declare const LoginPage: React__default.FC<any>;
484
479
  interface RegisterFormProps {
485
480
  onSuccess?: () => void;
486
481
  onCancel?: () => void;
@@ -490,14 +485,11 @@ interface RegisterFormProps {
490
485
  footer?: React__default.ReactNode;
491
486
  className?: string;
492
487
  }
493
- /**
494
- * iOS 26 Liquid Glass Registration Form
495
- */
496
488
  declare const RegisterForm: React__default.FC<RegisterFormProps>;
497
489
 
498
490
  /**
499
491
  * User Profile Components
500
- * iOS 26 Liquid Glass Design
492
+ * Using Axiom Theme with Ant Design
501
493
  */
502
494
 
503
495
  interface UserProfileProps {
@@ -509,7 +501,7 @@ interface UserProfileProps {
509
501
  className?: string;
510
502
  }
511
503
  /**
512
- * iOS 26 Liquid Glass User Profile
504
+ * User Profile Component
513
505
  */
514
506
  declare const UserProfile: React__default.FC<UserProfileProps>;
515
507
  interface ProtectedRouteProps {
@@ -527,7 +519,7 @@ declare const ProtectedRoute: React__default.FC<ProtectedRouteProps>;
527
519
 
528
520
  /**
529
521
  * Tenant Selector Components
530
- * iOS 26 Liquid Glass Design
522
+ * Uses unified auth styles from design system
531
523
  */
532
524
 
533
525
  interface TenantSelectorProps {
@@ -540,33 +532,7 @@ interface TenantSelectorProps {
540
532
  title?: string;
541
533
  description?: string;
542
534
  }
543
- /**
544
- * iOS 26 Liquid Glass Tenant Selector
545
- */
546
535
  declare const TenantSelector: React__default.FC<TenantSelectorProps>;
547
- interface TenantSwitcherProps {
548
- tenants: Tenant[];
549
- currentTenant: Tenant | null;
550
- onSwitch: (tenant: Tenant) => void;
551
- isLoading?: boolean;
552
- className?: string;
553
- }
554
- /**
555
- * iOS 26 Liquid Glass Tenant Switcher
556
- */
557
- declare const TenantSwitcher: React__default.FC<TenantSwitcherProps>;
558
- interface TenantGuardProps {
559
- children: React__default.ReactNode;
560
- tenantSelector: React__default.ReactNode;
561
- isAuthenticated: boolean;
562
- currentTenant: Tenant | null;
563
- loginRedirect?: React__default.ReactNode;
564
- }
565
- /**
566
- * Tenant Guard Component
567
- * Ensures tenant is selected before rendering children
568
- */
569
- declare const TenantGuard: React__default.FC<TenantGuardProps>;
570
536
 
571
537
  interface UseTenantsOptions {
572
538
  baseURL: string;
@@ -610,6 +576,9 @@ interface ChatingProps {
610
576
  showSender?: boolean;
611
577
  showHITL?: boolean;
612
578
  showRefreshButton?: boolean;
579
+ emptyStateGreeting?: React__default.ReactNode;
580
+ emptyStateQuestion?: string;
581
+ welcomePrefix?: string;
613
582
  }
614
583
  declare const Chating: React__default.FC<ChatingProps>;
615
584
 
@@ -720,6 +689,8 @@ declare const useChatUIContext: () => {
720
689
  interface ConversationThread {
721
690
  id: string;
722
691
  label: string;
692
+ createdAt?: string;
693
+ updatedAt?: string;
723
694
  }
724
695
  /**
725
696
  * Conversation context value
@@ -785,6 +756,15 @@ interface ConversationContextValue {
785
756
  * Refresh threads for the current assistant
786
757
  */
787
758
  refresh: () => Promise<void>;
759
+ /**
760
+ * Custom run configuration (cross-thread, assistant-level)
761
+ * Used for metrics datasource and other assistant-wide settings
762
+ */
763
+ customRunConfig: Record<string, any>;
764
+ /**
765
+ * Update custom run configuration
766
+ */
767
+ updateCustomRunConfig: (config: Record<string, any>) => void;
788
768
  }
789
769
  /**
790
770
  * Conversation context
@@ -796,6 +776,11 @@ declare const ConversationContext: React$1.Context<ConversationContextValue>;
796
776
  interface ConversationContextProviderProps {
797
777
  children: React.ReactNode;
798
778
  }
779
+ /**
780
+ * Generate a thread label from the first message content
781
+ * Extracts first 15 characters of text content, excluding attachments
782
+ */
783
+ declare function generateLabelFromMessage(message: string): string;
799
784
  /**
800
785
  * Provider component for ConversationContext
801
786
  * Manages conversation thread state for assistants
@@ -899,6 +884,26 @@ declare const AssistantContextProvider: ({ children, autoLoad, initialAssistantI
899
884
  */
900
885
  declare const useAssistantContext: () => AssistantContextValue;
901
886
 
887
+ /**
888
+ * Analysis item for BusinessAnalysisPrompts
889
+ */
890
+ interface AnalysisItem {
891
+ key: string;
892
+ icon?: ReactNode;
893
+ label: string;
894
+ description?: string;
895
+ content: string;
896
+ }
897
+ /**
898
+ * Analysis category for BusinessAnalysisPrompts
899
+ */
900
+ interface AnalysisCategory {
901
+ key: string;
902
+ title: string;
903
+ icon?: ReactNode;
904
+ color?: string;
905
+ items: AnalysisItem[];
906
+ }
902
907
  /**
903
908
  * Middleware tool definition
904
909
  */
@@ -964,7 +969,7 @@ interface MiddlewareConfigDefinition {
964
969
  /**
965
970
  * Sidebar menu item type
966
971
  */
967
- type SideMenuItemType = "drawer" | "route";
972
+ type SideMenuItemType = "drawer" | "route" | "action";
968
973
  interface ResourceFolderConfig {
969
974
  name: string;
970
975
  displayName?: string;
@@ -984,8 +989,8 @@ interface SideMenuItemConfig {
984
989
  icon?: ReactNode;
985
990
  /** Order for sorting menu items (lower values first) */
986
991
  order?: number;
987
- /** Whether this is a builtin menu item (assistant, skill, tools, workspace, settings, agents, database, metrics) */
988
- builtin?: "assistant" | "skill" | "tools" | "workspace" | "settings" | "agents" | "database" | "metrics";
992
+ /** Whether this is a builtin menu item (new-analysis, thread-history, assistants, skill, tools, workspace, settings, database, metrics, projects, logout) */
993
+ builtin?: "new-analysis" | "thread-history" | "assistants" | "skill" | "tools" | "workspace" | "settings" | "database" | "metrics" | "projects" | "logout";
989
994
  /**
990
995
  * Menu group for organizing items
991
996
  */
@@ -1001,6 +1006,24 @@ interface SideMenuItemConfig {
1001
1006
  title?: string;
1002
1007
  /** Drawer width in pixels or percentage (for drawer type) */
1003
1008
  width?: string | number;
1009
+ /**
1010
+ * Whether to display drawer content inline in expanded sidebar mode
1011
+ * When true, content shows below the menu item instead of in a drawer
1012
+ * Defaults to false, but true for "workspace" builtin
1013
+ */
1014
+ inline?: boolean;
1015
+ /**
1016
+ * Maximum height for inline drawer content in pixels
1017
+ * Only applies when inline is true
1018
+ * Defaults to 400
1019
+ */
1020
+ inlineMaxHeight?: number;
1021
+ /**
1022
+ * Whether inline drawer is expanded by default
1023
+ * Only applies when inline is true
1024
+ * Defaults to false
1025
+ */
1026
+ inlineDefaultExpanded?: boolean;
1004
1027
  /** Component to render in SideApp (for route type) */
1005
1028
  sideAppComponent?: ReactNode;
1006
1029
  }
@@ -1091,11 +1114,23 @@ interface LatticeChatShellConfig {
1091
1114
  */
1092
1115
  enableSkillSlot?: boolean;
1093
1116
  /**
1094
- * Sidebar display mode
1095
- * - "icon": Show only icons (default)
1096
- * - "expanded": Show icons with labels and groups
1097
- * Defaults to "icon"
1117
+ * Whether to enable the agent picker slot in the chat sender
1118
+ * When enabled, shows an agent selection button in the sender footer
1119
+ * Defaults to true
1098
1120
  */
1121
+ enableAgentSlot?: boolean;
1122
+ /**
1123
+ * Whether to enable the metrics datasource picker slot in the chat sender
1124
+ * When enabled, shows a metrics datasource selection button in the sender footer
1125
+ * Defaults to true
1126
+ */
1127
+ enableMetricsDataSourceSlot?: boolean;
1128
+ /**
1129
+ * Sidebar display mode
1130
+ * - "icon": Show only icons (default)
1131
+ * - "expanded": Show icons with labels and groups
1132
+ * Defaults to "icon"
1133
+ */
1099
1134
  sidebarMode?: "icon" | "expanded";
1100
1135
  /**
1101
1136
  * Whether sidebar is expanded by default (only applies when sidebarMode is "expanded")
@@ -1122,6 +1157,12 @@ interface LatticeChatShellConfig {
1122
1157
  * If not provided, defaults to Cpu icon
1123
1158
  */
1124
1159
  sidebarLogoIcon?: React.ReactNode;
1160
+ /**
1161
+ * Custom analysis prompts data for BusinessAnalysisPrompts component
1162
+ * Allows registering custom analysis categories and items via shell config
1163
+ * If not provided, default analysis data will be used
1164
+ */
1165
+ analysisPromptsData?: AnalysisCategory[];
1125
1166
  }
1126
1167
  /**
1127
1168
  * Lattice Chat Shell context value interface
@@ -1373,4 +1414,420 @@ interface SkillCategoryPromptsProps {
1373
1414
  }
1374
1415
  declare const SkillCategoryPrompts: React__default.FC<SkillCategoryPromptsProps>;
1375
1416
 
1376
- export { type AgentChatProps, AgentConversations, type AgentConversationsProps, type AgentState, AgentThreadProvider, type AgentThreadProviderProps, AssistantContext, AssistantContextProvider, type AssistantContextProviderProps, type AssistantContextValue, AssistantFlow, type AssistantFlowProps, AssistantNode, type AssistantNodeData, type AssistantState, type AttachFile, type AuthContextValue, AuthProvider, AxiomLatticeProvider, type AxiomLatticeProviderProps, type ChatResponse, type ChatState, type ChatStateWithAgent, ChatUIContext, ChatUIContextProvider, Chating, type ChatingProps, type ClientConfig, ColumnLayout, type ColumnLayoutProps, ConversationContext, ConversationContextProvider, type ConversationContextProviderProps, type ConversationContextValue, type ConversationThread, CreateAssistantModal, type ElementMeta, type ElementProps, type ExplorerFile, FileExplorer, type FileExplorerProps, LatticeChat, LatticeChatShell, type LatticeChatShellConfig, LatticeChatShellContext, LatticeChatShellContextProvider, type LatticeChatShellContextProviderProps, type LatticeChatShellContextValue, type LatticeChatShellProps, LoginForm, type LoginFormProps, LoginPage, type LoginPageProps, MDResponse, MDViewFormItem, MetricsConfigDrawerContent, type MiddlewareConfigDefinition, type MiddlewareConfigSchema, type MiddlewareConfigSchemaProperty, type MiddlewareToolDefinition, type MiddlewareTypeDefinition, ProtectedRoute, type ProtectedRouteProps, RegisterForm, type RegisterFormProps, type ResourceFolderConfig, ScheduleButton, type ScheduleButtonProps, SideAppViewBrowser, type SideMenuItemConfig, type SideMenuItemType, SkillCategoryPrompts, type SkillCategoryPromptsProps, SkillFlow, type SkillFlowProps, SkillNode, type SkillNodeData, type StreamEventHandlerOptions, TenantGuard, type TenantGuardProps, TenantSelector, type TenantSelectorProps, TenantSwitcher, type TenantSwitcherProps, type ThreadState, type ToolCallData, type UIMessage, type UseAgentStateOptions, type UseAgentStateReturn, type UseAxiomLatticeOptions, type UseChatOptions, type UseTenantsOptions, type UseTenantsReturn, type UseUsersOptions, type UseUsersReturn, UserProfile, type UserProfileProps, type UserTenantInfo, getElement, regsiterElement, useAgentChat, useAgentGraph, useAgentState, useAgentThreadContext, useAssistantContext, useAuth, useAxiomLattice, useChat, useChatUIContext, useConversationContext, useLatticeChatShellContext, useTenants, useUsers };
1417
+ /**
1418
+ * Axiom Theme Design Tokens
1419
+ *
1420
+ * Core design tokens for Axiom AI Design System.
1421
+ * Features: Indigo primary, medium radius, subtle shadows, slight transparency.
1422
+ */
1423
+ declare const colors: {
1424
+ readonly primary: {
1425
+ readonly 50: "#f0f4ff";
1426
+ readonly 100: "#e0e7ff";
1427
+ readonly 200: "#c7d2fe";
1428
+ readonly 300: "#a5b4fc";
1429
+ readonly 400: "#818cf8";
1430
+ readonly 500: "#6366f1";
1431
+ readonly 600: "#4f46e5";
1432
+ readonly 700: "#4338ca";
1433
+ readonly 800: "#3730a3";
1434
+ readonly 900: "#312e81";
1435
+ };
1436
+ readonly success: "#22c55e";
1437
+ readonly warning: "#f59e0b";
1438
+ readonly error: "#ef4444";
1439
+ readonly info: "#3b82f6";
1440
+ readonly light: {
1441
+ readonly bg: "#fafafa";
1442
+ readonly surface: "rgba(255, 255, 255, 1)";
1443
+ readonly surfaceHover: "#f9fafb";
1444
+ readonly surfaceActive: "#f3f4f6";
1445
+ readonly border: "#e5e7eb";
1446
+ readonly borderHover: "#d1d5db";
1447
+ readonly text: "#111827";
1448
+ readonly textSecondary: "#6b7280";
1449
+ readonly textMuted: "#9ca3af";
1450
+ };
1451
+ readonly dark: {
1452
+ readonly bg: "#0a0a0a";
1453
+ readonly surface: "rgba(23, 23, 23, 0.95)";
1454
+ readonly surfaceHover: "#1f1f1f";
1455
+ readonly surfaceActive: "#262626";
1456
+ readonly border: "#27272a";
1457
+ readonly borderHover: "#3f3f46";
1458
+ readonly text: "#fafafa";
1459
+ readonly textSecondary: "#a1a1aa";
1460
+ readonly textMuted: "#71717a";
1461
+ };
1462
+ };
1463
+ declare const radius: {
1464
+ readonly none: "0";
1465
+ readonly sm: "4px";
1466
+ readonly md: "10px";
1467
+ readonly lg: "16px";
1468
+ readonly xl: "20px";
1469
+ readonly xxl: "28px";
1470
+ readonly xxxl: "32px";
1471
+ readonly full: "9999px";
1472
+ };
1473
+ declare const spacing: {
1474
+ readonly 0: "0";
1475
+ readonly 1: "4px";
1476
+ readonly 2: "8px";
1477
+ readonly 3: "12px";
1478
+ readonly 4: "16px";
1479
+ readonly 5: "20px";
1480
+ readonly 6: "24px";
1481
+ readonly 8: "32px";
1482
+ readonly 10: "40px";
1483
+ readonly 12: "48px";
1484
+ };
1485
+ declare const shadows: {
1486
+ readonly none: "none";
1487
+ readonly sm: "0 1px 2px rgba(0, 0, 0, 0.04)";
1488
+ readonly md: "0 2px 8px rgba(0, 0, 0, 0.06)";
1489
+ readonly lg: "0 4px 12px rgba(0, 0, 0, 0.08)";
1490
+ readonly xl: "0 8px 24px rgba(0, 0, 0, 0.1)";
1491
+ };
1492
+ declare const typography: {
1493
+ readonly fontFamily: "Inter, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, sans-serif";
1494
+ readonly sizes: {
1495
+ readonly xs: {
1496
+ readonly size: "12px";
1497
+ readonly lineHeight: "16px";
1498
+ readonly weight: 400;
1499
+ };
1500
+ readonly sm: {
1501
+ readonly size: "14px";
1502
+ readonly lineHeight: "20px";
1503
+ readonly weight: 400;
1504
+ };
1505
+ readonly base: {
1506
+ readonly size: "16px";
1507
+ readonly lineHeight: "24px";
1508
+ readonly weight: 400;
1509
+ };
1510
+ readonly lg: {
1511
+ readonly size: "18px";
1512
+ readonly lineHeight: "28px";
1513
+ readonly weight: 500;
1514
+ };
1515
+ readonly xl: {
1516
+ readonly size: "20px";
1517
+ readonly lineHeight: "28px";
1518
+ readonly weight: 600;
1519
+ };
1520
+ readonly '2xl': {
1521
+ readonly size: "24px";
1522
+ readonly lineHeight: "32px";
1523
+ readonly weight: 600;
1524
+ };
1525
+ };
1526
+ };
1527
+ declare const animation: {
1528
+ readonly duration: {
1529
+ readonly fast: "150ms";
1530
+ readonly normal: "250ms";
1531
+ readonly slow: "350ms";
1532
+ };
1533
+ readonly easing: {
1534
+ readonly default: "cubic-bezier(0.4, 0, 0.2, 1)";
1535
+ readonly bounce: "cubic-bezier(0.68, -0.55, 0.265, 1.55)";
1536
+ };
1537
+ };
1538
+ declare const axiomTokens: {
1539
+ readonly colors: {
1540
+ readonly primary: {
1541
+ readonly 50: "#f0f4ff";
1542
+ readonly 100: "#e0e7ff";
1543
+ readonly 200: "#c7d2fe";
1544
+ readonly 300: "#a5b4fc";
1545
+ readonly 400: "#818cf8";
1546
+ readonly 500: "#6366f1";
1547
+ readonly 600: "#4f46e5";
1548
+ readonly 700: "#4338ca";
1549
+ readonly 800: "#3730a3";
1550
+ readonly 900: "#312e81";
1551
+ };
1552
+ readonly success: "#22c55e";
1553
+ readonly warning: "#f59e0b";
1554
+ readonly error: "#ef4444";
1555
+ readonly info: "#3b82f6";
1556
+ readonly light: {
1557
+ readonly bg: "#fafafa";
1558
+ readonly surface: "rgba(255, 255, 255, 1)";
1559
+ readonly surfaceHover: "#f9fafb";
1560
+ readonly surfaceActive: "#f3f4f6";
1561
+ readonly border: "#e5e7eb";
1562
+ readonly borderHover: "#d1d5db";
1563
+ readonly text: "#111827";
1564
+ readonly textSecondary: "#6b7280";
1565
+ readonly textMuted: "#9ca3af";
1566
+ };
1567
+ readonly dark: {
1568
+ readonly bg: "#0a0a0a";
1569
+ readonly surface: "rgba(23, 23, 23, 0.95)";
1570
+ readonly surfaceHover: "#1f1f1f";
1571
+ readonly surfaceActive: "#262626";
1572
+ readonly border: "#27272a";
1573
+ readonly borderHover: "#3f3f46";
1574
+ readonly text: "#fafafa";
1575
+ readonly textSecondary: "#a1a1aa";
1576
+ readonly textMuted: "#71717a";
1577
+ };
1578
+ };
1579
+ readonly radius: {
1580
+ readonly none: "0";
1581
+ readonly sm: "4px";
1582
+ readonly md: "10px";
1583
+ readonly lg: "16px";
1584
+ readonly xl: "20px";
1585
+ readonly xxl: "28px";
1586
+ readonly xxxl: "32px";
1587
+ readonly full: "9999px";
1588
+ };
1589
+ readonly spacing: {
1590
+ readonly 0: "0";
1591
+ readonly 1: "4px";
1592
+ readonly 2: "8px";
1593
+ readonly 3: "12px";
1594
+ readonly 4: "16px";
1595
+ readonly 5: "20px";
1596
+ readonly 6: "24px";
1597
+ readonly 8: "32px";
1598
+ readonly 10: "40px";
1599
+ readonly 12: "48px";
1600
+ };
1601
+ readonly shadows: {
1602
+ readonly none: "none";
1603
+ readonly sm: "0 1px 2px rgba(0, 0, 0, 0.04)";
1604
+ readonly md: "0 2px 8px rgba(0, 0, 0, 0.06)";
1605
+ readonly lg: "0 4px 12px rgba(0, 0, 0, 0.08)";
1606
+ readonly xl: "0 8px 24px rgba(0, 0, 0, 0.1)";
1607
+ };
1608
+ readonly typography: {
1609
+ readonly fontFamily: "Inter, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, sans-serif";
1610
+ readonly sizes: {
1611
+ readonly xs: {
1612
+ readonly size: "12px";
1613
+ readonly lineHeight: "16px";
1614
+ readonly weight: 400;
1615
+ };
1616
+ readonly sm: {
1617
+ readonly size: "14px";
1618
+ readonly lineHeight: "20px";
1619
+ readonly weight: 400;
1620
+ };
1621
+ readonly base: {
1622
+ readonly size: "16px";
1623
+ readonly lineHeight: "24px";
1624
+ readonly weight: 400;
1625
+ };
1626
+ readonly lg: {
1627
+ readonly size: "18px";
1628
+ readonly lineHeight: "28px";
1629
+ readonly weight: 500;
1630
+ };
1631
+ readonly xl: {
1632
+ readonly size: "20px";
1633
+ readonly lineHeight: "28px";
1634
+ readonly weight: 600;
1635
+ };
1636
+ readonly '2xl': {
1637
+ readonly size: "24px";
1638
+ readonly lineHeight: "32px";
1639
+ readonly weight: 600;
1640
+ };
1641
+ };
1642
+ };
1643
+ readonly animation: {
1644
+ readonly duration: {
1645
+ readonly fast: "150ms";
1646
+ readonly normal: "250ms";
1647
+ readonly slow: "350ms";
1648
+ };
1649
+ readonly easing: {
1650
+ readonly default: "cubic-bezier(0.4, 0, 0.2, 1)";
1651
+ readonly bounce: "cubic-bezier(0.68, -0.55, 0.265, 1.55)";
1652
+ };
1653
+ };
1654
+ };
1655
+
1656
+ /**
1657
+ * Axiom Ant Design Theme Configuration
1658
+ *
1659
+ * Maps Axiom design tokens to Ant Design's theme system.
1660
+ * Used with ConfigProvider to style all antd components.
1661
+ */
1662
+
1663
+ /**
1664
+ * Axiom Light Theme for Ant Design
1665
+ */
1666
+ declare const axiomAntdTheme: ThemeConfig;
1667
+ /**
1668
+ * Axiom Dark Theme for Ant Design
1669
+ */
1670
+ declare const axiomAntdThemeDark: ThemeConfig;
1671
+ /**
1672
+ * Get Axiom theme based on dark mode preference
1673
+ */
1674
+ declare const getAxiomAntdTheme: (isDark?: boolean) => ThemeConfig;
1675
+
1676
+ /**
1677
+ * useAxiomTheme Hook
1678
+ *
1679
+ * Provides access to Axiom design tokens and component styles.
1680
+ * Used for custom layouts and component-specific styling.
1681
+ *
1682
+ * Note: Ant Design components are automatically styled via ConfigProvider.
1683
+ * This hook is for custom elements and layout components only.
1684
+ */
1685
+ declare const useAxiomTheme: () => {
1686
+ tokens: {
1687
+ readonly colors: {
1688
+ readonly primary: {
1689
+ readonly 50: "#f0f4ff";
1690
+ readonly 100: "#e0e7ff";
1691
+ readonly 200: "#c7d2fe";
1692
+ readonly 300: "#a5b4fc";
1693
+ readonly 400: "#818cf8";
1694
+ readonly 500: "#6366f1";
1695
+ readonly 600: "#4f46e5";
1696
+ readonly 700: "#4338ca";
1697
+ readonly 800: "#3730a3";
1698
+ readonly 900: "#312e81";
1699
+ };
1700
+ readonly success: "#22c55e";
1701
+ readonly warning: "#f59e0b";
1702
+ readonly error: "#ef4444";
1703
+ readonly info: "#3b82f6";
1704
+ readonly light: {
1705
+ readonly bg: "#fafafa";
1706
+ readonly surface: "rgba(255, 255, 255, 1)";
1707
+ readonly surfaceHover: "#f9fafb";
1708
+ readonly surfaceActive: "#f3f4f6";
1709
+ readonly border: "#e5e7eb";
1710
+ readonly borderHover: "#d1d5db";
1711
+ readonly text: "#111827";
1712
+ readonly textSecondary: "#6b7280";
1713
+ readonly textMuted: "#9ca3af";
1714
+ };
1715
+ readonly dark: {
1716
+ readonly bg: "#0a0a0a";
1717
+ readonly surface: "rgba(23, 23, 23, 0.95)";
1718
+ readonly surfaceHover: "#1f1f1f";
1719
+ readonly surfaceActive: "#262626";
1720
+ readonly border: "#27272a";
1721
+ readonly borderHover: "#3f3f46";
1722
+ readonly text: "#fafafa";
1723
+ readonly textSecondary: "#a1a1aa";
1724
+ readonly textMuted: "#71717a";
1725
+ };
1726
+ };
1727
+ readonly radius: {
1728
+ readonly none: "0";
1729
+ readonly sm: "4px";
1730
+ readonly md: "10px";
1731
+ readonly lg: "16px";
1732
+ readonly xl: "20px";
1733
+ readonly xxl: "28px";
1734
+ readonly xxxl: "32px";
1735
+ readonly full: "9999px";
1736
+ };
1737
+ readonly spacing: {
1738
+ readonly 0: "0";
1739
+ readonly 1: "4px";
1740
+ readonly 2: "8px";
1741
+ readonly 3: "12px";
1742
+ readonly 4: "16px";
1743
+ readonly 5: "20px";
1744
+ readonly 6: "24px";
1745
+ readonly 8: "32px";
1746
+ readonly 10: "40px";
1747
+ readonly 12: "48px";
1748
+ };
1749
+ readonly shadows: {
1750
+ readonly none: "none";
1751
+ readonly sm: "0 1px 2px rgba(0, 0, 0, 0.04)";
1752
+ readonly md: "0 2px 8px rgba(0, 0, 0, 0.06)";
1753
+ readonly lg: "0 4px 12px rgba(0, 0, 0, 0.08)";
1754
+ readonly xl: "0 8px 24px rgba(0, 0, 0, 0.1)";
1755
+ };
1756
+ readonly typography: {
1757
+ readonly fontFamily: "Inter, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, sans-serif";
1758
+ readonly sizes: {
1759
+ readonly xs: {
1760
+ readonly size: "12px";
1761
+ readonly lineHeight: "16px";
1762
+ readonly weight: 400;
1763
+ };
1764
+ readonly sm: {
1765
+ readonly size: "14px";
1766
+ readonly lineHeight: "20px";
1767
+ readonly weight: 400;
1768
+ };
1769
+ readonly base: {
1770
+ readonly size: "16px";
1771
+ readonly lineHeight: "24px";
1772
+ readonly weight: 400;
1773
+ };
1774
+ readonly lg: {
1775
+ readonly size: "18px";
1776
+ readonly lineHeight: "28px";
1777
+ readonly weight: 500;
1778
+ };
1779
+ readonly xl: {
1780
+ readonly size: "20px";
1781
+ readonly lineHeight: "28px";
1782
+ readonly weight: 600;
1783
+ };
1784
+ readonly '2xl': {
1785
+ readonly size: "24px";
1786
+ readonly lineHeight: "32px";
1787
+ readonly weight: 600;
1788
+ };
1789
+ };
1790
+ };
1791
+ readonly animation: {
1792
+ readonly duration: {
1793
+ readonly fast: "150ms";
1794
+ readonly normal: "250ms";
1795
+ readonly slow: "350ms";
1796
+ };
1797
+ readonly easing: {
1798
+ readonly default: "cubic-bezier(0.4, 0, 0.2, 1)";
1799
+ readonly bounce: "cubic-bezier(0.68, -0.55, 0.265, 1.55)";
1800
+ };
1801
+ };
1802
+ };
1803
+ styles: {
1804
+ input: string;
1805
+ title: string;
1806
+ grid: string;
1807
+ button: string;
1808
+ pageContainer: string;
1809
+ card: string;
1810
+ header: string;
1811
+ logo: string;
1812
+ subtitle: string;
1813
+ buttonGhost: string;
1814
+ form: string;
1815
+ list: string;
1816
+ listItem: string;
1817
+ listItemAvatar: string;
1818
+ listItemContent: string;
1819
+ listItemTitle: string;
1820
+ listItemDescription: string;
1821
+ alert: string;
1822
+ footer: string;
1823
+ emptyIcon: string;
1824
+ emptyTitle: string;
1825
+ emptyDescription: string;
1826
+ createCard: string;
1827
+ createCardList: string;
1828
+ createIconWrapper: string;
1829
+ createText: string;
1830
+ };
1831
+ };
1832
+
1833
+ export { type AgentChatProps, AgentConversations, type AgentConversationsProps, type AgentState, AgentThreadProvider, type AgentThreadProviderProps, type AnalysisCategory, type AnalysisItem, AssistantContext, AssistantContextProvider, type AssistantContextProviderProps, type AssistantContextValue, AssistantFlow, type AssistantFlowProps, AssistantNode, type AssistantNodeData, type AssistantState, type AttachFile, type AuthContextValue, AuthProvider, AxiomLatticeProvider, type AxiomLatticeProviderProps, type ChatResponse, type ChatState, type ChatStateWithAgent, ChatUIContext, ChatUIContextProvider, Chating, type ChatingProps, type ClientConfig, ColumnLayout, type ColumnLayoutProps, ConversationContext, ConversationContextProvider, type ConversationContextProviderProps, type ConversationContextValue, type ConversationThread, CreateAssistantModal, type ElementMeta, type ElementProps, type ExplorerFile, FileExplorer, type FileExplorerProps, LatticeChat, LatticeChatShell, type LatticeChatShellConfig, LatticeChatShellContext, LatticeChatShellContextProvider, type LatticeChatShellContextProviderProps, type LatticeChatShellContextValue, type LatticeChatShellProps, LoginForm, type LoginFormProps, LoginPage, MDResponse, MDViewFormItem, MetricsConfigDrawerContent, type MiddlewareConfigDefinition, type MiddlewareConfigSchema, type MiddlewareConfigSchemaProperty, type MiddlewareToolDefinition, type MiddlewareTypeDefinition, ProtectedRoute, type ProtectedRouteProps, RegisterForm, type RegisterFormProps, type ResourceFolderConfig, ScheduleButton, type ScheduleButtonProps, SideAppViewBrowser, type SideMenuItemConfig, type SideMenuItemType, SkillCategoryPrompts, type SkillCategoryPromptsProps, SkillFlow, type SkillFlowProps, SkillNode, type SkillNodeData, type StreamEventHandlerOptions, TenantSelector, type TenantSelectorProps, type ThreadState, type ToolCallData, type UIMessage, type UseAgentStateOptions, type UseAgentStateReturn, type UseAxiomLatticeOptions, type UseChatOptions, type UseTenantsOptions, type UseTenantsReturn, type UseUsersOptions, type UseUsersReturn, UserProfile, type UserProfileProps, type UserTenantInfo, animation, axiomAntdTheme, axiomAntdThemeDark, axiomTokens, colors, generateLabelFromMessage, getAxiomAntdTheme, getElement, radius, regsiterElement, shadows, spacing, typography, useAgentChat, useAgentGraph, useAgentState, useAgentThreadContext, useAssistantContext, useAuth, useAxiomLattice, useAxiomTheme, useChat, useChatUIContext, useConversationContext, useLatticeChatShellContext, useTenants, useUsers };