// CHAPTER 10. Annotations /** Returns the annotations from a PDF in JSON format. @arg {pdf} pdf PDF document @return {Uint8Array} results as an array of bytes */ function annotationsJSON(pdf) {}