/**
 * 华为云对象存储服务obs
 * @date 2022-08-09 11:55:58
 * @author 黄家维
 */
/// <reference types="node" />
import { Stream } from "stream";
import { ListQuery, ListResponse, OssService } from "./OssService";
/**
 * 华为obs客户端实例
 *
 * @see [huawei-obs](https://support.huaweicloud.com/api-obs_nodejs_sdk_api_zh/obs_39_0101.html)
 */
export declare let obsClient: any;
/**
 * 华为obs响应
 */
export declare class HuaWeiObsResponse {
    /**
     * 判断华为接口响应是否为成功
     */
    static statusIsSuccess(status: number): boolean;
    CommonMsg: {
        Status: number;
        Code: string;
        Message: string;
        HostId: string;
        RequestId: string;
        InterfaceResult: any;
        Id2: string;
    };
    InterfaceResult: {
        ContentLength: string;
        Date: string;
        Reserved: undefined;
        RequestId: string;
        Id2: string;
        ETag: string;
        Contents: any;
    };
}
/**
 * 华为obs服务
 *
 * @see {@link OssService}
 */
export declare class HuaWeiObsService implements OssService {
    /** @inheritdoc */
    getRootPath(): any;
    /** @inheritdoc */
    put(file: string | Buffer | Stream, name: string): Promise<string>;
    /** @inheritdoc */
    list(query?: ListQuery): Promise<ListResponse>;
    /** @inheritdoc */
    delete(name: string): Promise<any>;
}
