import type { RpcBase } from './RpcBase'; type TParamSerializer = Function; type TReturnDeserializer = string | string[] | Function; export declare class RpcFunction { private rpc; private methodInfo; constructor(rpc: RpcBase, methodInfo: { call: string; params?: TParamSerializer[]; output?: TReturnDeserializer; schemas?: any; }); caller(): (...params: any[]) => Promise; } export {};