export interface DeliveryResult { statusCode: number | null; bodyText: string; error?: string; } export interface DeliveryInput { url: string; /** * Pre-validated IP to connect to. When the caller has multiple safe IPs * (DNS returned more than one A/AAAA record for a load-balanced target) * use `pinnedIps` instead to get v2.2.1 B5 failover. */ pinnedIp: string; /** * v2.2.1 B5: full list of validated IPs from `validateWebhookUrl`. When * provided, `deliverPinnedPost` tries each in order on connect failure * or timeout (max 3 attempts) — recovers load-balanced-target failover * that native fetch's internal round-robin previously handled. Each * attempt re-uses SNI + Host on the URL hostname; only the connect IP * rotates. * * If both `pinnedIp` and `pinnedIps` are set, `pinnedIps` wins. If only * `pinnedIp` is set (pre-B5 callers), behavior is unchanged. */ pinnedIps?: string[]; headers: Record; body: string; timeoutMs: number; } export declare function deliverPinnedPost(input: DeliveryInput): Promise; //# sourceMappingURL=webhook-delivery.d.ts.map