import { ExtractPropTypes, PropType } from 'vue'; import { UploadProgressEvent, UploadRawFile, UploadFiles } from './upload'; export declare const uploadContentProps: { readonly beforeUpload: { readonly type: PropType<(file: UploadRawFile) => Promise | boolean>; readonly default: () => void; }; readonly onStart: { readonly type: PropType<(rawFile: UploadRawFile) => void>; readonly default: () => void; }; readonly onProgress: { readonly type: PropType<(e: UploadProgressEvent, rawFile: UploadRawFile) => void>; readonly default: () => void; }; readonly onRemove: { readonly type: PropType<(rawFile: UploadRawFile) => void>; readonly default: () => void; }; readonly onError: { readonly type: PropType<(err: any, rawFile: UploadRawFile) => void>; readonly default: () => void; }; readonly onSuccess: { readonly type: PropType<(res: any, rawFile: UploadRawFile) => void>; readonly default: () => void; }; readonly FileList: { readonly type: PropType< UploadFiles>; readonly default: () => readonly []; }; readonly action: { readonly type: StringConstructor; readonly default: ""; }; readonly multiple: { readonly type: BooleanConstructor; readonly default: false; }; readonly name: { readonly type: StringConstructor; readonly default: "file"; }; readonly accept: { readonly type: StringConstructor; readonly default: ""; }; readonly method: { readonly type: StringConstructor; readonly default: "post"; }; readonly headers: { readonly type: ObjectConstructor; readonly default: () => {}; }; readonly data: { readonly type: ObjectConstructor; readonly default: () => {}; }; readonly drag: { readonly type: BooleanConstructor; readonly default: false; }; }; export type UploadContentProps = Partial>; export declare const uploadContentEmits: {}; export type UploadContentEmits = typeof uploadContentEmits; export interface RequestOptions { method: string; file: File; name: string; action: string; headers: Headers | Record; data: Record; onError: (e: any) => void; onSuccess: (response: any) => void; onProgress: (e: UploadProgressEvent) => void; }