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
 * Type-preserving: Accepts unknown type, converts to string for processing
 */
export declare function parseToolCalls(content: unknown): ParseResult;
export {};
//# sourceMappingURL=tool-parser.d.ts.map