import type { Session } from '../../types/api'; export interface ThreadCompactModeInput { /** Callers that always want the compact renderer (looper orchestrator UI). */ forceCompact?: boolean; sessionType?: Session['sessionType']; /** `preferences.compactThread` — the user-facing "compact thread" toggle. */ compactThreadPreference: boolean; } export interface ThreadCompactMode { /** Drives the row model: exploratory parts collapse to activity lines. */ compact: boolean; /** Lets a narrow thread use compact *density* without compact rendering. */ responsiveCompact: boolean; } /** * Single source of truth for how the compact-thread preference reaches the * thread rows. Kept as plain logic so the preference → row-variant path is * testable without mounting the virtualized list. */ export declare function resolveThreadCompactMode({ forceCompact, sessionType, compactThreadPreference, }: ThreadCompactModeInput): ThreadCompactMode; //# sourceMappingURL=threadCompactMode.d.ts.map