import type { ToolCall } from '../types/index.js';
/**
 * Result of parsing tool calls from content
 */
type ParseResult = {
    success: true;
    toolCalls: ToolCall[];
    cleanedContent: string;
} | {
    success: false;
    error: string;
    examples: string;
};
/**
 * Unified tool call parser that tries XML first, then falls back to JSON
 * Returns errors for malformed tool calls instead of silently failing
 */
export declare function parseToolCalls(content: string): ParseResult;
export {};
//# sourceMappingURL=tool-parser.d.ts.map