/**
 * Response - HTTP Response wrapper
 * Wraps Node.js ServerResponse with additional utilities
 */
import type * as http from '../node-singletons/http';
export interface IResponse {
    status(code: number): IResponse;
    setStatus(code: number): IResponse;
    getStatus(): number;
    readonly statusCode: number;
    setHeader(name: string, value: string | string[]): IResponse;
    getHeader(name: string): string | string[] | undefined;
    json(data: unknown): void;
    text(text: string): void;
    html(html: string): void;
    send(data: string | Buffer): void;
    redirect(url: string, statusCode?: number): void;
    getRaw(): http.ServerResponse;
    locals: Record<string, unknown>;
}
/**
 * Response - HTTP Response wrapper
 * Refactored to Functional Object pattern
 */
export declare const Response: Readonly<{
    /**
     * Create a new response instance
     */
    create(res: http.ServerResponse): IResponse;
}>;
export default Response;
//# sourceMappingURL=Response.d.ts.map