import type { DriverFactory } from "../types.mjs"; /** Mailtrap driver — Email API sending and Email Sandbox testing * with the same API token. Mirrors the official SDK env pattern: * \`MAILTRAP_API_KEY\` → \`apiKey\`, \`MAILTRAP_USE_SANDBOX\` → \`sandbox\`, * \`MAILTRAP_INBOX_ID\` → \`inboxId\`. */ export interface MailtrapDriverOptions { apiKey: string; /** Email API base. Default \`https://send.api.mailtrap.io\`. */ endpoint?: string; fetch?: typeof fetch; /** Used when no \`tags\` entry has \`name: "category"\`. */ defaultCategory?: string; /** Mailtrap edge protection may block requests without a User-Agent. */ userAgent?: string; /** Default sandbox mode when \`msg.sandbox\` is unset. */ sandbox?: boolean; /** Sandbox inbox ID (from mailtrap.io/sandboxes/{id}). Required for sandbox sends. */ inboxId?: number | string; /** Sandbox API base. Default \`https://sandbox.api.mailtrap.io\`. */ sandboxEndpoint?: string; } declare const mailtrap: DriverFactory; export default mailtrap;