import type { SGRTerminal } from './terminal.js';
/**
 * A headless SGRTerminal that captures all output as an ANSI string.
 * Uses a 2D grid internally so cursor positioning is handled correctly —
 * the output contains only SGR escape codes and visible characters
 * (no cursor positioning sequences), making it compatible with ansi-to-html.
 */
export declare class StringTerminal implements SGRTerminal {
    #private;
    cols: number;
    rows: number;
    constructor({ cols, rows }: {
        cols: number;
        rows: number;
    });
    move(x: number, y: number): void;
    write(str: string): void;
    flush(): void;
    get output(): string;
    reset(): void;
}
