export type Column = { key: string; label: string; /** Fixed width, or omitted for the one column that takes what is left. */ width?: number; align?: "left" | "right"; keep?: "head" | "tail"; }; export type Cell = { text: string; color?: string; bold?: boolean; dim?: boolean; }; export type Row = Record; type ColumnsProps = { columns: Column[]; rows: Row[]; indent?: number; }; /** * A table that fits the terminal. Fixed columns keep their width whatever * happens, the flexible one takes what is left, and every cell is cut with an * ellipsis rather than wrapped, so a row is always one line. */ export declare function Columns({ columns, rows, indent }: ColumnsProps): import("react").JSX.Element; export {}; //# sourceMappingURL=Columns.d.ts.map