1 | import type { IncomingMessage, ServerResponse } from "node:http";
|
2 | import type { Webhooks } from "../../index.js";
|
3 | import type { MiddlewareOptions } from "./types.js";
|
4 | export declare function middleware(webhooks: Webhooks, options: Required<MiddlewareOptions>, request: IncomingMessage, response: ServerResponse, next?: Function): Promise<boolean>;
|