import { Content, GoogleGenAI } from '@google/genai'; /** * Coding-session-aware context compaction. * Summarizes the old portion of the conversation history while preserving * key artifacts: file paths touched, errors encountered, fixes applied, * and design decisions made. Mimics Claude Code's context sliding-window. */ export declare function compactHistory(ai: GoogleGenAI, history: Content[], model?: string, preserveCount?: number): Promise; //# sourceMappingURL=contextCompaction.d.ts.map