askexperts
Version:
AskExperts SDK: build and use AI experts - ask them questions and pay with bitcoin on an open protocol
20 lines (19 loc) • 679 B
TypeScript
import { Command } from "commander";
import { StreamCommandOptions } from "./index.js";
/**
* Execute the stream receive command
*
* @param options Command line options
*/
interface StreamReceiveCommandOptions extends StreamCommandOptions {
receiverPrivkey?: string;
}
export declare function executeStreamReceiveCommand(options: StreamReceiveCommandOptions): Promise<void>;
/**
* Register the receive command
*
* @param streamCommand The parent stream command
* @param addCommonOptions Function to add common options to command
*/
export declare function registerReceiveCommand(streamCommand: Command, addCommonOptions: (cmd: Command) => Command): void;
export {};