import type { HttpResponse } from 'uWebSockets.js'; import type { PikkuHTTPResponse } from '@pikku/core/http'; import { type SerializeOptions } from 'cookie'; export declare class UWSPikkuHTTPResponse implements PikkuHTTPResponse { #private; private res; private isAborted; constructor(res: HttpResponse, isAborted: () => boolean); get statusCode(): number; status(code: number): this; header(name: string, value: string | string[]): this; cookie(name: string, value: string | null, options: SerializeOptions): this; json(data: unknown): this; send(data: any): this; arrayBuffer(data: any): this; redirect(location: string, status?: number): this; close(): void; setMode(mode: 'stream'): void; flushHeaders(): void; flush(): void; }