UNPKG

@surgbc/egw-pdf-generator

Version:

PDF generator for EGW Writings with configurable formatting and pagination

18 lines 607 B
import { BookGenerationOptions, GenerationProgress } from '../types/index.js'; export declare class PDFGenerator { private db; private progressCallback?; constructor(progressCallback?: (progress: GenerationProgress) => void); generateBookPDF(options: BookGenerationOptions): Promise<void>; private groupIntoChapters; private getFont; private addTitlePage; private addTableOfContents; private addChapter; private wrapText; private getPageWidth; private getPageHeight; private updateProgress; close(): void; } //# sourceMappingURL=pdf-generator.d.ts.map