import { P as ProviderFactory } from "../../packem_shared/provider.d-BLLbEuQ8.js"; export type { a as Provider } from "../../packem_shared/provider.d-BLLbEuQ8.js"; import { B as BaseConfig, E as EmailOptions } from "../../packem_shared/types.d-CyiC9uRC.js"; import 'node:buffer'; /** * SendGrid configuration */ interface SendGridConfig extends BaseConfig { apiKey: string; endpoint?: string; } /** * SendGrid-specific email options */ interface SendGridEmailOptions extends EmailOptions { /** * ASM (Advanced Suppression Management) group ID for unsubscribe */ asmGroupId?: number; /** * Batch ID for batch sending */ batchId?: string; /** * IP pool name */ ipPoolName?: string; /** * Mail settings (click tracking, open tracking, etc.) */ mailSettings?: { bypassListManagement?: boolean; footer?: { enable?: boolean; html?: string; text?: string; }; sandboxMode?: boolean; }; /** * Send at timestamp (Unix timestamp) */ sendAt?: number; /** * Dynamic template data for SendGrid dynamic templates */ templateData?: Record; /** * SendGrid template ID for template-based emails */ templateId?: string; /** * Tracking settings */ trackingSettings?: { clickTracking?: { enable?: boolean; enableText?: boolean; }; ganalytics?: { enable?: boolean; utmCampaign?: string; utmContent?: string; utmMedium?: string; utmSource?: string; utmTerm?: string; }; openTracking?: { enable?: boolean; substitutionTag?: string; }; subscriptionTracking?: { enable?: boolean; html?: string; substitutionTag?: string; text?: string; }; }; } /** * SendGrid Provider for sending emails through SendGrid API */ declare const sendGridProvider: ProviderFactory; export { type ProviderFactory, type SendGridConfig, type SendGridEmailOptions, sendGridProvider };