export interface WorkServerRegistration { /** A `MCP server "work": Successfully connected …` line is present. */ connected: boolean; /** The `work` server's `Connection established with capabilities: {…}` line parsed * to `hasTools:true`. False when the caps line is absent or unparseable. */ hasTools: boolean; /** ms from the `Successfully connected … in ms` line; null when not connected. */ connectMs: number | null; /** The last `[ERROR]`/timeout/failed line for the `work` server when not connected; * null otherwise. */ failureDetail: string | null; } export declare function parseWorkServerRegistration(logContent: string): WorkServerRegistration; export declare function formatSpawnToolsLine(p: { sessionId: string; reg: WorkServerRegistration; assignedAdminEnv: boolean; }): string; //# sourceMappingURL=passive-spawn-tools-tail.d.ts.map