import type { TerminalViewportBackend, TerminalViewportBackendOptions } from './types.js';
export declare class GhosttyVtTerminalBackend implements TerminalViewportBackend {
    readonly kind: "ghostty-vt";
    private terminal;
    private rows;
    private disposed;
    constructor(options: TerminalViewportBackendOptions);
    resize(rows: number, cols: number): void;
    write(data: string): void;
    private formatLines;
    private static trimBlankEnds;
    getText(): string;
    getTextWithScrollback(): string;
    getCursorPosition(): {
        col: number;
        row: number;
    };
    dispose(): void;
}
