/**
 * src/web-chat/email-providers.ts
 *
 * Auto-detect SMTP settings from an email address. Lets the user paste
 *   EMAIL=me@gmail.com
 *   EMAIL_PASSWORD=app-password-here
 * and have Muassis figure out the right SMTP host / port / encryption
 * — no manual configuration, no docs reading.
 *
 * Most modern providers (Gmail, Outlook, Yahoo, …) require an
 * "app password" instead of the regular account password for SMTP.
 * When we detect those, the inline reply tells the user exactly which
 * URL to visit and what to paste next.
 */
export interface SmtpProvider {
    /** Human-readable label shown in chat replies. */
    label: string;
    smtpHost: string;
    smtpPort: number;
    /** true = wrap the connection in TLS from the start (port 465 style). */
    secure: boolean;
    /** Where to generate an app-password if the provider requires one. */
    appPasswordUrl?: string;
    /** Inline note about the auth flow (Arabic, shown to user). */
    authNote: string;
}
/**
 * Look up the SMTP profile for an email address. Returns null if the
 * domain isn't in the table — callers should ask the user for explicit
 * SMTP_HOST / SMTP_PORT in that case.
 */
export declare function detectProvider(email: string): SmtpProvider | null;
//# sourceMappingURL=email-providers.d.ts.map