/**
 * PTY screen snapshot abstraction.
 *
 * We currently keep xterm as the default parser/model because it is already
 * proven in production, but the surface is now backend-agnostic so we can
 * swap in libghostty-vt once a native Node binding is available.
 */
import type { TerminalViewportBackendKind, TerminalViewportBackendPreference } from './terminal-backends/types.js';
export declare function getTerminalBackendRuntimeStatus(): {
    backend: TerminalViewportBackendKind;
    preference: TerminalViewportBackendPreference;
    ghosttyAvailable: boolean;
};
export declare class TerminalScreen {
    readonly backendKind: TerminalViewportBackendKind;
    private rows;
    private cols;
    private readonly preference;
    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;
    getCursorPosition(): {
        col: number;
        row: number;
    };
    dispose(): void;
    private createBackend;
}
