@pixdif/pdf-parser
Version:
13 lines (12 loc) • 488 B
TypeScript
import { Readable } from 'stream';
import { Page } from '@pixdif/parser';
import type { PDFDocumentProxy, PDFPageProxy } from '../util/pdfjs.js';
export default class PdfPage extends Page {
protected readonly document: PDFDocumentProxy;
protected readonly title: string;
protected readonly proxy: PDFPageProxy;
constructor(document: PDFDocumentProxy, title: string, proxy: PDFPageProxy);
getTitle(): string;
isCached(): boolean;
render(): Promise<Readable>;
}