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'; /** * Loops configuration. */ interface LoopsConfig extends BaseConfig { /** * Loops API key (sent as a Bearer token). */ apiKey: string; /** * Default transactional template id, used when a message doesn't supply its own. */ defaultTransactionalId?: string; /** * API endpoint override. */ endpoint?: string; } /** * Loops-specific email options. * * Loops sends [transactional emails](https://loops.so/docs/api-reference/send-transactional-email) from * templates, so the rendered content lives in Loops — `subject`/`html`/`text` are ignored. Provide a * `transactionalId` and the `dataVariables` your template expects. */ interface LoopsEmailOptions extends EmailOptions { /** * Whether to add the recipient to your audience. */ addToAudience?: boolean; /** * Variables passed to the Loops template. */ dataVariables?: Record; /** * The Loops transactional template id. */ transactionalId?: string; } /** * Loops provider — sends transactional template emails through the Loops API. */ declare const loopsProvider: ProviderFactory; export { type LoopsConfig, type LoopsEmailOptions, type ProviderFactory, loopsProvider };