/** * 推荐引擎 * @作者 li peng * @创建时间 2025-12-20 * @描述 根据需求智能推荐组件、API 和工具方法 */ import type { Recommendation, RecommendationType } from '../types/index.js'; /** * 推荐引擎类 */ export declare class RecommendationEngine { /** * 根据需求推荐解决方案 * @param requirement 需求描述 * @param type 需求类型(可选) * @returns 推荐结果列表 */ recommend(requirement: string, type?: RecommendationType): Recommendation[]; /** * 格式化推荐结果 * @param recommendations 推荐列表 * @returns 格式化的文本 */ formatRecommendations(recommendations: Recommendation[]): string; } export declare const recommendationEngine: RecommendationEngine; //# sourceMappingURL=index.d.ts.map