import type { ExecutorRegistry } from "./types.js"; /** * Dynamically import an executor plugin package and register it. * * The package must export a `register(registry)` function that * calls `registry.register()` with one or more Executor instances. * * @param specifier - npm package name or local file path * @param registry - the ExecutorRegistry to register into * @param options - optional settings * @param options.cwd - directory to resolve specifiers from (defaults to `process.cwd()`) * @throws if the import fails, the module lacks a register export, * or registration itself throws (e.g. duplicate name) */ export declare function loadExecutorPlugin(specifier: string, registry: ExecutorRegistry, options?: { cwd?: string; }): Promise; //# sourceMappingURL=discovery.d.ts.map