import type { Topic } from '../types/topics.js'; import type { KnowledgeQuery, KnowledgeMatch, LoadedEntry, KnowledgeCategory } from './types.js'; import type { KnowledgeSnippet } from './schemas.js'; /** * Find matching knowledge entries for a query using functional composition. */ export declare const findKnowledgeMatches: (entries: LoadedEntry[], query: KnowledgeQuery) => KnowledgeMatch[]; /** * Options for knowledge snippet retrieval. */ export interface KnowledgeSnippetOptions { environment: string; tool: string; language?: string; languageVersion?: string; framework?: string; category?: KnowledgeCategory; maxChars?: number; maxSnippets?: number; detectedDependencies?: string[]; } /** * Get weighted knowledge snippets for selective injection. * * @param topic - Topic to search for * @param options - Options for snippet selection * @returns Promise resolving to weighted snippets */ export declare function getKnowledgeSnippets(topic: Topic, options: KnowledgeSnippetOptions): Promise; //# sourceMappingURL=matcher.d.ts.map