import type { ToolManager } from '../../../tools/tool-manager.js';
import type { ToolCall, ToolResult } from '../../../types/core.js';
/**
 * Filters out invalid tool calls and deduplicates by ID and function signature.
 * Returns valid tool calls and error results for invalid ones.
 *
 * Handles:
 * - Empty tool calls (missing id or function name)
 * - Tools that don't exist in the tool manager
 * - Duplicate tool call IDs (GPT-5 issue)
 * - Functionally identical tool calls (same tool + arguments)
 */
export declare const filterValidToolCalls: (toolCalls: ToolCall[], toolManager: ToolManager | null) => {
    validToolCalls: ToolCall[];
    errorResults: ToolResult[];
};
//# sourceMappingURL=tool-filters.d.ts.map