import type { Response } from 'express'; /** * Fluent HTTP response wrapper around Express `Response`. */ export declare class HttpResponse { private readonly res; private statusCode; /** * @param res - Express response for the current request. */ constructor(res: Response); /** * Set the HTTP status code before sending. * * @param code - HTTP status. * @returns This instance (fluent). */ status(code: number): this; /** * Send JSON, running the payload through the configured serializer (see {@link configureResponseSerializer}). * * @param body - Arbitrary data (models, arrays, plain objects). */ json(body: unknown): void; /** * Send an empty or raw body with the current status. * * @param body - Optional body for `res.send`. */ send(body?: string | Buffer | object): void; } //# sourceMappingURL=HttpResponse.d.ts.map