import type { GraderRegistry } from "./registry.js"; /** * Dynamically import a grader plugin package and register it. * * The package must export a `register(registry)` function that * calls `registry.register()` with one or more Grader instances. * * @param specifier - npm package name or local file path * @param registry - the GraderRegistry 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 loadGraderPlugin(specifier: string, registry: GraderRegistry, options?: { cwd?: string; }): Promise; //# sourceMappingURL=discovery.d.ts.map