import { RcFile } from 'antd/es/upload';
export declare const filetypes: Record<string, any>;
/**
 * @Title: 获取 阿里云 Signature
 * @Describe:
 * @Author: Wzw
 */
export declare const getPolicy: () => Promise<any>;
export declare const getPolicyFile: () => Promise<any>;
/**
 * @Title: 获取图片尺寸
 * @Describe:
 * @Author: Wzw
 * @param {*} async
 */
export declare const getImageWidth: (file: any) => Promise<{
    width: number;
    height: number;
}>;
/**
 * @Title: 重新生成文件名
 * @Describe:
 * @Author: Wzw
 * @param {string} file
 */
export declare const formatFileName: (file?: any) => Promise<string>;
export declare const uploadFileAli: (file: any) => Promise<any>;
/**
 * @Title: base64转file
 * @Describe:
 * @Author: Wzw
 * @param {any} dataurl
 * @param {string} filename
 */
export declare const dataURLtoFile: (dataurl: any, filename: string) => File;
/**
 * @Title: 获取视频封面
 * @Describe:
 * @Author: Wzw
 * @param {any} file
 */
export declare const getVideoCover: (file: any) => Promise<unknown>;
/**
 * @Title: 获取腾讯云 Signature
 * @Describe:
 * @Author: Wzw
 */
export declare const getSignature: () => Promise<any>;
/**
 * @Title: 上传到腾讯云
 * @Describe:
 * @Author: Wzw
 * @param {any} file
 */
export declare const uploadFileTencent: (file: any) => Promise<unknown>;
export declare const uploadFile: (file: RcFile) => Promise<any>;
