/** * Webhook handler functions * * Extracted from handlers.ts — configure, list, test, and remove webhooks. */ import type { HandlerContext } from "./types.js"; import type { ToolResult } from "../../types.js"; import { type WebhookConfig, type WebhookStats } from "../../webhooks/index.js"; export declare function handleConfigureWebhook(_ctx: HandlerContext, args: { id?: string; name: string; url: string; enabled?: boolean; events?: string[]; format?: "generic" | "slack" | "discord" | "teams"; secret?: string; }): Promise>; export declare function handleListWebhooks(_ctx: HandlerContext): Promise>; export declare function handleTestWebhook(_ctx: HandlerContext, args: { id: string; }): Promise>; export declare function handleRemoveWebhook(_ctx: HandlerContext, args: { id: string; }): Promise>;