import React, { Component } from "react"; import { ShowUploadListInterface, RcCustomRequestOptions } from "antd/lib/upload/interface"; import "../style.css"; export interface iProps { uploadSignURL?: string; maxFileNumber?: number; maxFileLength?: number; minFileLength?: number; label?: string; fileType?: string; filePatten?: string; fileList?: any[]; action?: string; multiple?: boolean; directory?: boolean; disabled?: boolean; showUploadList?: boolean | ShowUploadListInterface; onChange?: (files: any[]) => void; children?: React.ReactNode; } export default class PdfUpload extends Component { private uploadService; state: any; initFileList: (fileList?: any[]) => any[]; componentDidMount(): void; componentWillReceiveProps(newProps: any): void; transformFile: (file: any) => any; getExtraData: (file: any) => { key: string; dir: any; OSSAccessKeyId: any; policy: any; Signature: any; }; onChange: ({ fileList, file, event }: { fileList: any; file: any; event: any; }) => void; beforeUpload: (file: any) => any; customRequest: (options: RcCustomRequestOptions) => void; render(): JSX.Element; }