/** * daemon/session-content.ts — Read terminal content from iTerm2 / tmux sessions. * * Uses JXA (iTerm2) or capture-pane (tmux) to read visible + scrollback content. * Also detects busy/idle state via `is at shell prompt`. * * Part of Session Orchestration (Phase 1, v0.7). */ export interface SessionContent { sessionId: string; name: string; content: string; lineCount: number; atPrompt: boolean; paiName: string | null; } /** * Read terminal content from a specific iTerm2 session. * Returns the last N lines of terminal output + busy/idle flag. */ export declare function readSessionContent(sessionId: string, lines?: number, opts?: { fresh?: boolean; }): SessionContent | null; /** * Read terminal content from ALL iTerm2 sessions. * Returns array of session contents with busy/idle flags. */ export declare function readAllSessionContent(lines?: number): SessionContent[]; //# sourceMappingURL=session-content.d.ts.map