import { Address } from "@dhealth/sdk"; import { Scope } from "../../common/models/Scope"; import { BaseCommand, BaseCommandOptions } from "../../worker/BaseCommand"; export interface DiscoveryCommandOptions extends BaseCommandOptions { source: string; } export declare abstract class DiscoveryCommand extends BaseCommand { protected scope: Scope; protected discoverySource: Address; abstract discover(options?: DiscoveryCommandOptions): Promise; protected abstract get command(): string; protected abstract get signature(): string; protected parseSource(sourceOption: string): Address; protected runWithOptions(options: DiscoveryCommandOptions): Promise; protected getNextSource(sources: string[]): Promise; }