import { Ref } from '../ref.js'; import { PdfToken } from '../tokens/token.js'; import { PdfArray } from './pdf-array.js'; import { PdfDictionary } from './pdf-dictionary.js'; import { PdfHexadecimal } from './pdf-hexadecimal.js'; import { PdfNumber } from './pdf-number.js'; import { PdfObject } from './pdf-object.js'; import { PdfObjectReference } from './pdf-object-reference.js'; export type PdfTrailerEntries = { Size: PdfNumber; Root?: PdfObjectReference; Info?: PdfObjectReference; Prev?: PdfNumber; XRefStm?: PdfNumber; Encrypt?: PdfObjectReference; ID?: PdfArray; }; export type PdfTrailerDictionary = PdfDictionary; export declare class PdfTrailer extends PdfObject { dict: PdfTrailerDictionary; offset: Ref; constructor(entries: PdfTrailerEntries | PdfDictionary); toJSON(): { type: string; dict: { type: string; entries: Record; }; }; protected tokenize(): PdfToken[]; cloneImpl(): this; setModified(modified?: boolean): void; isModified(): boolean; }