import type { PropType } from "vue"; import type { UploadProps } from "ant-design-vue"; import type { ExtendProps } from "../common/types"; export declare const nUploadProps: () => { readonly limit: { readonly type: PropType; readonly default: () => {}; }; readonly customRequest: { readonly type: PropType<((options: import("ant-design-vue/lib/vc-upload/interface").UploadRequestOption) => void) | undefined>; }; readonly storageKey: { type: StringConstructor; }; readonly disabledStorable: { type: BooleanConstructor; }; }; export declare type NUploadProps = ExtendProps, UploadProps>; /** * 上传文件限制. */ export interface NUploadLimit { /** * 当上传的文件类型是图片时, 限制图片的宽度. */ width?: number; /** * 当上传的文件类型是图片时, 限制图片的高度. */ height?: number; /** * 限制上传文件的大小. 单位: 字节. * * @example 1024 * 1024 * 10 表示 10MB. */ size?: number; } export declare const nUploadPictureCardProps: () => { fileList: { type: PropType[] | undefined>; }; }; export declare type NUploadPictureCardProps = ExtendProps, NUploadProps>;