/**
 * Utility to serialize object/array values to JSON strings for backend payloads.
 * Used only at submit time so form state can keep rich values (Date, objects, arrays)
 * while the API receives JSON strings where required.
 */
/**
 * Serializes object/array fields in a record to JSON strings for submit.
 * @param data - Form payload (after formatOutputData)
 * @param stringifyJsonFields - If `true`, stringify all values that are plain objects or arrays.
 *   If `string[]`, stringify only those field names (values are stringified only if they are object/array).
 * @returns New record with stringified values where applicable
 */
export declare function stringifyJsonFieldsForSubmit(data: Record<string, unknown>, stringifyJsonFields: true | string[]): Record<string, unknown>;
//# sourceMappingURL=stringifyJsonFieldsForSubmit.d.ts.map