import React from "react";
import "./style.scss";
import { PaginationProps } from "../Pagination/type";
export type { ListItemMetaProps, ListItemProps } from "./Item";
export type ListSize = "small" | "medium" | "large";
export type PaginationAlign = "start" | "center" | "end";
export interface ListPaginationProps extends PaginationProps {
    align?: PaginationAlign;
}
export interface ListProps<T> {
    className?: string;
    bordered?: boolean;
    style?: React.CSSProperties;
    children?: React.ReactNode;
    dataSource?: T[];
    rowKey?: ((item: T) => React.Key) | keyof T;
    renderItem?: (item: T, index: number) => React.ReactNode;
    size?: ListSize;
    id?: string;
    header?: React.ReactNode;
    footer?: React.ReactNode;
    pagination?: ListPaginationProps | false;
}
declare function List<T>({ className, bordered, children, dataSource, rowKey, renderItem, header, footer, size, pagination, ...rest }: ListProps<T>): JSX.Element;
declare namespace List {
    var Item: import("./Item").ListItemTypeProps;
}
export default List;
