import { HttpCallClient, Options, RequestOptions } from './http'; export interface Resp { code: number; data: T; message?: any; status?: number; } export interface RpcData { method: string; data: T; } export declare const registryService: (validMethods: string[]) => (ctx: any) => Promise; export declare class RpcCallClient extends HttpCallClient { private rpcOpts; constructor(opts: Options); request(c: any, method: string, data: U, opts?: RequestOptions): Promise; }