import type { EmailProviderFactoryInterface, EmailSenderInterface } from '@messagehub/core'; import type { TypeSendGridConfig } from '../Type/Types.js'; /** * Factory class for creating SendGrid email sender instances. */ export declare class SendGridEmailProviderFactory implements EmailProviderFactoryInterface { /** * Creates an email sender based on the provided configuration. * * @param {TypeSendGridConfig} config - The configuration object for SendGrid. * @returns {EmailSenderInterface} - An instance of SendGridEmailSender. * @throws {Error} - Throws an error if the sender cannot be created. */ createSender(config: TypeSendGridConfig): EmailSenderInterface; }