/// <reference types="node" />
import { IncomingMessage, ServerResponse } from 'http';
import { TunRequest } from './TunRequest.js';
import { TunResponse } from './TunResponse.js';
export declare class TunContext {
    req: TunRequest;
    res: TunResponse;
    /**
     * sth you may need to store and access
     */
    state: Record<string, any>;
    constructor(_req: IncomingMessage, _res: ServerResponse);
    /**
     * shorthand for `res.body`
     */
    get body(): string | Object | any[] | import("stream").Stream | Buffer | null;
    set body(val: string | Object | any[] | import("stream").Stream | Buffer | null);
    getRequestCookie(name: string): string | undefined;
}
