UNPKG

nuxt-mailchannels

Version:

MailChannels Email API integration for nuxt

12 lines (11 loc) 428 B
import { type EmailsSendOptions } from '@yizack/mailchannels/modules'; import { type H3Event } from 'h3'; export declare const useMailChannels: (event?: H3Event) => { send: (options: Omit<EmailsSendOptions, "to" | "from"> & Partial<{ to: EmailsSendOptions["to"]; from: EmailsSendOptions["from"]; }>, dryRun?: boolean) => Promise<{ success: boolean; data: string[] | undefined; }>; };