import type * as Pinnacle from "../index.mjs"; export interface AttachWebhookResult { webhook: AttachWebhookResult.Webhook; /** The event type filter applied to these subscriptions. */ event: Pinnacle.WebhookEventEnum | null; /** Senders that were successfully attached (phone numbers in E.164 format or RCS agent IDs). */ senders: string[]; /** Senders that could not be attached, with error details. */ failed: Pinnacle.FailedSender[]; } export declare namespace AttachWebhookResult { interface Webhook { /** Unique webhook identifier (starts with `wh_`). */ id: string; /** Name of the webhook. */ name: string; /** HTTPS endpoint URL where events are delivered. */ url: string; /** Signing secret sent in the `PINNACLE-SIGNING-SECRET` header for request verification. */ secret: string; /** Optional custom HTTP headers sent on every webhook delivery. Header names must match the regex `^[A-Za-z0-9][A-Za-z0-9_-]*$` — start with a letter or digit and contain only letters, digits, `-`, or `_`. Keys are case-insensitive and stored in uppercase. Values must be strings. The reserved `PINNACLE-SIGNING-SECRET` header is never returned here and cannot be overridden. */ headers?: Record | null; } }