import type { Decision, Lesson, Spec, ScoredDecision, ScoredSpec, ExtractedLesson, KnowledgeGap, KnowledgeSummary } from '../types/index.js';
/** Search decisions by relevance to a query string. */
export declare function searchDecisions(decisions: Decision[], query: string, limit?: number): ScoredDecision[];
/** Find specs with similar keywords in title and description. */
export declare function findSimilarProblems(specs: Spec[], query: string, limit?: number): ScoredSpec[];
/** Extract lesson-like phrases from free-form text (retrospective, post-mortem). */
export declare function extractLessonsFromText(text: string): ExtractedLesson[];
/** Detect specs without decisions and lesson category gaps. */
export declare function detectKnowledgeGaps(specs: Spec[], decisions: Decision[], lessons: Lesson[]): KnowledgeGap[];
/** Snapshot of project knowledge. */
export declare function buildKnowledgeSummary(specs: Spec[], decisions: Decision[], lessons: Lesson[]): KnowledgeSummary;
//# sourceMappingURL=knowledge-base.d.ts.map