import { PDFDocumentProxy } from 'pdfjs-dist/types/display/api'; import { PdfPage } from './PdfPage'; export declare class PdfDocument { private proxy; private scale?; readonly pages: PdfPage[]; constructor(proxy: PDFDocumentProxy, scale?: number); process(onProgress?: (event: ProgressEvent) => void): Promise; getPage(pageNumber: number): PdfPage; getOutline(): Promise<{ title: string; bold: boolean; italic: boolean; color: Uint8ClampedArray; dest: string | any[]; url: string; unsafeUrl: string; newWindow: boolean; count: number; items: any[]; }[]>; getData(): Promise; get fingerprint(): string; get numPages(): number; }