import { WNode, WNodeProps } from './types'; export type TableCellValue = string | number | boolean | null | undefined; export type TableRow = Record; export type TableColumn = { key: string; header?: string; }; export type TableViewState = { columns: TableColumn[]; rows: TableRow[]; padding: number; }; export type TableBorderChars = { topLeft: string; topRight: string; bottomLeft: string; bottomRight: string; horizontal: string; vertical: string; tDown: string; tUp: string; tLeft: string; tRight: string; cross: string; }; export type TableRenderTheme = { styles: { container: () => WNodeProps; row: () => WNodeProps; border: () => WNodeProps; headerCell: (props: { columnKey: string; }) => WNodeProps; cell: (props: { columnKey: string; rowIndex: number; }) => WNodeProps; }; config: () => { borderChars: TableBorderChars; }; }; export declare const defaultTableTheme: TableRenderTheme; export declare function renderTable(state: TableViewState, theme?: TableRenderTheme): WNode; //# sourceMappingURL=render-table.d.ts.map