export declare class TerminalScreen {
    readonly lines: readonly string[];
    readonly rawLines: readonly string[];
    readonly cursor: {
        row: number;
        col: number;
    };
    readonly size: {
        rows: number;
        cols: number;
    };
    constructor({ lines, rawLines, cursor, size }: {
        lines: string[];
        rawLines: string[];
        cursor: {
            row: number;
            col: number;
        };
        size: {
            rows: number;
            cols: number;
        };
    });
    get text(): string;
    contains(substring: string): boolean;
    line(index: number): string;
}
