export type EmailRecipient = string | string[]; export interface EmailSendOptions { bodyText?: string; categories?: string[]; isMultiple?: boolean; } /** * Minimal email sender contract. */ export interface EmailProvider { sendEmail(to: EmailRecipient, subject: string, bodyHtml: string, options?: EmailSendOptions): Promise; } /** * Supported provider names. */ export type EmailProviderName = 'sendgrid' | 'none'; /** * Logger interface kept small to avoid framework coupling. */ export interface EmailLogger { error?(message: string, error?: unknown): void; } //# sourceMappingURL=types.d.ts.map