import { UploadedFile } from './UploadedFile'; import './style.scss'; export type AppDropzoneBodyProps = { folder: string; onSuccess: (response: UploadedFile) => void; onError?: (err: any) => void; accept: Record; messages?: Partial>; onDrop?: () => void; /** Initial value for the keep-original-name checkbox (default false). */ keepName?: boolean; /** When false, the confirm button is hidden (e.g. when used inside modal with its own confirm) */ showConfirmButton?: boolean; /** When true, image preview is not rendered and filename message is shown instead */ disablePreview?: boolean; /** When true, confirm button is visible but disabled */ disableConfirm?: boolean; }; export type AppDropzoneBodyRef = { upload: () => Promise; }; declare const AppDropzoneBody: import("react").ForwardRefExoticComponent>; export default AppDropzoneBody;