UNPKG

368 BTypeScriptView Raw
1import type { Webhooks } from "../../index.js";
2import type { MiddlewareOptions } from "./types.js";
3export declare function createNodeMiddleware(webhooks: Webhooks, { path, log, }?: MiddlewareOptions): (request: import("http").IncomingMessage, response: import("http").ServerResponse<import("http").IncomingMessage>, next?: Function | undefined) => Promise<boolean>;