UNPKG

safeer-pdf-generator

Version:

Framework-agnostic PDF generation library with chunking, merging, S3 upload, and email delivery

28 lines 984 B
import { PdfGenerationOptions, PdfGenerationResult } from '../types.js'; /** * Generate PDF from data and options */ export declare function generatePdf(options: PdfGenerationOptions): Promise<PdfGenerationResult>; /** * Generate chunked PDF (alias for generatePdf with chunking enabled) */ export declare function generateChunkedPdf(options: PdfGenerationOptions): Promise<PdfGenerationResult>; /** * Generate PDF with optimal chunking based on data size */ export declare function generateOptimizedPdf(options: PdfGenerationOptions): Promise<PdfGenerationResult>; /** * Estimate PDF generation time and resources */ export declare function estimatePdfGeneration(options: Partial<PdfGenerationOptions>): { estimatedTimeMs: number; estimatedMemoryMB: number; estimatedPages: number; chunking: { chunks: number; rowsPerChunk: number; concurrency: number; }; recommendations: string[]; }; //# sourceMappingURL=generatePdf.d.ts.map