import type { TerminalRenderPlane, TerminalRenderPlanes } from "../render-plane.js"; import type { Cell, Terminal, TerminalOptions } from "../types.js"; export declare function getRootTerminal(terminal: Terminal): Terminal; export declare function getPlaneTerminal(terminal: Terminal, plane: TerminalRenderPlane): Terminal; export declare function readTerminalRowForPlanes(terminal: Terminal, y: number, planes?: TerminalRenderPlanes | null): readonly Cell[]; export declare function resetPlaneRowsForRender(terminal: Terminal, plane: TerminalRenderPlane, dirtyRows: readonly number[] | null): void; export declare function getPlaneRowCoverageKind(terminal: Terminal, plane: TerminalRenderPlane, y: number): 0 | 1 | 2; export declare function scrollPlaneRows(terminal: Terminal, plane: TerminalRenderPlane, startY: number, endY: number, lines: number): void; export declare function createTerminal(opts: TerminalOptions): Terminal;