UNPKG

prettier-playwright-msteams-report

Version:
10 lines (9 loc) 382 B
import { WebhookType } from "../models"; /** * Validates a webhook URL to ensure it meets the required format. * * @param webhookUrl - The webhook URL to validate. * @param type - The type of webhook to validate. * @returns A boolean indicating whether the webhook URL is valid. */ export declare const validateWebhookUrl: (webhookUrl: string, type?: WebhookType) => boolean;