/** * Email provider auto-detection by domain. * * Maps common email domains to their IMAP/SMTP server settings. */ import type { ProviderConfig } from '../types/index.js'; export declare const PROVIDERS: ProviderConfig[]; /** * Detect email provider from an email address. * Returns the matching provider config or undefined. */ export declare function detectProvider(email: string): ProviderConfig | undefined; /** * Identify the provider behind a configured account. * * The SMTP host is the strongest signal (it also catches custom domains * routed through a known provider, e.g. ProtonMail Bridge on 127.0.0.1); * the email domain is the fallback for custom relays. */ export declare function findProviderForAccount(account: { email: string; smtp: { host: string; }; }): ProviderConfig | undefined; //# sourceMappingURL=providers.d.ts.map