import type { ContactData, ContactField } from '../types'; export interface BrandConfig { /** Brand name shown in the email header + footer. */ name: string; /** Brand URL shown in the footer. */ url?: string; /** Accent color for the header name and the reply button. Default `#09090b`. */ accent?: string; } export interface RenderContactEmailOptions { fields: ReadonlyArray; data: ContactData; brand?: BrandConfig; /** Subject line, or a builder. Defaults to `New contact message: `. */ subject?: string | ((data: ContactData) => string); /** Lead paragraph above the fields. */ intro?: string; /** Audit metadata appended in a small footer. */ meta?: { ip?: string | null; userAgent?: string | null; }; /** Address the "Reply" button targets (omit to hide the button). */ replyToEmail?: string; } /** * Render the internal notification email for a contact submission. * * Inline fields render as a label/value table; `textarea` fields (or any * field with `block: true`) render as full-width boxes preserving line breaks. * All values are HTML-escaped. */ export declare function renderContactEmail(options: RenderContactEmailOptions): { subject: string; html: string; }; //# sourceMappingURL=template.d.ts.map