@tanayvk/mailer
Version:
@adonisjs/mail without @adonisjs/core dependency.
14 lines (13 loc) • 529 B
TypeScript
import { MailResponse } from '../mail_response.js';
import type { ResendConfig, NodeMailerMessage, MailTransportContract, ResendRuntimeConfig, ResendSentMessageInfo } from '../types.js';
/**
* Transport for sending using the Resend `/emails` API.
*/
export declare class ResendTransport implements MailTransportContract {
#private;
constructor(config: ResendConfig);
/**
* Send message
*/
send(message: NodeMailerMessage, config?: ResendRuntimeConfig): Promise<MailResponse<ResendSentMessageInfo>>;
}