UNPKG

pdf-lib

Version:

Library for creating and modifying PDF files in JavaScript

31 lines (30 loc) 974 B
export declare class Entry { static create: () => Entry; offset: number; generationNum: number; isInUse: boolean; setOffset: (offset: number) => this; setGenerationNum: (generationNum: number) => this; setIsInUse: (isInUse: boolean) => this; toString: () => string; bytesSize: () => number; } export declare class Subsection { static from: (entries?: Entry[]) => Subsection; entries: Entry[]; firstObjNum: number; constructor(entries?: Entry[]); addEntry: (entry: Entry) => this; setFirstObjNum: (firstObjNum: number) => this; toString: () => string; bytesSize: () => number; } export declare class Table { static from: (subsections?: Subsection[]) => Table; subsections: Subsection[]; constructor(subsections?: Subsection[]); addSubsection: (subsection: Subsection) => this; toString: () => string; bytesSize: () => number; copyBytesInto: (buffer: Uint8Array) => Uint8Array; }