Hello!

Let me know if i should have opened this issue on the [pdfjs-dist](https://github.com/mozilla/pdfjs-dist) repo but I though here would fit.

I'm using pdfjs-dist and I'm in need of some more types to be exported. I have no idea how the types end up in the dist-repo but would love to open a PR if only someone could point me in the right direction 😃 Since I was using an older version of pdfjs-dist I realize the only type I need that's not in the type defs in the latest release are _PageViewport_ from _[display/display_utils](https://github.com/mozilla/pdf.js/blob/master/src/display/display_utils.js#L153)_.
"331R",
        "332R",
        "333R",
        "334R",
        "335R",
      ]);
      await loadingTask.destroy();
    });
    it("gets non-existent outline", async function () {
      const loadingTask = getDocument(
        buildGetDocumentParams("tracemonkey.pdf")
      );
      const pdfDoc = await loadingTask.promise;
      const outline = await pdfDoc.getOutline();
      expect(outline).toEqual(null);
      await loadingTask.destroy();
    });
    it("gets outline", async function () {
      const outline = await pdfDocument.getOutline();
      
      expect(Array.isArray(outline)).toEqual(true);
      expect(outline.length).toEqual(2);
      
      const outlineItem = outline[1];
      expect(outlineItem.title).toEqual("Chapter 1");
      expect(Array.isArray(outlineItem.dest)).toEqual(true);
      expect(outlineItem.url).toEqual(null);
      expect(outlineItem.unsafeUrl).toBeUndefined();
      expect(outlineItem.newWindow).toBeUndefined();
      expect(outlineItem.bold).toEqual(true);