UNPKG

askexperts

Version:

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

27 lines (26 loc) 654 B
import { Command } from "commander"; /** * Options for the invoice command */ interface InvoiceOptions { remote?: boolean; url?: string; wallet?: string; desc?: string; hash?: string; } /** * Execute the invoice command * * @param amount The amount in satoshis * @param options Command line options * @param dbPath Path to the database file */ export declare function executeInvoiceCommand(amount: string, options: InvoiceOptions): Promise<void>; /** * Register the invoice command with the CLI * * @param program The commander program */ export declare function registerInvoiceCommand(program: Command): void; export {};