import type { WebhookRow } from '../types/index.js'; import type { WebhookInput } from './createWebhook.js'; export type WebhookUpdateInput = WebhookInput & { /** Replace the signing secret with a new one. */ regenerateSecret?: unknown; }; /** * Update the fields that were sent; leave the rest. Disabling a webhook * cancels its pending deliveries in the same transaction, so they cannot burst * out later if it is re-enabled. */ export declare function updateWebhook(uuid: string, data: WebhookUpdateInput): Promise;