function createStringsModule(module, uiStringsDeclare, extraCode) {
  return `
// auto-generated by build/build-cdt-strings.js
/* eslint-disable */

import * as i18n from '../lib/i18n/i18n.js';

${uiStringsDeclare}

const str_ = i18n.createIcuMessageFn('node_modules/${module}', UIStrings);

${extraCode}`.trimStart();
}
@param {string} module
@param {string} uiStringsDeclare
@param {string} extraCode