/** * Output implementation that writes directly into CellBuffer. */ import { type CellBuffer } from "./cell-buffer.js"; import { type Clip, type OutputLike, type OutputWriteOptions, type RawEntry } from "./output.js"; import { type AnsiCode } from "../types/ansi.js"; export declare class CellOutput implements OutputLike { private readonly clips; private readonly styleIdByRef; private lastStyleRef; private lastStyleId; private readonly rawEntries; readonly buffer: CellBuffer; constructor(buffer: CellBuffer); clip(clip: Clip): void; unclip(): void; writeRaw(x: number, y: number, content: string): void; getRawEntries(): RawEntry[]; fill(x: number, y: number, length: number, char: string, charWidth: number, styles: AnsiCode[]): void; private resolveStyleId; private writePlainLine; write(x: number, y: number, text: string, options: OutputWriteOptions): void; }