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