import { PdfNamedDestinations, PdfOutlineItem, PdfPageAnnotations, PdfPageDisplayList, PdfLoadOptions, PdfObject, PdfPageInfo, PdfPageText, PdfPrimitive, PdfRef } from '../types'; export declare class RebookPdfDocument { private readonly bytes; private readonly options; private readonly objects; private readonly objectCache; private readonly pageContentCache; private readonly pageAnnotationCache; private readonly pageTextCache; private readonly pageDisplayListCache; private outlineCache?; private namedDestinationsCache?; private pageLabelsCache?; private decodedStreamCache; private resourceNameCache; private imageCache; private fontCache; private fontDecoderCache; private fontSourceCache; private pagesCache?; private root?; private constructor(); static load(input: ArrayBuffer | Uint8Array, options?: PdfLoadOptions): Promise; get version(): string; get pageCount(): number; getPages(): PdfPageInfo[]; getPageText(pageIndex: number): Promise; getPageDisplayList(pageIndex: number): Promise; getPageAnnotations(pageIndex: number): Promise; getOutline(): Promise; getNamedDestinations(): Promise; getPageLabels(): Promise; clearCaches(): void; private get cacheEnabled(); private buildPageText; private buildPageDisplayList; private buildPageAnnotations; private readPageAnnotations; private readAnnotation; private buildOutline; private buildNamedDestinations; private buildPageLabels; private readPageLabelRules; private readPageLabelTree; private readPageLabelRule; private readNamedDestinationsTree; private readLegacyDestinations; private readOutlineItems; private readOutlineItem; private readTarget; resolve(value: T, depth?: number): PdfPrimitive | undefined; getObject(ref: PdfRef): PdfObject | undefined; private getDecodedPageContent; private buildDecodedPageContent; private indexObjects; private readXrefChain; private findStartXref; private tryReadXrefTable; private tryReadXrefStream; private readCompressedObjects; private scanIndirectObjects; private readObjectAt; private readTrailer; private findCatalog; private requireCatalog; private walkPageTree; private decodeStream; private readStreamFilters; private decodeByteFilter; private decodePdfStream; private selectUsedResourceNames; private shouldReadAllResources; private resourceEntryCount; private collectUsedResourceNames; private collectContentResourceNames; private hasXObjectResources; private hasFontResources; private hasShadingResources; private hasPatternResources; private readGraphicsResources; private readColorSpaceResources; private readGraphicsStateResources; private readGraphicsState; private readShadingResources; private readPatternResources; private readXObjectResources; private readFormXObject; private readTextResources; private readTextFormResources; private readTextFormXObject; private readFontResources; private buildFontResources; private readFontDecoder; private buildFontDecoder; private readFontSource; private buildFontSource; private readImageXObject; private readImageResourceColorSpace; private decodeImageXObject; private applyImageMasks; private decodeRasterImageXObject; private decodeRasterImageFilter; } //# sourceMappingURL=document.d.ts.map