/** * Session context extraction for compound knowledge. * * Extracted from compound-extractor.ts — reads Claude session JSONL files * to extract prompts and write history correlated to a specific project. */ import type { ExtractedSolution } from './extraction-gates.js'; interface WriteContextEntry { filePath: string; contentSnippet: string; fileExtension: string; } export declare function loadPromptHistoryFallback(): string[]; /** * Load Claude session prompts + writes correlated to `cwd`. * * Exported primarily for test assertions (the `claude-session-context` * tests verify correlation logic directly). */ export declare function loadClaudeProjectSessionContext(cwd: string, lastExtractedAt: string): { prompts: string[]; writes: WriteContextEntry[]; }; /** Extract patterns from accumulated session context (prompts + writes + diff) */ export declare function extractFromSessionContext(gitDiff: string, cwd: string, lastExtractedAt: string): ExtractedSolution[]; export {};