n8n
Version:
n8n Workflow Automation Tool
4 lines (3 loc) • 310 B
TypeScript
import type express from 'express';
import type { IWebhookManager, WebhookOptionsRequest, WebhookRequest } from '../webhooks/webhook.types';
export declare function createWebhookHandlerFor(webhookManager: IWebhookManager): (req: WebhookRequest | WebhookOptionsRequest, res: express.Response) => Promise<void>;