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, c as EmailAddress } from "../../packem_shared/types.d-CyiC9uRC.js"; import 'node:buffer'; /** * Brevo configuration */ interface BrevoConfig extends BaseConfig { /** * Brevo API key */ apiKey: string; /** * Brevo API endpoint * Defaults to: https://api.brevo.com/v3 */ endpoint?: string; /** * Enable hard validation for replyTo addresses. * If true, arrays will be rejected. If false, the first address from an array will be used. * Defaults to: false */ hardValidation?: boolean; } /** * Brevo-specific email options */ interface BrevoEmailOptions extends Omit { /** * Batch ID for batch sending */ batchId?: string; /** * Headers (custom headers) */ headers?: Record; /** * Reply-to email address (can override base replyTo). * Only one address is allowed. If an array is provided and hardValidation is false, the first address will be used. */ replyTo?: EmailAddress | EmailAddress[]; /** * Scheduled date/time * - If string: ISO 8601 format (e.g., "2025-01-15T10:00:00Z") * - If number: Unix timestamp in seconds (not milliseconds) */ scheduledAt?: string | number; /** * Tags for categorization */ tags?: string[]; /** * Brevo template ID for template-based emails */ templateId?: number; /** * Template parameters for Brevo templates */ templateParams?: Record; } /** * Brevo Provider for sending emails through Brevo API */ declare const brevoProvider: ProviderFactory; export { type BrevoConfig, type BrevoEmailOptions, type ProviderFactory, brevoProvider };