import { type LoadedPluginInfo, type PluginLoadOptions, type PluginLoadResult, type PluginType } from "./plugin-loader-types.js"; /** 返回当前进程已通过注册契约校验的扩展,顺序不受 CLI 参数顺序影响。 */ export declare function getLoadedPlugins(): LoadedPluginInfo[]; /** @internal 仅供隔离测试进程级插件状态。 */ export declare function clearLoadedPlugins(): void; /** 加载第一个可用插件,并且每个逻辑插件最多输出一条诊断。 */ export declare function tryLoadPlugin(kind: string, name: string, candidates: string[], runtimeRequire: NodeJS.Require, options?: PluginLoadOptions): Promise; /** 加载插件后确认它提供了 CLI 名称所承诺的工厂与配置 Schema。 */ export declare function tryLoadRegisteredPlugin(type: PluginType, name: string, candidates: string[], runtimeRequire: NodeJS.Require, options?: PluginLoadOptions): Promise; /** 兼容布尔返回值的加载入口;失败时输出结构化结果中的唯一诊断。 */ export declare function loadPlugin(type: PluginType, name: string, candidates: string[], runtimeRequire: NodeJS.Require, warn?: (message: string) => void, options?: PluginLoadOptions): Promise; //# sourceMappingURL=plugin-registration.d.ts.map