/** * @module * SMTP-capable mailer factory — host/port config, pooling, and runtime adapters. * * Import from `sently/smtp` or use {@link createSMTPMailer} from the main package. * For HTTP transports, use `sently/mailer` instead (~10 KB smaller in app bundles). * * @example * ```ts * import { createSMTPMailer } from "sently/smtp"; * * const mailer = await createSMTPMailer({ * host: "smtp.example.com", * port: 587, * auth: { user: "you@example.com", pass: "secret" }, * }); * ``` */ import type { Mailer, SMTPMailerOptions } from "./core/types.js"; /** * Create a mailer from SMTP relay options (host, port, auth, pool, adapter). */ export declare function createSMTPMailer(options: SMTPMailerOptions): Promise;