/** * Email transport for system emails (password resets, invitations, notifications). * * Providers are selected by scoped secrets: * RESEND_API_KEY — https://resend.com * SENDGRID_API_KEY — https://sendgrid.com * EMAIL_FROM — "Name " (optional; defaults to Resend's sandbox) * * With neither provider configured, `sendEmail` logs the message to the console * so the reset-password flow still works end-to-end for local development. */ export type EmailProvider = "resend" | "sendgrid" | "dev"; export interface EmailAttachment { filename: string; content: string | Buffer; contentType?: string; contentId?: string; disposition?: "attachment" | "inline"; } export interface SendEmailArgs { to: string; subject: string; html: string; text?: string; from?: string; cc?: string | string[]; replyTo?: string; inReplyTo?: string; references?: string; attachments?: EmailAttachment[]; timeoutMs?: number; } export declare function isEmailConfigured(): Promise; export declare function getEmailProvider(): Promise; export declare function sendEmail(args: SendEmailArgs): Promise; //# sourceMappingURL=email.d.ts.map