import type { EmailEvent } from "./types.js"; /** Parse a Mailgun webhook payload into normalized {@link EmailEvent} records. */ export declare function parse(payload: unknown): EmailEvent[]; /** * Verify a Mailgun webhook signature using HMAC-SHA256 (Web Crypto). * signingKey is the Mailgun webhook signing key. */ export declare function verifySignature(timestamp: string, token: string, signature: string, signingKey: string): Promise; /** * Verify a Mailgun webhook payload using the nested `signature` object. * Returns false when the payload shape is invalid. */ export declare function verifyPayload(payload: unknown, signingKey: string): Promise;