import { FC, PropsWithChildren } from 'react'; import { RcFile } from 'antd/lib/upload'; export interface ImportProps { title?: string; dataSource: string | { label: string; value: string; }[]; accept?: string; visible: boolean; tips?: string; selectPlaceholder?: string; onUpload: (file: RcFile, dataSourceId: string) => any; onClose: (props: any) => any; } declare const Import: FC>; export default Import;