Skip to content
Snippets Groups Projects
pdfParser.d.ts 393 B
Newer Older
  • Learn to ignore specific revisions
  • Zdravko Iliev's avatar
    Zdravko Iliev committed
    /// <reference types="node" />
    import { IGetMetaResponse } from "./types";
    
    Zdravko Iliev's avatar
    Zdravko Iliev committed
    declare global {
        interface Window {
            PDFNet: any;
            CoreControls: any;
        }
    }
    
    Zdravko Iliev's avatar
    Zdravko Iliev committed
    declare class PDFparser {
        readonly document: any;
    
        constructor(document?: Buffer);
        initialize: (licenseKey: string) => Promise<void>;
    
    Zdravko Iliev's avatar
    Zdravko Iliev committed
        getPDFMeta: () => Promise<IGetMetaResponse>;
    }
    export default PDFparser;