/**
 * 统一平台对接接口
 * @date 2021-01-07 08:08:08
 * @author 周勇强
 */
export declare class TyApi {
    private appId;
    private appSecret;
    private url;
    private version;
    private axios;
    /**
     * 初始化统一平台参数
     */
    constructor(appId: string, appSecret: string, url: string, version: string);
    /**
     * 统一平台接口调用入口
     * @param uri           请求地址uri（除ip和端口）例：/api/wec/GetCarCardList
     * @param serviceCode   例：getCarCardList
     * @param params        请求参数(appId、key、serviceCode、ts、reqId不用传)
     */
    call(uri: string, serviceCode: string, params: any): Promise<TyptApiOpResult>;
    /**
     * 对数据进行签名
     */
    private sign;
    /**
     * md5加密并转大写
     */
    private md5;
    /**
     * http请求统一平台，设置headers
     */
    private postJson;
}
export declare class TyptApiOpResult {
    code: number;
    message: string;
    msg: string;
    data: any;
    success(): boolean;
    static opSuccess(message: any, data?: any): TyptApiOpResult;
    static opError(message: string): TyptApiOpResult;
}
