import { default as React } from 'react'; export interface UploadRefProps { update: () => Promise; clear: () => Promise; appendFiles?: (files: File[]) => void; } export type FileStatus = 'successed' | 'process' | 'failed' | ''; interface UploadFilesProps { appId: string; disabled?: boolean; onStatusChange: (status: FileStatus) => void; createSession: () => Promise; sid?: string; afterFileAdd?: (fileId: any, sid?: string) => void; afterFileDelete?: (fileId: any) => void; onFileListChange?: (files: any[]) => void; shouldContinue?: boolean; afterFilesClear?: () => void; docViewerUrl: string; isFirstSession?: boolean; } declare const UploadFiles: React.ForwardRefExoticComponent>; export default UploadFiles;