import { Client, ClientContext } from '@hprose/rpc-core';
declare class HproseClient {
    private hproseURL?;
    client?: Client;
    private hproseProxy;
    private static httpTransport?;
    constructor(url?: string);
    private init;
    /**
     * 获取HproseProxy
     */
    getProxy(): Promise<any>;
    invoke(methodName: string, args?: any[], context?: ClientContext): Promise<any>;
    /**
     * 解码和编码
     */
    encode(name: string, args: any[], context: ClientContext): Uint8Array | undefined;
    decode(response: Uint8Array, context: ClientContext): any;
}
export default HproseClient;
