canvasMaxAreaInBytes in DocumentInitParameters has type Boolean, preventing TypeScript users from passing the correct (numeric) value.
const intentArgs = this._transport.getRenderingIntent(intent);
    return this._transport.getAnnotations(
      this._pageIndex,
      intentArgs.renderingIntent
    );
  }
  /**
   * @returns {Promise<Object>} A promise that is resolved with an
   *   {Object} with JS actions.
   */
  getJSActions() {
    return this._transport.getPageJSActions(this._pageIndex);
  }
  /**
   * @type {boolean} True if only XFA form.
   */
  get isPureXfa() {