import type { ChatMessage } from '../../../core/llm/types.js';
import type { SanitizeAgentHistoryArgs } from './types.js';
/**
 * Owns history cleanup before a low-level agent run enters the model loop.
 *
 * It removes orphaned tool messages and trims interrupted assistant tool calls
 * so reused histories remain valid model input.
 */
export declare class AgentHistorySanitizer {
    static sanitize(args: SanitizeAgentHistoryArgs): ChatMessage[];
    private static indexToolCallIds;
    private static sanitizeMessage;
    private static sanitizeAssistantWithToolCalls;
}
//# sourceMappingURL=history-sanitizer.d.ts.map