UNPKG

askexperts

Version:

AskExperts SDK: build and use AI experts - ask them questions and pay with bitcoin on an open protocol

23 lines (22 loc) 550 B
import { Command } from "commander"; /** * Options for the expert server command */ interface ServerCommandOptions { port: number; host?: string; origin?: string; basePath?: string; debug?: boolean; } /** * Start an ExpertServer * @param options Command options */ export declare function startServer(options: ServerCommandOptions): Promise<void>; /** * Register the server command * @param expertCommand The parent expert command */ export declare function registerServerCommand(expertCommand: Command): void; export {};