import type { RequestSenderInterface } from '@messagehub/core'; import type { TypeSendGridConfig } from '../Type/Types.js'; /** * Handles HTTP requests to SendGrid's API. */ export declare class SendGridRequestSender implements RequestSenderInterface { private config; /** * Constructs a new SendGridRequestSender. * * @param {TypeSendGridConfig} config - The SendGrid configuration. */ constructor(config: TypeSendGridConfig); /** * Sends a request to the SendGrid API. * * @param {string} path - The API endpoint path. * @param {RequestInit} options - The request options (method, headers, body, etc.). * @returns {Promise} - The response from the SendGrid API. */ send(path: string, options?: RequestInit): Promise; }