The prebuilt files include `web/pdf_viewer.js` with some viewer APIs. Those are missing from type declarations.
!disableSourceMaps;
  const skipBabel = bundleDefines.SKIP_BABEL;
  
  
  
  
  const babelExcludes = [
    "node_modules[\\\\\\/]core-js",
    "node_modules[\\\\\\/]web-streams-polyfill",
  ];
  if (enableSourceMaps) {
    babelExcludes.push("src[\\\\\\/]core[\\\\\\/](glyphlist|unicode)");
  }
  const babelExcludeRegExp = new RegExp(`(${babelExcludes.join("|")})`);
  
  
  
  const babelPlugins = [
    "@babel/plugin-transform-modules-commonjs",
    [
      "@babel/plugin-transform-runtime",
      {
        helpers: false,
        regenerator: true,
      },
    ],
  ];
  if (!bundleDefines.MOZCENTRAL && !bundleDefines.TESTING) {
    babelPlugins.push("@babel/plugin-proposal-logical-assignment-operators");
  }