export default _sfc_main;
declare namespace _sfc_main {
    namespace props {
        namespace fileInfo {
            export const type: ObjectConstructor;
            function _default(): {
                resourceId: string;
                resourceTitle: string;
                resourceType: string;
                resourceTypeName: string;
                resourceNodeCode: string;
                resourceNodeName: string;
                fileClassCode: string;
                fileClassName: string;
                deptCode: string;
                orgCode: string;
                userCode: string;
                appCode: string;
                companyCode: string;
            };
            export { _default as default };
        }
    }
    const emits: string[];
    function setup(__props: any, { expose: __expose, emit: __emit }: {
        expose: any;
        emit: any;
    }): {
        props: any;
        emit: any;
        CHUNK_SIZE: number;
        MAX_CONCURRENT: number;
        file: import("vue").Ref<null, null>;
        fileName: import("vue").Ref<null, null>;
        progressPercent: import("vue").Ref<number, number>;
        progressVisible: import("vue").Ref<boolean, boolean>;
        uploadStatus: import("vue").Ref<string, string>;
        progressText: import("vue").Ref<string, string>;
        calculateHash: (file: any) => Promise<any>;
        handleFileChange: (uploadFile: any) => void;
        handleUpload: () => Promise<void>;
        createChunks: (file: any, fileHash: any, uploadedChunks?: any[]) => {
            chunk: any;
            index: number;
            hash: string;
        }[];
        uploadChunks: (chunks: any, uploadedChunks: any) => Promise<void>;
        resetProgress: () => void;
        ref: typeof ref;
        readonly axios: import("axios").AxiosStatic;
        readonly ElMessage: import("element-plus/es/utils").SFCInstallWithContext<import("element-plus").Message>;
        readonly Chunckupload: typeof Chunckupload;
        readonly viewUpload: typeof viewUpload;
        readonly mergeFile: typeof mergeFile;
        readonly getSignature: typeof getSignature;
        readonly downloadFile: typeof downloadFile;
        readonly SparkMD5: any;
    };
}
import { ref } from "@vue/runtime-core";
import { Chunckupload } from "../api/index";
import { viewUpload } from "../api/index";
import { mergeFile } from "../api/index";
import { getSignature } from "../api/index";
import { downloadFile } from "../api/index";
