getAnnotations({ intent = "display" } = {}) {
    const { renderingIntent } = this._transport.getRenderingIntent(intent);

    return this._transport.getAnnotations(this._pageIndex, renderingIntent);
  }
@param {GetAnnotationsParameters} [params] - Annotation parameters.
@returns {Promise<Array<any>>} A promise that is resolved with an
  {Array} of the annotation objects.