import type { ServiceVisibility } from '../../types/build'; type WorkspaceTuiStatus = 'pending' | 'starting' | 'ready' | 'paused' | 'restarting' | 'stopped' | 'error'; type WorkspaceTuiLogLevel = 'info' | 'warn' | 'error' | 'success'; type WorkspaceTuiService = { name: string; port?: number; url?: string | null; visibility: ServiceVisibility; }; type WorkspaceTuiActions = { open: () => void | Promise; pause: () => void | Promise; quit: () => void | Promise; restart: () => void | Promise; shell: (command: string) => void | Promise; }; type WorkspaceLogEntry = { level: WorkspaceTuiLogLevel; message: string; source: string; timestamp: string; }; export declare const createWorkspaceTui: ({ actions, headless: headlessOption, services, version }: { actions: WorkspaceTuiActions; headless?: boolean; services: WorkspaceTuiService[]; version: string; }) => { addLog: (source: string, message: string, level?: WorkspaceTuiLogLevel) => void; clearLogs: () => void; dispose: () => void; getRecentLogs: (limit?: number) => WorkspaceLogEntry[]; getServiceSnapshot: () => { detail: string | undefined; name: string; status: WorkspaceTuiStatus; target: string; visibility: ServiceVisibility; }[]; setReadyDuration: (durationMs: number | null) => void; setServiceStatus: (name: string, status: WorkspaceTuiStatus, detail?: string) => void; start: () => void; }; export {};