import type { SendMailOptions } from 'nodemailer';
import type { ProviderSendmailOptions } from './types';
/**
 * Build list of SMTP peers to try for a recipient domain (MX resolution or dev server),
 * matching guileen/node-sendmail `connectMx` + `smtpHost` append behavior.
 */
export declare function resolveMxHosts(domain: string, options: ProviderSendmailOptions): Promise<Array<{
    exchange: string;
}>>;
/**
 * Direct SMTP delivery (per recipient domain, per MX with fallback), replacing the
 * unmaintained `sendmail` npm package while preserving the same routing semantics.
 */
export declare function sendDirectSmtp(mail: SendMailOptions, providerOptions: ProviderSendmailOptions): Promise<void>;
//# sourceMappingURL=direct-smtp.d.ts.map