import React, { FC, ReactElement } from "react";
import "./index.less";
import Item, { ItemProps } from "./item";
interface ListProps<Data> {
    dataSource: Data[];
    renderItem: (item: Data) => ReactElement;
    header?: ReactElement;
    footer?: ReactElement;
    layout?: "vertical" | "horizontal";
}
declare const List: {
    <Data extends unknown>(props: ListProps<Data> & {
        Item?: React.FC<ItemProps> | undefined;
    }): JSX.Element;
    Item: typeof Item;
};
export default List;
