import type { IncomingMessage, ServerResponse } from "node:http"; export type Next = (err?: unknown) => void; export type Req = IncomingMessage & { path: string; query: Record; params: Record; body?: unknown; }; export type Res = ServerResponse & { status(code: number): Res; set(name: string, value: string): Res; send(data?: unknown): Res; json(obj: unknown): Res; }; //# sourceMappingURL=types.d.ts.map