/** * Conversation summarization for dynamic context creation * Phase 2: ML Intelligence Layer */ import type { ConversationMessage } from '../core/types/conversation.js'; import type { CodeRef } from '../core/types/ml.js'; export interface SummarizationOptions { maxLength?: number; temperature?: number; } /** * Conversation summarizer * Phase 2: Currently uses simple text extraction * Future: Integrate with local ML models (transformers.js, ONNX.js) */ export declare class ConversationSummarizer { /** * Summarize a conversation */ summarize(messages: ConversationMessage[], options?: SummarizationOptions): Promise; /** * Generate full context content from conversation */ generateContextContent(messages: ConversationMessage[], summary: string, codeRefs: CodeRef[]): Promise; /** * Extract key points from conversation (simple version) */ private extractKeyPoints; /** * Generate detailed summary */ private generateDetailedSummary; /** * Extract keywords from text (simple version) */ private extractKeywords; } //# sourceMappingURL=summarizer.d.ts.map