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;
};
/**
 * Parses XML tool calls from content (used for non-tool-calling models).
 * Only runs on the XML fallback path when native tool calling is disabled.
 * Type-preserving: Accepts unknown type, converts to string for processing.
 */
export declare function parseToolCalls(content: unknown): ParseResult;
export {};
//# sourceMappingURL=tool-parser.d.ts.map