import { UploadProps as AntUploadProps } from 'antd'; import { ReactNode } from 'react'; type UploadedChildrenOption = { isLoading?: boolean; error?: Error | null; }; interface UploadProps extends Omit { children: ReactNode | ((options: UploadedChildrenOption) => ReactNode); onChange?(filePath: string): void; onError?(error: Error): void; mutateFile: (file: string) => void; isLoading?: boolean; error?: Error | null; } export declare const Upload: ({ children, onChange, onError, mutateFile, isLoading, error, ...props }: UploadProps) => import("react/jsx-runtime").JSX.Element; export {};