import type { Cell, Rect, Style } from "../types.js"; export declare class CellBuffer { readonly width: number; readonly height: number; private cells; constructor(width: number, height: number); clone(): CellBuffer; clear(style?: Style): void; set(x: number, y: number, ch: string, style?: Style): void; get(x: number, y: number): Cell; write(x: number, y: number, text: string, style?: Style, maxWidth?: number): void; fillRect(rect: Rect, ch?: string, style?: Style): void; renderFull(): string; renderDiff(prev: CellBuffer | null): string; toPlainString(): string; private renderRow; private rowEquals; private mergeCellBackground; } //# sourceMappingURL=cell-buffer.d.ts.map