import { Scalar } from './components/Table.js'; import { ReactNode } from 'react'; /** * Renders an Ink component to stdout and immediately unmounts. * Uses a proxy to report large viewport dimensions, preventing Ink from clipping output. * @param component - The React/Ink component to render. */ export declare function renderInline(component: React.ReactNode): Promise; /** * Renders a table with headers and data rows. * @param tableHeaders - Column headers. Pass `['']` to hide the header row. * @param tableData - 2D array where each inner array is a row of cell values. * @param borderless - If true, renders without table borders. */ export declare function renderTable(tableHeaders: string[], tableData: Scalar[][], borderless?: boolean): Promise; /** * Renders a borderless list without headers. * @param items - 2D array where each inner array is a row (typically single-item arrays for a simple list). */ export declare function renderList(items: string[][]): Promise; export declare function renderInteractive(component: ReactNode, options?: { fullScreen?: boolean; }): Promise;