makeHelperTable = passStyleHelpers => {
  const HelperTable = {
    __proto__: null,
    copyArray: undefined,
    byteArray: undefined,
    copyRecord: undefined,
    tagged: undefined,
    error: undefined,
    remotable: undefined,
  };
  for (const helper of passStyleHelpers) {
    const { styleName } = helper;
    styleName in HelperTable || Fail`Unrecognized helper: ${q(styleName)}`;
    HelperTable[styleName] === undefined ||
      Fail`conflicting helpers for ${q(styleName)}`;
    HelperTable[styleName] = helper;
  }
  for (const styleName of ownKeys(HelperTable)) {
    HelperTable[styleName] !== undefined ||
      Fail`missing helper for ${q(styleName)}`;
  }

  return /** @type {HelpersRecord} */ (
    /** @type {unknown} */ (harden(HelperTable))
  );
}
@template {Record<PassStyle, PassStyleHelper>} HelpersRecord
@param {PassStyleHelper[]} passStyleHelpers
@returns {HelpersRecord}