import type { JsonObject } from '../../hub/types/json.js';
import { type TextMarkupNormalizeOptions } from '../../shared/text-markup-normalizer.js';
export interface HarvestToolCallsFromTextConfig {
    normalizer?: TextMarkupNormalizeOptions;
}
/**
 * Harvest tool calls from assistant textual markup into OpenAI `tool_calls`.
 *
 * Some upstreams (including certain iFlow/hosted models) emit tool calls as plain text tokens
 * (e.g. `<|tool_call_begin|> ...`) instead of structured `tool_calls`.
 *
 * This action is response-only and provider-scoped via compatibility profiles.
 */
export declare function harvestToolCallsFromText(payload: JsonObject): JsonObject;
export declare function harvestToolCallsFromTextWithConfig(payload: JsonObject, config?: HarvestToolCallsFromTextConfig): JsonObject;
