import { type StyledSegment } from "../ansi.js";
import { ScreenBuffer } from "../buffer.js";
import type { CellStyle, OutputItem, Rect } from "../types.js";
export type VisualLine = {
    text: string;
    style: CellStyle;
    prefix: string;
    prefixStyle: CellStyle;
    segments?: StyledSegment[];
};
export declare function renderOutputPane(buffer: ScreenBuffer, rect: Rect, items: OutputItem[]): void;
export declare function computeVisualLines(items: OutputItem[], width: number): VisualLine[];
