import type { JsonObject } from '../../hub/types/json.js';
import type { AdapterContext } from '../../hub/types/chat-envelope.js';
/**
 * Legacy compatibility shim:
 * Some older LM Studio builds rejected the array form of `input` ("Invalid type for 'input'").
 * Convert canonical Responses input items into a single `input` string.
 *
 * ⚠️ Default is OFF (modern LM Studio accepts array input). Enable only if you hit that legacy error:
 * - `LLMSWITCH_LMSTUDIO_STRINGIFY_INPUT=1`
 * - or `ROUTECODEX_LMSTUDIO_STRINGIFY_INPUT=1`
 *
 * This is applied via compat profile `chat:lmstudio` and only when `providerProtocol === 'openai-responses'`.
 */
export declare function stringifyLmstudioResponsesInput(payload: JsonObject, adapterContext?: AdapterContext): JsonObject;
