///
import { Wecom, WecomConfig } from "../../wecom";
import { IMediaRet, IMediaType } from "./interface";
import { AxiosResponse } from "axios";
import { ReadStream } from "fs";
/**
* @description 企业微信素材管理
* @export
* @class Media
* @extends {Wecom}
*/
export declare class Media extends Wecom {
constructor(config: Partial);
/**
* @description 上传文件到企业微信
* @template T
* @template R
* @param {(Buffer | ReadStream)} file
* @param {IMediaType} [type="file"]
* @return {*} {Promise}
* @memberof Media
*/
upload(file: Buffer | ReadStream, type?: IMediaType): Promise>;
}