/** * AgentScreen - TUI dashboard for the autonomous agent mode * * Displays issue processing status, a loop monitor, and an agent log. * Two-column layout on wide terminals (>=65 cols), single-column on narrow. * * When a loop is running, the right panel splits: loop monitor (top) + log (bottom). * When no loop is running, the right panel shows only the agent log. * * Wired to the orchestrator via useAgentOrchestrator hook, which * interprets tool calls into structured React state. Console is patched * on mount to prevent Ink rendering corruption. * * Wrapped in AppShell for consistent layout with header and footer. */ import React from 'react'; import type { AgentAppProps } from '../app.js'; export interface AgentScreenProps { header: React.ReactNode; projectRoot: string; agentOptions?: AgentAppProps; onExit?: () => void; } export declare function AgentScreen({ header, projectRoot, agentOptions, onExit, }: AgentScreenProps): React.ReactElement;