import { LayoutNode, WorkspaceNode, EditorGroup } from '@decido/shell-core'; export * from '@decido/shell-core'; export { THEME_PRESETS, useTheme } from '@decido/shell-core'; export { MaciaPlugin } from '@decido/plugin-engine'; import { ShellHeaderProps } from '@decido/shell-layout'; export { ShellMorphCanvas, SlotRendererLayout as SlotRenderer } from '@decido/shell-layout'; import * as react_jsx_runtime from 'react/jsx-runtime'; import { DecidoStudioProps } from '@decido/engine'; import React, { ErrorInfo } from 'react'; /** * PlaygroundDecidoChannel — Thin Orchestrator. * * Post-refactor responsibilities: * 1. Boot gate (BootScreen) * 2. Global side-effects (logger, triggers, MCP) * 3. Layout slot sync (creator/player mode → R3 slot) * 4. Sidebar desktop (push layout via flex) * 5. Header + Immersive mode controls * 6. Delegates center content to CenterComposite * * NetworkProvider is provided by AppShell (parent). */ declare function PlaygroundDecidoChannel({ aiProvider, VoiceWidget, config }?: DecidoStudioProps): react_jsx_runtime.JSX.Element; /** * DecidoPlayer Embebido * Phase H: Runtime completo — auto-inicia flujos, ejecuta render nodes con formularios, * y soporta toda la lógica del motor (condicionales, triggers, subflows). */ declare function DecidoPlayer({ aiProvider, VoiceWidget, config, socketInstance, width, height }: DecidoStudioProps & { width?: string; height?: string; }): react_jsx_runtime.JSX.Element; declare function AgentPlayer({ socketInstance }: { socketInstance?: any; }): react_jsx_runtime.JSX.Element; interface AppShellProps extends DecidoStudioProps { children?: React.ReactNode; /** * Render function for OS-level overlays. * Injected by the host to avoid circular dependency. * Should return: HitlApprovalModal, Omnibar, TransientLayer, * SwarmOnboarding, PluginMarketplace, UpdaterOverlay, etc. */ renderOverlays?: () => React.ReactNode; } declare function AppShell({ aiProvider, VoiceWidget, config, socketInstance, children, renderOverlays, }: AppShellProps): react_jsx_runtime.JSX.Element; /** * MorphShell — Polymorphic plugin container. * * Supports TWO rendering paths: * 1. **New API**: MorphInstance from useMorphInstanceStore (1 chat = 1 tab) * 2. **Legacy API**: MorphStage from useLayoutStore/useMorphologyStore * * Resolution: if activeInstance exists → use new path, else → legacy path. */ interface MorphShellProps { showCanvas?: boolean; setShowCanvas?: (v: boolean) => void; activeConfig?: any; prototypeBrand?: string; activeState?: string; chartData?: any[]; dragConstraintsRef?: React.RefObject | null; } declare function MorphShell({ showCanvas, setShowCanvas, activeConfig, prototypeBrand, activeState, chartData, dragConstraintsRef, }: MorphShellProps): react_jsx_runtime.JSX.Element | null; interface LayoutGridProps { /** Additional props to pass through to slot components */ slotProps?: Record; } declare function LayoutGrid({ slotProps }: LayoutGridProps): react_jsx_runtime.JSX.Element; /** * AppHeader — React wrapper around ShellHeader from @decido/shell-layout. */ declare const AppHeader: React.NamedExoticComponent; /** * TabBar — Horizontal tab strip for the T2 zone. * * Displays tabs from useLayoutStore.tabs * Each tab can be activated, closed, and dragged. * New tabs appear when MorphShell pushes a stage. * * Clicking a tab syncs: LayoutStore ↔ MorphInstanceStore ↔ PlaygroundStore(activeChatId) */ interface TabBarProps { className?: string; } declare function TabBar({ className }: TabBarProps): react_jsx_runtime.JSX.Element | null; /** * GlobalOverlays — Centralized overlay system managed by AppShell. * * Contains: * - Omnibar (Cmd+K): Global command palette with slot/preset/mode actions * - Plugin Marketplace (future): Browse and install plugins * * These overlays live ABOVE the LayoutGrid, never affected by MorphShell. */ declare function GlobalOverlays(): react_jsx_runtime.JSX.Element; interface ArtifactBarProps { instanceId: string; className?: string; } declare function ArtifactBar({ instanceId, className }: ArtifactBarProps): react_jsx_runtime.JSX.Element | null; interface PanelSplitterProps { node?: LayoutNode; isRoot?: boolean; } declare const PanelSplitter: React.FC; declare const TransientLayer: React.FC; interface ServerDrivenNode { type: string; props?: Record; children?: ServerDrivenNode[] | string; onAction?: { command: string; payload?: any; }; } interface Props$1 { uiSchema: string | ServerDrivenNode; missionData?: any; tenantId: string; } declare const SafeLiquidUI: React.FC; interface Props { children: React.ReactNode; pluginName?: string; pluginId?: string; } interface State { hasError: boolean; error: Error | null; } declare class PluginErrorBoundary extends React.Component { constructor(props: Props); static getDerivedStateFromError(error: Error): State; componentDidCatch(error: Error, errorInfo: ErrorInfo): void; resetBoundary: () => void; render(): string | number | bigint | boolean | Iterable | Promise> | Iterable | null | undefined> | react_jsx_runtime.JSX.Element | null | undefined; } declare const MarketplaceWidget: React.FC; declare const OpsDashboard: () => react_jsx_runtime.JSX.Element; declare function MacroStudioWidget(): react_jsx_runtime.JSX.Element; declare function IntentMonitorWidget(): react_jsx_runtime.JSX.Element; /** * WorkspaceRenderer * Recursively renders the VS Code style split workspace! */ declare function WorkspaceManager(): react_jsx_runtime.JSX.Element; declare function WorkspaceRenderer({ node }: { node: WorkspaceNode; }): react_jsx_runtime.JSX.Element; declare function WorkspaceTabBar({ group }: { group: EditorGroup; }): react_jsx_runtime.JSX.Element; export { AgentPlayer, AppHeader, AppShell, ArtifactBar, DecidoPlayer, PlaygroundDecidoChannel as DecidoShell, GlobalOverlays, IntentMonitorWidget, LayoutGrid, MacroStudioWidget, MarketplaceWidget, MorphShell, OpsDashboard, PanelSplitter, PluginErrorBoundary, SafeLiquidUI, TabBar, TransientLayer, WorkspaceManager, WorkspaceRenderer, WorkspaceTabBar };