ol/renderer/vector was using the abstract ReplayGroup type while referencing replayGroup.addDeclutter(), which was only defined on the canvas and webgl implementations and was also defined differently.