export interface TemplateContext { fields: Readonly>; form: { name: string; }; submission: { id: string; receivedAt: string; }; } export declare function validateTemplate(template: string, fields: string[]): void; export declare function renderTemplate(template: string, context: TemplateContext): string; export declare function renderEmail(subject: string, body: string, context: TemplateContext): { subject: string; text: string; html: string; }; //# sourceMappingURL=template.d.ts.map