type RuleItem = {
    name: string;
    size: number;
};
interface UploadImageProps {
    url: string;
    uploadRequest?: (data: any) => Promise<any>;
    imgUrlRequest?: (data: any) => Promise<any>;
    title?: string;
    width?: number;
    height?: number;
    itemStyle?: {};
    maxCount?: number;
    closeEvent?: Function;
    uploadRules?: RuleItem[];
    previewImg?: boolean;
    module?: "account" | "admin";
}
interface UploadResultItem {
    file?: File;
    id: string;
    domuuid: string;
    groupId: number;
    type: number;
    name: string;
    fileName: string;
    size: number;
    extraName: string;
    deleteFlag: boolean;
    url: string;
    module: "account" | "admin" | "";
}
export type { UploadImageProps, UploadResultItem, RuleItem };
