/** * Email notification channel */ import type { CcanywhereConfig } from '../../types/index.js'; import type { ChannelNotifier, NotificationMessage } from './types.js'; export declare class EmailNotifier implements ChannelNotifier { readonly channel: "email"; private readonly config; constructor(config: NonNullable['email']>); send(message: NotificationMessage): Promise; /** * Send email via SMTP */ private sendViaSmtp; /** * Send email via local mail command */ private sendViaLocalMail; /** * Send email via sendmail command */ private sendViaSendmail; /** * Test email configuration */ test(): Promise; /** * Send a test email */ sendTest(): Promise; /** * Check if local mail commands are available */ static isLocalMailAvailable(): Promise<{ mail: boolean; sendmail: boolean; }>; } //# sourceMappingURL=email.d.ts.map