import { Command } from 'commander'; import { type ApiFactory } from './config.js'; /** * CLI tool for the did:btcr2 method. */ export declare class DidBtcr2Cli { readonly program: Command; /** * Initializes the CLI with an optional API factory. * * The factory is called lazily by each command with the appropriate * network derived from the DID being operated on. Defaults to * {@link defaultApiFactory} which uses public endpoints (mempool.space) * for known networks and localhost Polar for regtest. * * @param factory - Optional API factory for keystore-free commands (create, * resolve). Defaults to {@link defaultApiFactory}. * @param keystoreFactory - Optional keystore-aware API factory for commands * that need a signing identity (key, update, deactivate). Defaults to * {@link keystoreApiFactory}. */ constructor(factory?: ApiFactory, keystoreFactory?: ApiFactory); /** * Runs the CLI with the provided argv or process.argv. * @param {string[]} [argv] - Optional array of command-line arguments. * @returns {Promise} - Resolves when execution is complete. */ run(argv?: string[]): Promise; } //# sourceMappingURL=cli.d.ts.map