The prebuilt files include `web/pdf_viewer.js` with some viewer APIs. Those are missing from type declarations.
}
    const { stableVersion, betaVersion } = config;
    replaceInFile(
      GH_PAGES_DIR + "/getting_started/index.html",
      /STABLE_VERSION/g,
      stableVersion
    );
    replaceInFile(
      GH_PAGES_DIR + "/getting_started/index.html",
      /BETA_VERSION/g,
      betaVersion
    );
    
    const groupClass = betaVersion ? "btn-group-vertical centered" : "";
    const hiddenClass = betaVersion ? "" : "hidden";
    replaceInFile(
      GH_PAGES_DIR + "/getting_started/index.html",
      /GROUP_CLASS/g,
      groupClass
    );
    replaceInFile(
      GH_PAGES_DIR + "/getting_started/index.html",
      /HIDDEN_CLASS/g,
      hiddenClass
    );
    console.log("Done building with wintersmith.");
    done();
  });
});
function ghPagesGit(done) {