import * as React from 'react'; import './style/index.less'; import Item from './item'; type ListSize = 'xs' | 'sm' | 'md' | 'lg'; interface DataType { icon: React.ReactNode; content: string; } interface ListProps { data: Array; border?: boolean; size?: ListSize; stripe?: boolean; split?: boolean; renderItem?: (item: T, index: number) => React.ReactNode; } declare const InternalList: React.FC>; type ListType = typeof InternalList; interface ListInterface extends ListType { Item: typeof Item; } declare const List: ListInterface; export default List;