import type { ServerResponse } from 'node:http'; import type { CookieOptions } from './types.js'; export declare class Response { private raw; private _statusCode; private _headers; private _sent; constructor(raw: ServerResponse); get sent(): boolean; get statusCode(): number; status(code: number): this; header(key: string, value: string | string[]): this; json(data: unknown): void; send(body: string | Buffer): void; redirect(url: string, code?: number): void; cookie(name: string, value: string, options?: CookieOptions): this; getHeader(key: string): string | string[] | undefined; private sendRaw; } //# sourceMappingURL=response.d.ts.map