/// <reference types="@vueuse/shared" />
import type { UseUploadFileOptions } from '../../base/useUploadFile';
import type { UploadRawFile } from 'element-plus';
/**
 * 文件上传Hook
 */
export declare const useUploadTaskStore: import("pinia").StoreDefinition<"uploadTaskS", Pick<{
    uploadResult: import("@vueuse/shared").EventHookOn<any>;
    uploadError: import("@vueuse/shared").EventHookOn<any>;
    uploadFileTask: (file: UploadRawFile, options?: UseUploadFileOptions) => Promise<unknown>;
    cancelUpload: (fileUid: number) => void;
    cancelAllUploads: () => void;
    isLoading: import("vue").Ref<boolean>;
}, "isLoading">, Pick<{
    uploadResult: import("@vueuse/shared").EventHookOn<any>;
    uploadError: import("@vueuse/shared").EventHookOn<any>;
    uploadFileTask: (file: UploadRawFile, options?: UseUploadFileOptions) => Promise<unknown>;
    cancelUpload: (fileUid: number) => void;
    cancelAllUploads: () => void;
    isLoading: import("vue").Ref<boolean>;
}, never>, Pick<{
    uploadResult: import("@vueuse/shared").EventHookOn<any>;
    uploadError: import("@vueuse/shared").EventHookOn<any>;
    uploadFileTask: (file: UploadRawFile, options?: UseUploadFileOptions) => Promise<unknown>;
    cancelUpload: (fileUid: number) => void;
    cancelAllUploads: () => void;
    isLoading: import("vue").Ref<boolean>;
}, "cancelUpload" | "cancelAllUploads" | "uploadResult" | "uploadError" | "uploadFileTask">>;
