/** * Context-collapse: read-time projection for worker injection (§4.3 L2). * * Does NOT modify disk files. Only changes how history is assembled: * - distance ≤ 1: full eval JSON * - distance 2–3: compact eval JSON * - distance ≥ 4: one-line summary */ import type { CompactEval } from './microcompact.js'; export type CollapsedEntry = { level: 'full'; stageId: string; data: unknown; } | { level: 'compact'; stageId: string; data: CompactEval; } | { level: 'summary'; stageId: string; line: string; }; /** * Collapse eval history based on distance from current cursor. */ export declare function collapseHistory(entries: Array<{ stageId: string; index: number; evalData: unknown; }>, currentCursor: number): CollapsedEntry[]; //# sourceMappingURL=context-collapse.d.ts.map