getLayersArray(array) {
    return abstract();
  }
@abstract
@param {Array<import("./Layer.js").default>} [array] Array of layers (to be
    modified in place).
@return {Array<import("./Layer.js").default>} Array of layers.