/** * Mission Control TUI Header Component * * Displays: * - Title with icon * - Run ID * - Mission timer (elapsed time from run.started_at) * - Compact legend for keyboard navigation */ import type { Theme } from "@mariozechner/pi-coding-agent"; import type { Run } from "../state.js"; export interface HeaderProps { run: Run | null; currentPhase: string; agentsReady: boolean; skillsReady: boolean; } /** * Format elapsed time as HH:MM:SS */ export declare function formatElapsedTime(startedAt: string): string; /** * Render the header component * Returns an array of strings (one per line) */ export declare function renderHeader(width: number, props: HeaderProps, theme: Theme): string[]; /** * Header component class for dashboard integration */ export declare class HeaderComponent { private props; private cachedWidth?; private cachedLines?; constructor(run: Run | null, currentPhase: string, agentsReady?: boolean, skillsReady?: boolean); update(run: Run | null, currentPhase: string, agentsReady?: boolean, skillsReady?: boolean): void; render(width: number, theme: Theme): string[]; invalidate(): void; } //# sourceMappingURL=header.d.ts.map