Removes PresentationMode dependency from PDFViewer
Removes any usage of PDFView in the PageView
Moves constants to avoid dependency on PDFView
Adds types definitions (jsdoc) for the PDFViewer code.