import type { DriverFactory } from "../types.mjs"; import type { SmtpDriverOptions } from "./smtp.mjs"; /** MailCrab is a local SMTP sink (the \`unemail-mailcrab\` CLI spins it up * via docker). This driver is a thin wrapper over the SMTP driver with * MailCrab-friendly defaults so \`createEmail({ driver: mailcrab() })\` * Just Works in dev. * * The web UI lives at \`http://localhost:1080\` — a one-liner pointer is * printed on first use so new users find it fast. */ export interface MailCrabDriverOptions extends Partial { /** Defaults to \`localhost\`. */ host?: string; /** Defaults to \`1025\` (MailCrab's SMTP port). */ port?: number; /** Web UI port, used only for the on-first-send help message. Default 1080. */ uiPort?: number; /** Silence the "see messages at …" hint. Default \`false\`. */ quiet?: boolean; } declare const mailcrab: DriverFactory; export default mailcrab;