import type { PDFiumDocument } from './document.js'; import { type PDFiumObject } from './objects.js'; import type { PDFiumPageRender, PDFiumPageRenderParams } from './page.types.js'; import type { PDFiumRenderFunction, PDFiumRenderOptions } from './types.js'; import type * as t from './vendor/pdfium.js'; export declare class PDFiumPage { private readonly module; private readonly pageIdx; private readonly documentIdx; private readonly document; readonly number: number; constructor(options: { module: t.PDFium; pageIdx: number; documentIdx: number; document: PDFiumDocument; pageIndex: number; }); getOriginalSize(): { originalWidth: number; originalHeight: number; }; /** * Get the size of the page in points (1/72 inch) * Floored original values needed in testing. Scale can be a float number. */ private getSize; /** * Extract text from the page */ getText(): string; render(options?: PDFiumPageRenderParams): Promise; convertBitmapToImage(options: { render: PDFiumRenderFunction; } & PDFiumRenderOptions): Promise; getObjectCount(): number; getObject(i: number): PDFiumObject; objects(): Generator; }