import type { BasicLogger } from "@cline/shared"; import type { CoreCompactionContext, CoreCompactionResult } from "../../types/config"; import { type EstimateMessageTokens } from "./compaction-shared"; /** * Fold the conversation history without a summarizer model. Typed user * prompts always survive. The latest typed turn keeps its newest messages * verbatim within the token target, dropping only the oldest ones (the * kept suffix starts at an assistant message so no tool pair is split). * Older turns keep their concluding assistant answer when it fits, newest * turns first. Everything else is dropped and re-surfaced as dropped-work * summaries attached to the surviving prompts. */ export declare function runBasicCompaction(options: { context: CoreCompactionContext; estimateMessageTokens: EstimateMessageTokens; logger?: BasicLogger; }): CoreCompactionResult | undefined;