import { type EnqueueOutboundWebhookResult, type OutboundWebhookStoreOptions } from "./outbound-webhooks.js"; export declare const INBOUND_DELIVERY_EVENT_KINDS: readonly ["delivered", "bounced", "complained", "unsubscribed", "delayed", "rejected"]; export declare const MAX_INBOUND_DELIVERY_EVENT_METADATA_BYTES = 16384; export type InboundDeliveryEventKind = (typeof INBOUND_DELIVERY_EVENT_KINDS)[number]; export interface IngestInboundDeliveryEventInput { provider: string; providerEventId: string; kind: InboundDeliveryEventKind; occurredAt?: string; messageId?: string; subscriberUuid?: string; campaignId?: number; metadata?: Readonly>; } /** * Normalize a provider event into the shared versioned event envelope. Stable * provider event IDs become deterministic UUIDs so repeated ingestion remains * idempotent at the outbox unique constraint. */ export declare function ingestInboundDeliveryEvent(input: IngestInboundDeliveryEventInput, options?: OutboundWebhookStoreOptions): Promise;