/** Responsive horizontal layout for the interactive `botmux list` picker. */ export type SessionPickerColumnKey = 'id' | 'bot' | 'title' | 'dir' | 'pid' | 'uptime' | 'status' | 'target'; export interface SessionPickerColumn { key: SessionPickerColumnKey; width: number; } export interface SessionPickerLayout { /** Actual terminal width used to build this layout. */ termWidth: number; /** Width reserved for the row/header prefix (` ❯ ` in normal terminals). */ prefixWidth: number; /** Ordered visible columns. */ columns: SessionPickerColumn[]; } /** Total physical width of a rendered header/session line. Exported for invariants/tests. */ export declare function sessionPickerLayoutWidth(layout: SessionPickerLayout): number; /** * Compute a one-physical-line layout for the current terminal width. * * Wide terminals preserve the picker's historical column widths byte-for-byte. * Narrow terminals first shrink columns, then progressively hide lower-value * columns. At every width the returned prefix + columns + separators is no * wider than the terminal, so vertical viewport accounting remains truthful. */ export declare function computeSessionPickerLayout(rawTermWidth: number, multiBot: boolean): SessionPickerLayout; //# sourceMappingURL=session-picker-layout.d.ts.map