getLayerStatesArray(states) {
    return abstract();
  }
@abstract
@param {Array<import("./Layer.js").State>} [states] Optional list of layer
    states (to be modified in place).
@return {Array<import("./Layer.js").State>} List of layer states.