/** * Forgen — Compound Knowledge Extractor (facade) * * Orchestrates extraction pipeline: git analysis → quality gates → * pattern extraction → persistence. Re-exports from decomposed modules. * * Module layout (post-decomposition): * extraction-git.ts — getNewCommits, getCommitMessages, getGitDiff, getDiffStats * extraction-gates.ts — gate0-gate3, gateTrivial, evaluateExtractedSolution, ExtractedSolution * extraction-diff.ts — extractFromDiff, findCommonPrefix * extraction-session.ts — extractFromSessionContext, loadClaudeProjectSessionContext * extraction-persistence.ts — saveExtractedSolution, updateReExtractedCounter, LastExtraction */ import type { ExtractedSolution } from './extraction-gates.js'; export { loadClaudeProjectSessionContext } from './extraction-session.js'; export type { ExtractedSolution } from './extraction-gates.js'; export declare function previewExtraction(cwd: string): Promise<{ preview: ExtractedSolution[]; skipped: string[]; reason?: string; }>; export declare function runExtraction(cwd: string, sessionId: string): Promise<{ extracted: string[]; skipped: string[]; reason?: string; }>; /** Process LLM extraction results (called after LLM returns) */ export declare function processExtractionResults(rawJson: string, sessionId: string): { saved: string[]; skipped: string[]; }; /** Check if extraction is paused */ export declare function isExtractionPaused(): boolean; /** Pause auto-extraction */ export declare function pauseExtraction(): void; /** Resume auto-extraction */ export declare function resumeExtraction(): void;