This repository has been archived on 2026-03-06. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
openclaw-extensions/wecom/node_modules/@line/bot-sdk/dist/cjs/middleware.d.ts
T

10 lines
451 B
TypeScript

import * as http from "node:http";
import * as Types from "./types.js";
export type Request = http.IncomingMessage & {
body: any;
};
export type Response = http.ServerResponse;
export type NextCallback = (err?: Error) => void;
export type Middleware = (req: Request, res: Response, next: NextCallback) => void | Promise<void>;
export default function middleware(config: Types.MiddlewareConfig): Middleware;
//# sourceMappingURL=middleware.d.ts.map