import React from 'react';
import { ButtonProps } from 'antd/lib/button';
import { NsNoticeProps } from '../compose-manage/notice-section';
import { Request } from '../interface';
export interface BatchProps {
    mainText?: React.ReactNode;
    descText?: React.ReactNode;
    buttonText: string;
    buttonProps?: ButtonProps;
    isUpload?: boolean;
    needSelectCampus?: boolean;
    request: Request & {
        method?: 'POST' | 'PUT' | 'PATCH' | 'post' | 'put' | 'patch';
    };
}
export interface PropTypes {
    /** 警告、提示 属性 */
    alertProps?: NsNoticeProps;
    recordsRequest?: Request;
    downloadProps: BatchProps;
    uploadProps: BatchProps;
    onUploadSuccess?: () => void;
}
