/** * daemon/session-content.ts — Read terminal content from iTerm2 sessions. * * Uses AppleScript to read the visible + scrollback content from iTerm2 tabs. * 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): 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