UNPKG

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