import { SentlyError } from "../core/errors.js"; import type { BrevoConfig, MailOptions, SendResult, Transport, VerifyResult } from "../core/types.js"; /** Error thrown when the Brevo API returns a non-success response. */ export declare class BrevoError extends SentlyError { readonly statusCode: number; /** Creates a Brevo API error with status code and error code. */ constructor(message: string, statusCode: number, apiCode: string); } /** * Brevo HTTP API transport. */ export declare class BrevoTransport implements Transport { readonly provider = "brevo"; /** Brevo API key used for Authorization. */ private readonly apiKey; /** Creates a Brevo transport with the given API key. */ constructor(config: BrevoConfig); /** Sends an email via the Brevo HTTP API. */ send(options: MailOptions): Promise; /** Verifies the Brevo API key by fetching account info. */ verify(): Promise; }