import { CustomListItem } from '../List.js'; import { InlineToken, TokenItem } from '../TokenizedText.js'; import { TextProps } from 'ink'; import { FunctionComponent } from 'react'; type Items = (TokenItem | CustomListItem)[]; export interface InfoTableSection { color?: TextProps['color']; header: string; bullet?: string; helperText?: string; items: Items; emptyItemsText?: string; } export interface InfoTableProps { table: Record | InfoTableSection[]; } declare const InfoTable: FunctionComponent; export { InfoTable };