import { type TuiPane } from "./surface-schema.js"; /** Resolve a pane source safely under the surface root. Null = refuses. */ export declare function resolvePaneSource(root: string, source: string): string | null; export declare function loadPaneText(pane: TuiPane, root: string): string; /** * Render a pane to styled lines, decluttered and clamped to `budget` visible * lines (overflow collapses to "ยทยทยท"). Logs and diffs keep their TAIL; * checklists keep the window around the first non-done item; documents keep * the top. */ export declare function renderPaneLines(pane: TuiPane, root: string, width: number, budget?: number): string[]; export declare function loadPaneTextCached(pane: TuiPane, root: string, now?: number): string; /** mtime-ish fingerprint for change detection across a surface's sources. */ export declare function paneFingerprint(pane: TuiPane, root: string): string;