/// <reference types="react" />
import "./index.less";
export interface PaperBase {
    id: number;
    link: string;
    type: string;
    fileName: string;
    fileSize: string;
    packets?: Array<{
        id: number;
        name: string;
    }>;
}
interface PaperProps<T> {
    repo: string;
    dataSource: T[];
    loading: boolean;
    reload: () => void;
    onSelect?: (val: T) => void;
}
export default function Paper<T extends PaperBase>(props: PaperProps<T>): JSX.Element;
export {};
