import { type TuiSurface } from "./surface-schema.js"; export interface PanePreview { id: string; type: string; /** Lines visible without clicking (≈ for prose, which wraps). */ shows: number; /** Total content lines the source currently holds. */ of: number; clipped: boolean; } export interface SurfacePreview { cardWidth: number; paneLineBudget: number; /** One entry per layout row, e.g. "row1: inbox | stats (2-col)". */ layoutRows: string[]; panes: PanePreview[]; notes: string[]; } export declare function previewSurface(surface: TuiSurface, termW?: number, termH?: number): SurfacePreview;