23 lines
789 B
TypeScript
23 lines
789 B
TypeScript
/**
|
|
* SMTP Client Factory
|
|
* Factory function for client creation and dependency injection
|
|
*/
|
|
import { SmtpClient } from './smtp-client.js';
|
|
import type { ISmtpClientOptions } from './interfaces.js';
|
|
/**
|
|
* Create a complete SMTP client with all components
|
|
*/
|
|
export declare function createSmtpClient(options: ISmtpClientOptions): SmtpClient;
|
|
/**
|
|
* Create SMTP client with connection pooling enabled
|
|
*/
|
|
export declare function createPooledSmtpClient(options: ISmtpClientOptions): SmtpClient;
|
|
/**
|
|
* Create SMTP client for high-volume sending
|
|
*/
|
|
export declare function createBulkSmtpClient(options: ISmtpClientOptions): SmtpClient;
|
|
/**
|
|
* Create SMTP client for transactional emails
|
|
*/
|
|
export declare function createTransactionalSmtpClient(options: ISmtpClientOptions): SmtpClient;
|