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'; /** * SparkPost configuration. */ interface SparkPostConfig extends BaseConfig { /** * SparkPost API key (sent as the `Authorization` header). */ apiKey: string; /** * API endpoint override. Use `https://api.eu.sparkpost.com/api/v1` for the EU region. */ endpoint?: string; } /** * SparkPost-specific email options. */ interface SparkPostEmailOptions extends EmailOptions { /** * Campaign id applied to the transmission. */ campaignId?: string; /** * Stored template id to send instead of inline content. */ templateId?: string; /** * Whether click tracking is enabled. */ trackClicks?: boolean; /** * Whether engagement tracking (opens/clicks) is enabled. */ trackOpens?: boolean; } /** * SparkPost provider — sends email through the SparkPost Transmissions API. */ declare const sparkpostProvider: ProviderFactory; export { type ProviderFactory, type SparkPostConfig, type SparkPostEmailOptions, sparkpostProvider };