getPageIndex(ref) {
    return this._transport.getPageIndex(ref);
  }
@param {RefProxy} ref - The page reference.
@returns {Promise<number>} A promise that is resolved with the page index,
  starting from zero, that is associated with the reference.