import type { WebhookProvider } from "./index.mjs"; /** Mailgun webhook verifier. The payload always contains * \`signature: { timestamp, token, signature }\` * plus an \`event-data\` block. HMAC-SHA256 of \`\${timestamp}\${token}\` * keyed with the API signing key must equal \`signature\`. */ export interface MailgunWebhookOptions { signingKey: string; /** Window in seconds to accept messages from. Default: 300. */ toleranceSeconds?: number; now?: () => number; } export default function mailgunWebhook(options: MailgunWebhookOptions): WebhookProvider;