import React from "react";
import { UploadFile, UploadProps } from "antd";
import { SxProps } from "@mui/system";
import { WxFilePreviewProps } from "./components/FilePreview";
import { UploadChangeParam } from "antd/es/upload";
export interface WxUploaderProps extends Omit<UploadProps, "onChange" | "fileList" | "listType">, Pick<WxFilePreviewProps, "filePreview"> {
    uploadIcon?: React.ReactNode;
    value?: UploadFile<any>[];
    sx?: SxProps;
    onChange?: (list: (UploadFile | string)[], info: UploadChangeParam<UploadFile<any>> | undefined) => void;
    beformOnChange?: (fileList: (UploadFile<any> | string)[], info: UploadChangeParam<UploadFile<any>> | undefined) => any[];
}
declare const WxUploader: React.ForwardRefExoticComponent<WxUploaderProps & React.RefAttributes<unknown>>;
export default WxUploader;
