/**
 * PTY screen snapshot abstraction — ghostty-vt backend.
 */
import type { TerminalViewportBackendKind } from './terminal-backends/types.js';
export declare function getTerminalBackendRuntimeStatus(): {
    backend: TerminalViewportBackendKind;
};
export declare class TerminalScreen {
    readonly backendKind: TerminalViewportBackendKind;
    private rows;
    private cols;
    private terminal;
    constructor(rows?: number, cols?: number);
    reset(rows?: number, cols?: number): void;
    resize(rows: number, cols: number): void;
    write(data: string): void;
    getText(): string;
    /** Full buffer including scrollback history (see backend doc). */
    getTextWithScrollback(): string;
    getCursorPosition(): {
        col: number;
        row: number;
    };
    /** Current viewport dimensions (cols × rows). */
    getSize(): {
        cols: number;
        rows: number;
    };
    dispose(): void;
    private createBackend;
}
