import { z } from 'zod'; export declare enum EmailCategory { SIMPLE = "SIMPLE", TEST_EMAIL = "TEST_EMAIL", EMAIL_VERIFICATION = "EMAIL_VERIFICATION", SEND_ONCE = "SEND_ONCE", OTP = "OTP", MEETING = "MEETING", ORGANIZATION_INVITATION = "ORGANIZATION_INVITATION", PDF_EXAM = "PDF_EXAM" } export interface EmailAddress { email: string; name?: string; } export interface EmailTest { to: string; subject: string; mjml: string; } export declare const testEmailTemplate: z.ZodObject<{ to: z.ZodString; subject: z.ZodString; mjml: z.ZodString; }, z.core.$strip>; export interface EmailAttachment { Content: string; Type: string; FileName: string; } export declare enum Layout { default = "layouts/default.ejs" } export declare enum Content { simple = "simple/simple.ejs", doubleAction = "doubleAction/doubleAction.ejs" } export type Theme = { logo: string; logoLink: string; primaryColor: string; buttonTextColor: string; privacyPolicyLink: string; unsubscribeLink: string; facebook: string; instagram: string; twitter: string; appName: string; }; export interface EmailVerificationResp { res?: boolean; suggestion?: string; } interface SimpleTemplate { layout: Layout.default; content: Content.simple; categories: [EmailCategory.SIMPLE | EmailCategory.OTP | EmailCategory.MEETING]; theme?: Theme; placeholders: { title?: string; imgSrc?: string; imgAlt?: string; greeting: string; body: string; footer: string; }; } export type EmailTemplates = SimpleTemplate; export interface SendEmailFromTemplateParams { template: EmailTemplates; to: string; subject: string; attachments?: EmailAttachment[]; archive?: boolean; } export {};