UNPKG

askexperts

Version:

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

28 lines (27 loc) 787 B
import { Command } from "commander"; import { ExpertCommandOptions } from "./index.js"; /** * Options for the update expert command */ interface UpdateExpertCommandOptions extends ExpertCommandOptions { wallet?: string; env?: string[]; docstores?: string[]; type?: string; nickname?: string; debug?: boolean; } /** * Update an existing expert in the database * * @param pubkey Public key of the expert to update * @param options Command options */ export declare function updateExpert(pubkey: string, options: UpdateExpertCommandOptions): Promise<void>; /** * Register the update expert command with the CLI * * @param program The commander program or parent command */ export declare function registerUpdateCommand(program: Command): void; export {};