/** * emailSender.ts * * Sends transactional email via the Resend API using native fetch. * No extra SDK dependency — uses the same fetch-everywhere pattern as the * rest of the codebase. * * Required env var: RESEND_API_KEY * Optional env vars: * DIGEST_FROM_EMAIL (default: "digest@usebrains.app") * DIGEST_FROM_NAME (default: "brains Weekly Digest") */ export interface EmailPayload { to: string; subject: string; html: string; text: string; } export declare function sendDigestEmail(apiKey: string, fromEmail: string, fromName: string, payload: EmailPayload): Promise; //# sourceMappingURL=emailSender.d.ts.map