import { PluginConfig } from "../config"; import { Logger } from "../logger"; import type { SessionState, WithParts } from "../state"; /** * Aggressive pruning strategy - automatically prunes tool calls based on * token thresholds and tool value. * * Two-tier approach: * 1. At warnThreshold: prune error/low-value tools first * 2. At criticalThreshold: prune oldest tools regardless of type * * Both tiers target warnThreshold as the goal, providing a 40k buffer. * Sets aggressivePruneExhausted flag if still above criticalThreshold after pruning. */ export declare const aggressivePrune: (state: SessionState, logger: Logger, config: PluginConfig, messages: WithParts[]) => void; //# sourceMappingURL=aggressive-prune.d.ts.map