/** * ContextCollapser — Zero-dependency extraction summarizer for technical logs & history. * * Replaces: Ollama for summarize_long_text and compress_context. * Algorithm: Query-Focused TF-IDF Centroid sentence extraction + Jaccard dedup. * Latency: <15ms for 100k characters. */ export interface CollapseOptions { maxLength?: number; query?: string; ratio?: number; } /** * Split text into logical blocks (sentences or log chunks). */ export declare function splitIntoSentences(text: string): string[]; /** * Summarize long text locally by selecting the most semantically dense sentences. */ export declare function collapseContext(text: string, options?: CollapseOptions): string; //# sourceMappingURL=ContextCollapser.d.ts.map