/** * strategies/collapse.ts * * Collapse strategy, full context collapse into a single compacted summary * message. This is the most aggressive strategy, used when token pressure * exceeds 85% or when manually triggered. * * All messages are reduced to a structured handoff that preserves: * - The original task context (if known) * - Key decisions and outcomes * - The most recent user/assistant exchange */ import type { StrategyInput, StrategyOutput } from '../types.js'; /** * Applies the collapse strategy: reduces all messages to a single structured * handoff message that preserves the essential session context. * * @param input - Strategy input containing messages and context. * @returns Strategy output with a single collapsed message. */ export declare function runCollapse(input: StrategyInput): StrategyOutput; //# sourceMappingURL=collapse.d.ts.map