import type { DiscoveryEngine, IDiscoveryCandidate, IDiscoveryContext } from '../core/index.js'; export const commandDiscover = async ( discoveryEngineArg: DiscoveryEngine, contextArg: IDiscoveryContext = {} ): Promise => { return discoveryEngineArg.runActiveDiscovery(contextArg); };