import type { DeliveryEvent } from "./types.js"; /** * Parse a Twilio SMS StatusCallback payload into normalized {@link DeliveryEvent} * records. */ export declare function parse(payload: unknown): DeliveryEvent[]; /** * Verify a Twilio request signature (`X-Twilio-Signature`). * * Builds the signed string as `url + sorted(key+value for each POST param)`, * HMAC-SHA1 with the Auth Token, then base64-compares to the header. * * @param url - Exact public URL Twilio requested (including query string). * @param params - Parsed form body (or `URLSearchParams`). * @param signature - Value of the `X-Twilio-Signature` header. * @param authToken - Twilio Auth Token (or API Key Secret used for validation). * * @see https://www.twilio.com/docs/usage/security#validating-requests */ export declare function verifySignature(url: string, params: Record | URLSearchParams, signature: string, authToken: string): Promise;