import { type Component, type Focusable, type KeybindingsManager } from '@earendil-works/pi-tui'; /** Bounded, keyboard-scrollable output; content never becomes a model prompt. */ export declare class TextViewer implements Component, Focusable { private readonly title; private readonly options; focused: boolean; private offset; private readonly text; private timer?; private loading; private disposed; private prompt; private input; private query; private rendered; constructor(title: string, content: string, options: { rows: () => number; close: () => void; render: () => void; keybindings: KeybindingsManager; load?: () => Promise; reply?: () => void; onDispose?: () => void; intervalMs?: number; }); private preview; private reload; dispose(): void; invalidate(): void; render(width: number): string[]; handleInput(data: string): void; }