/********************************************************************* * © Copyright IBM Corp. 2024 *********************************************************************/ import React from 'react'; export interface RowItem { id: string; } export interface RowColumnComponentProps { item: Item; } export interface ColumnSpec { id: string; width?: number; HeaderComponent: React.ComponentClass | React.FunctionComponent | null; Component: React.ComponentClass> | React.FunctionComponent>; [key: string]: unknown; } export interface ListProps { columnSpecs: ColumnSpec[]; items: Item[]; onRowClick?: (item: Item) => void; onLoadMore: (page: number) => void; hasMoreData: boolean; expandedState: Set; ExpandedRowComponent?: React.ComponentType<{ item: RowItem; }>; } export declare function List(props: ListProps): React.JSX.Element;