invoice-craft
Version:
Customizable, browser-first invoice PDF generator library with modern TypeScript API
13 lines (12 loc) • 1.08 kB
TypeScript
import type { InvoiceData, GeneratePdfOptions } from "./core/types";
export declare function generateInvoicePdf(invoice: InvoiceData, options?: GeneratePdfOptions): Promise<{
blob: Blob;
filename: string;
}>;
export * from "./core/types";
export { validateInvoice, validateInvoiceStrict, getValidationSummary } from "./validation/advancedValidator";
export { generatePreviewHTML } from "./preview/htmlGenerator";
export { createTemplate, renderTemplate, modernTemplate, minimalTemplate, creativeTemplate, availableTemplates, getTemplateById, getAllTemplates } from "./templates/templateBuilder";
export { exportInvoice, downloadExport, previewExport, exportMultipleInvoices, exportToZip, getSupportedFormats, getFormatInfo } from "./export/exportFormats";
export { generateBatchInvoices, exportBatchInvoices, BatchProcessor, ProgressTracker, validateBatchInput, createTestBatch } from "./batch/batchProcessor";
export { pluginManager, createPlugin, builtInPlugins, registerBuiltInPlugins, createPluginChain, validatePlugin, getPluginInfo } from "./plugins/pluginSystem";