askexperts
Version:
AskExperts SDK: build and use AI experts - ask them questions and pay with bitcoin on an open protocol
24 lines (23 loc) • 690 B
TypeScript
import { Command } from "commander";
import { ExpertCommandOptions } from "./index.js";
/**
* Options for the delete expert command
*/
interface DeleteExpertCommandOptions extends ExpertCommandOptions {
yes?: boolean;
debug?: boolean;
}
/**
* Delete an expert from the database
*
* @param pubkey Public key of the expert to delete
* @param options Command options
*/
export declare function deleteExpert(pubkey: string, options: DeleteExpertCommandOptions): Promise<void>;
/**
* Register the delete expert command with the CLI
*
* @param program The commander program or parent command
*/
export declare function registerDeleteCommand(program: Command): void;
export {};