askexperts
Version:
AskExperts SDK: build and use AI experts - ask them questions and pay with bitcoin on an open protocol
23 lines (22 loc) • 549 B
TypeScript
import { Command } from "commander";
/**
* Options for the wallet server command
*/
interface ServerCommandOptions {
port: number;
host?: string;
origin?: string;
basePath?: string;
debug?: boolean;
}
/**
* Start a WalletServer
* @param options Command options
*/
export declare function startServer(options: ServerCommandOptions): Promise<void>;
/**
* Register the server command
* @param walletCommand The parent wallet command
*/
export declare function registerServerCommand(walletCommand: Command): void;
export {};