import type { EvalProviderRegistry } from "./registry.js"; /** * Dynamically import an eval-provider plugin package and register it. * * The package must export a `registerEvalProviders(registry)` function that * calls `registry.register()` with a single EvalProvider instance. * Only one eval-provider plugin may be active at a time. * * @param specifier - npm package name or local file path * @param registry - the EvalProviderRegistry 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 loadEvalProviderPlugin(specifier: string, registry: EvalProviderRegistry, options?: { cwd?: string; }): Promise; //# sourceMappingURL=discovery.d.ts.map