export type HttpHeaderValue = string | readonly string[]; export type HttpResponseHeaders = Record; /** * Explicit HTTP response envelope returned by handlers when status/headers must be controlled. */ export declare class HttpResponse { readonly status?: number; readonly headers?: HttpResponseHeaders; readonly body: T; constructor(body: T, options?: { status?: number; headers?: HttpResponseHeaders; }); } export declare function response(body: T, options?: { status?: number; headers?: HttpResponseHeaders; }): HttpResponse;