UNPKG

askexperts

Version:

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

24 lines (23 loc) 754 B
import { Command } from "commander"; import { DocstoreCommandOptions } from "../index.js"; /** * Options for the nostr import command */ interface NostrImportOptions extends DocstoreCommandOptions { kinds?: string; relays?: string; limit?: number; debug?: boolean; } /** * Import Nostr events into a docstore * @param author - Nostr pubkey to import events from * @param options - Command options */ export declare function importNostr(author: string, options: NostrImportOptions): Promise<void>; /** * Register the nostr import command * @param importCommand - The parent import command */ export declare function registerNostrImportCommand(importCommand: Command, addCommonOptions: (cmd: Command) => Command): void; export {};