import type { ICosMeta } from './types';
/**
 * COS上传
 * @param {object} config 配置信息
 * @param {Array<object>} config.files 文件列表
 * @param {string} config.files.key 文件key
 * @param {string} config.files.path 文件路径
 * @param {string} config.secretId COS secretId
 * @param {string} config.secretKey COS secretKey
 * @param {string} config.bucket COS bucket
 * @param {string} config.region COS region
 * @returns {Promise<object>} 请求Promise
 *
 * @example
 *
 * uploadCOSFile({
 *   files: [{
 *     key: 'key1',
 *     path: 'path1',
 *   }, {
 *     key: 'key2',
 *     path: 'path2',
 *   }],
 *   secretId: 'xxx',
 *   secretKey: 'xxx',
 *   bucket: 'xxx',
 *   region: 'xxx',
 * })
 */
export declare function uploadCOSFile({ files, secretId, secretKey, bucket, region, }: {
    files: Array<{
        key: string;
        path: string;
    }>;
    secretId: string;
    secretKey: string;
    bucket: string;
    region: string;
}): Promise<unknown>;
export declare function getCOSBucketList({ secretId, secretKey, bucket, region, prefix, }: {
    secretId: string;
    secretKey: string;
    bucket: string;
    region: string;
    prefix: string;
}): Promise<Array<ICosMeta>>;
export declare function deleteCOSMultipleObject({ secretId, secretKey, keys, bucket, region, }: {
    secretId: string;
    secretKey: string;
    bucket: string;
    region: string;
    keys: Array<string>;
}): Promise<unknown>;
