UNPKG

askexperts

Version:

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

26 lines (25 loc) 607 B
import { Command } from "commander"; /** * Options for the pay command */ interface PayOptions { remote?: boolean; url?: string; wallet?: string; amount?: string; } /** * Execute the pay command * * @param invoice The invoice to pay * @param options Command line options * @param dbPath Path to the database file */ export declare function executePayCommand(invoice: string, options: PayOptions): Promise<void>; /** * Register the pay command with the CLI * * @param program The commander program */ export declare function registerPayCommand(program: Command): void; export {};