/**
 * Mail Templates (Core)
 *
 * This folder contains reusable email templates used by core mail tooling.
 * Templates may be organized into subfolders (e.g., `auth/`, `orders/`) with
 * both rich HTML and plain-text variants.
 */
export type MailTemplate = {
    subject: string;
    text: string;
    html?: string;
};
export type MailTemplateRegistry = Record<string, unknown>;
export declare const MailTemplateRenderer: Readonly<{
    renderString: (template: string, data: Record<string, unknown>) => string;
    render(template: MailTemplate, data: Record<string, unknown>): MailTemplate;
}>;
export declare const MailTemplates: Readonly<{
    auth: Readonly<{
        welcome: Readonly<{
            subject: string;
            text: string;
            html: string;
        }>;
    }>;
}>;
export interface MarkdownTemplateMetadata {
    subject?: string;
    preheader?: string;
    variables?: string[];
    content: string;
}
export interface MarkdownRenderResult {
    html: string;
    meta: {
        subject?: string;
        content: string;
        variables?: string[];
    };
}
/**
 * List all available HTML mail templates.
 * Returns template names without the .html extension.
 */
export declare function listTemplates(): string[];
/**
 * Load a mail template by name.
 * Note: HTML templates don't have embedded metadata like markdown templates did.
 * This function returns the raw HTML content.
 */
export declare function loadTemplate(name: string): MarkdownTemplateMetadata;
/**
 * Render a mail template with variables.
 * Note: This is a compatibility function. For production use, use MailTemplateRenderer instead.
 */
export declare function renderTemplate(name: string, variables?: Record<string, unknown>): MarkdownRenderResult;
//# sourceMappingURL=index.d.ts.map