@maistik/nuxt-pdf
Version:
A Nuxt 3 & 4 module for server-side PDF generation using Handlebars templates
7 lines (6 loc) • 392 B
TypeScript
import type { HelperDelegate } from 'handlebars';
export declare function compilePdfComponent(templateName: string, ctx: {
data: Record<string, unknown>;
options: Record<string, unknown>;
locale?: string;
}, messages: Record<string, string>, templateSources: Record<string, string>, partialSources: Record<string, string>, customHelpers?: Record<string, HelperDelegate>): string;