import type React from 'react'; import type { FleetEntry } from '../app-state.js'; import type { SidebarWrongProxy } from '../hooks/use-sidebar-panel-data.js'; import { type WorktreeRow } from '../ui-contracts.js'; import type { ProjectPickerItem } from './project-picker.js'; export interface ProjectPickerSidebarProps { items: readonly ProjectPickerItem[]; selected: number; filter: string; hint?: string | undefined; currentProject?: string | undefined; width: number; } export declare function ProjectPickerSidebar({ items, selected, filter, hint, currentProject, width, }: ProjectPickerSidebarProps): React.ReactElement; export interface FleetPanelSidebarProps { entries: Record; runningCount: number; width: number; } export declare function FleetPanelSidebar({ entries, runningCount, width, }: FleetPanelSidebarProps): React.ReactElement; export interface AgentsPanelSidebarProps { entries: Record; totalCost: number; nowTick: number; width: number; } export declare function AgentsPanelSidebar({ entries, totalCost, nowTick, width, }: AgentsPanelSidebarProps): React.ReactElement; export interface WorktreePanelSidebarProps { worktrees: Record; width: number; } export declare function WorktreePanelSidebar({ worktrees, width, }: WorktreePanelSidebarProps): React.ReactElement; export interface CoordinatorPanelSidebarProps { running: boolean; activePhases: number; completedPhases: number; phaseNames: readonly string[]; elapsedMs: number; width: number; } export declare function CoordinatorPanelSidebar({ running, activePhases, completedPhases, phaseNames, elapsedMs, width, }: CoordinatorPanelSidebarProps): React.ReactElement; export interface ConnectionsPanelSidebarProps { connections: readonly { name: string; status: 'ok' | 'warn' | 'down' | 'unknown'; latencyMs?: number | undefined; }[]; width: number; } export declare function ConnectionsPanelSidebar({ connections, width, }: ConnectionsPanelSidebarProps): React.ReactElement; export interface WrongProxyPanelSidebarProps { /** * Live probe state. When `null` (URL missing or probe disabled) the * panel renders an idle placeholder inside the same frame so the * layout never jumps when the toggle flips on mid-session. */ proxy: SidebarWrongProxy | null; width: number; } /** * Sidebar twin for the live WrongProxy / WrongTrace daemon. Renders the * proxy URL with its round-trip latency, the probe error detail when * warn/down, and — when the daemon's `/api/health` body exposes them — * the WrongTrace IPC socket path and daemon version. * * The panel is mounted only when `wrongProxyEnabled` is true at the * `app-view-sidebar.tsx` gate — see the `wrongProxyEnabled` usage there. * This component still defensively renders an empty-state when * `proxy === null` so a mount/unmount race during a toggle flip does * not flash an inconsistent card. */ export declare function WrongProxyPanelSidebar({ proxy, width, }: WrongProxyPanelSidebarProps): React.ReactElement; //# sourceMappingURL=sidebar-panels-workspace.d.ts.map