/**
 * Builds and transforms body parameters by parsing JSON strings if valid.
 * @param params - Optional record of key-value pairs where values can be of any type
 * @returns A new record with the same keys but JSON strings parsed into objects
 *
 * @example
 * ```typescript
 * // With JSON string value
 * buildBodyParams({ data: '{"foo": "bar"}' })
 * // Returns: { data: { foo: "bar" } }
 *
 * // With non-JSON value
 * buildBodyParams({ data: "plain string" })
 * // Returns: { data: "plain string" }
 * ```
 */
export declare const buildBodyParams: (params?: Record<string, unknown>) => Record<string, unknown>;
