export interface AdapterEndpointIssue { /** endpoint 名(缺 name 时为 #序号) */ endpoint: string; /** 缺少的必填字段 */ missing: string[]; } /** * 从插件 instanceKey 推导 npm 包名并读取其 schema.json。 * 适配器约定为 @zhin.js/adapter-,功能插件为 @zhin.js/plugin-; * key 本身含 scope(如 '@scope/pkg')时直接按包名处理。 * 直接走 node_modules 路径(pnpm 下为 symlink,existsSync 可穿透), * 不依赖包 exports 解析(多数插件包未导出 schema.json 子路径)。 */ export declare function loadPluginSchemaJson(cwd: string, instanceKey: string): Record | null; /** * 对照适配器 schema.json 的 endpoints.items.required 检查配置缺字段。 * endpoint 各项与插件顶层字段同构(顶层值被 endpoints[i] 继承/覆盖), * 因此合并顶层与 endpoint 后再判定必填项。 */ export declare function findMissingEndpointFields(schema: Record | null, pluginConf: Record): AdapterEndpointIssue[]; //# sourceMappingURL=adapter-endpoints-check.d.ts.map