/** * Validate a webhook URL at save time and return its normalized form (the same * form the request will use, so validation and fetch can't disagree). * * This is the friendly early check. The real SSRF guard is the connect-time * address check in `webhookFetch`, which also defeats DNS tricks. * * Default: `https:` only, no private addresses. With * `system.webhook.allowPrivateNetworks`, `http:` and private addresses are OK. */ export declare function assertWebhookUrl(raw: unknown, allowPrivate?: boolean): string;