import type { ToolCall } from '../types/index.js';
/**
 * Internal JSON tool call parser
 * Note: This is now an internal utility. Use tool-parser.ts for public API.
 */
/**
 * Detects malformed JSON tool call attempts and returns error details
 * Returns null if no malformed tool calls detected
 */
export declare function detectMalformedJSONToolCall(content: string): {
    error: string;
    examples: string;
} | null;
/**
 * Parses JSON-formatted tool calls from content
 * This is an internal function - use tool-parser.ts for public API
 */
export declare function parseJSONToolCalls(content: string): ToolCall[];
/**
 * Cleans content by removing tool call JSON blocks
 * This is an internal function - use tool-parser.ts for public API
 */
export declare function cleanJSONToolCalls(content: string, toolCalls: ToolCall[]): string;
//# sourceMappingURL=json-parser.d.ts.map