/// <reference types="node" />
import { IncomingMessage } from 'http';
import { Files, Data, Method } from '../@types';
import { Socket } from 'net';
export declare class Request extends IncomingMessage {
    error: boolean;
    startedAt: Date | null;
    endedAt: Date | null;
    files: Files;
    query: Data;
    body: Data;
    data: Data;
    buffer: Buffer;
    entityTooLarge: boolean;
    encrypted: boolean;
    hostname: string;
    method: Exclude<Method, '*'>;
    constructor(socket: Socket);
}
