import { InlineToken, TokenItem } from './TokenizedText.js'; import { TextProps } from 'ink'; import { FunctionComponent } from 'react'; export interface CustomListItem { type?: string; item: TokenItem; bullet?: string; color?: TextProps['color']; } type ListItem = TokenItem | CustomListItem; interface ListProps { title?: TokenItem; items: ListItem[]; ordered?: boolean; margin?: boolean; color?: TextProps['color']; bullet?: string; } /** * `List` displays an unordered or ordered list with text aligned with the bullet point * and wrapped to the container width. */ declare const List: FunctionComponent; export { List };