/**
 * DB-aware transactional email sender resolution.
 *
 * Resolution order (first match wins):
 *   1. `config.platform.email` — an explicit platform adapter keeps full
 *      control, matching the sync resolver's contract.
 *   2. Settings > Email (`__email_config__` document) via the provider factory
 *      registered by `@actuate-media/plugin-email`. Admin-entered settings
 *      beat env inference so what the UI shows is what actually sends.
 *   3. The env-configured sender registered at boot via `setEmailSender`.
 *
 * Lives apart from `sender.ts` so the lightweight `email-sender` subpath
 * (imported by plugin-email at config-load time) never drags in the DB or
 * crypto modules.
 */
import type { EmailAdapter } from '../config/types.js';
/** Test hook: drop the memoized DB-configured adapter. */
export declare function clearEmailSenderCache(): void;
/**
 * Resolve the active transactional email sender, checking the DB-backed
 * Settings > Email configuration. Returns `null` when nothing can send.
 *
 * Pass `db` when a client is already in hand (API routes); otherwise the
 * lazily-initialized module client is used.
 */
export declare function resolveEmailSenderAsync(db?: unknown): Promise<EmailAdapter | null>;
//# sourceMappingURL=resolve.d.ts.map