getViewerPreferences() {
    return this._transport.getViewerPreferences();
  }
@returns {Promise<Object | null>} A promise that is resolved with an
  {Object} containing the viewer preferences, or `null` when no viewer
  preferences are present in the PDF file.