export * from './hooks/index'
export * from './brand/index'
export * from './layout/index'
export * from './primitives/index'

// NOTE: Heavy subpath wrappers are intentionally NOT re-exported from this
// barrel. Import them from their dedicated subpaths instead:
//
//   import { CodeEditor }  from '.../react/editors/code-editor'
//   import { LogViewer }   from '.../react/editors/log-viewer'
//   import { JsonViewer }  from '.../react/editors/json-viewer'
//   import { YamlEditor }  from '.../react/editors/yaml-editor'
//   import { DiffViewer }  from '.../react/editors/diff-viewer'
//   import { Sidebar }     from '.../react/sidebar'
//   import { AppSwitcher } from '.../react/app-switcher'
//
// This keeps CodeMirror (~800 kB) out of the main React bundle for consumers
// that never touch the editor wrappers.

// Threat-domain compositions; renamed in the central barrel to avoid
// collision with the primitive StatCard/UptimeBar. Domain-specific consumers
// can still import them by their original name from the
// `./react/threat-visuals` subpath.
export {
  StatCard as ThreatStatCard,
  UptimeBar as ThreatUptimeBar,
  MetricTile,
  FlowNodeCard,
  type VisualTone,
  type TrendDirection as ThreatTrendDirection,
  type FlowNodeVariant,
  type FlowNodeSize,
  type StatAccent,
  type StatCardProps as ThreatStatCardProps,
  type UptimeBarProps as ThreatUptimeBarProps,
  type MetricTileProps,
  type FlowNodeCardProps,
} from './threat-visuals/index'

export * from './topology/index'
export * from './theme-toggle/index'
export {
  ThemeStudio as ThemeStudioReact,
  type Theme as ThemeEngineTheme,
  type ThemeStudioProps as ThemeStudioReactProps,
  type ThemeStudioSeedStrategy,
} from './theme-studio'
