UNPKG

519 BTypeScriptView Raw
1/**
2 * Represents a Node.js HTTP Response, including the minimal set of use properties and methods.
3 * Compatible with Restify, Express, and Node.js core http.
4 */
5import * as z from 'zod';
6export interface Response {
7 socket: unknown;
8 end(...args: unknown[]): unknown;
9 header(name: string, value: unknown): unknown;
10 send(...args: unknown[]): unknown;
11 status(code: number): unknown;
12}
13export declare const ResponseT: z.ZodType<Response, z.ZodTypeDef, Response>;
14//# sourceMappingURL=response.d.ts.map
\No newline at end of file