import type { OutputEvent } from '../types/session-types.js'; export declare class SubagentLogWriter { readonly sessionLabel: string; readonly subagentId: string; readonly logPath: string; private stream; private errored; private closed; private streamReady; private pendingLines; private readyPromise; private readyResolve; private bytesWritten; constructor(sessionLabel: string, subagentId: string); static isEnabled(): boolean; write(event: OutputEvent): void; close(): Promise; private openStream; private writeLine; } export declare class SubagentLogReader { static readEvents(sessionLabel: string, subagentId: string): AsyncGenerator; static list(sessionLabel: string): Promise; }