import { PDFName, PDFNumber } from '../core'; export declare const asPDFName: (name: string | PDFName) => PDFName; export declare const asPDFNumber: (num: number | PDFNumber) => PDFNumber; export declare const asNumber: (num: number | PDFNumber) => number; export declare enum PDFClasses { PDFDict = "PDFDict", PDFObject = "PDFObject", PDFNumber = "PDFNumber", PDFName = "PDFName", PDFStream = "PDFStream", PDFWriter = "PDFWriter", PDFStreamWriter = "PDFStreamWriter", PDFString = "PDFString", PDFHexString = "PDFHexString", PDFDocument = "PDFDocument", PDFPageLeaf = "PDFPageLeaf", StandardFontEmbedder = "StandardFontEmbedder", PDFArray = "PDFArray", PDFButton = "PDFButton", PDFCheckBox = "PDFCheckBox", PDFDropdown = "PDFDropdown", PDFOptionList = "PDFOptionList", PDFRadioGroup = "PDFRadioGroup", PDFSignature = "PDFSignature", PDFTextField = "PDFTextField", PDFField = "PDFField", PDFRef = "PDFRef", PDFAcroForm = "PDFAcroForm", PDFAcroField = "PDFAcroField", PDFAcroNonTerminal = "PDFAcroNonTerminal", PDFAcroPushButton = "PDFAcroPushButton", PDFAcroCheckBox = "PDFAcroCheckBox", PDFAcroComboBox = "PDFAcroComboBox", PDFAcroListBox = "PDFAcroListBox", PDFAcroText = "PDFAcroText", PDFAcroRadioButton = "PDFAcroRadioButton", PDFAcroSignature = "PDFAcroSignature", AESBaseCipher = "AESBaseCipher", PDFBool = "PDFBool", PDFRawStream = "PDFRawStream", PDFContentStream = "PDFContentStream", Segment = "Segment", Rectangle = "Rectangle", Arc = "Arc", Circle = "Circle", Ellipse = "Ellipse", Line = "Line", Plot = "Plot", Point = "Point", PDFPageTree = "PDFPageTree", PDFInvalidObject = "PDFInvalidObject", PDFCatalog = "PDFCatalog", DefaultDocumentSnapshot = "DefaultDocumentSnapshot", PDFObjectStream = "PDFObjectStream", IncrementalDocumentSnapshot = "IncrementalDocumentSnapshot", PDFNull = "PDFNull" } /** * Replaces instanceof operator by a "secure function" that uses clases internal identification. * This allows complex environments, where objects comes from different library instances, to work as expected. * @param {any} object Object to which compare the classname. * @param {PDFClasses | typeof PDFClass} className Class name object is expected to be an instanca (or subclass instance) * @returns {boolean} */ export declare const isPDFInstance: (object: any, className: PDFClasses) => boolean; //# sourceMappingURL=objects.d.ts.map