xud
Version:
Exchange Union Daemon
15 lines (14 loc) • 655 B
TypeScript
import grpc from 'grpc';
import { Arguments } from 'yargs';
import { XudClient, XudInitClient } from '../proto/xudrpc_grpc_pb';
/**
* A generic function to instantiate an XU client.
* @param argv the command line arguments
*/
export declare const loadXudClient: (argv: Arguments<any>) => Promise<XudClient>;
export declare const loadXudInitClient: (argv: Arguments<any>) => Promise<XudInitClient>;
interface GrpcResponse {
toObject: Function;
}
export declare const callback: (argv: Arguments, formatOutput?: Function | undefined, displayJson?: Function | undefined) => (error: grpc.ServiceError | null, response: GrpcResponse) => void;
export {};