UNPKG

pdf-lib

Version:

Library for creating and modifying PDF files in JavaScript

14 lines (13 loc) 619 B
import { PDFIndirectReference, PDFObject } from '../pdf-objects'; import PDFDictionary from '../pdf-objects/PDFDictionary'; import { PDFPageTree } from '../pdf-structures'; import PDFObjectIndex from '../pdf-document/PDFObjectIndex'; declare class PDFCatalog extends PDFDictionary { static create: (pageTree: PDFIndirectReference<PDFPageTree>, index: PDFObjectIndex) => PDFCatalog; static fromObject: (object: { [key: string]: PDFObject; }, index: PDFObjectIndex) => PDFCatalog; static fromDict: (dict: PDFDictionary) => PDFCatalog; readonly Pages: PDFPageTree; } export default PDFCatalog;