export default class VelociousHttpServerClientRequest {
    /**
     * Runs constructor.
     * @param {object} args - Options object.
     * @param {import("./index.js").default} args.client - Client instance.
     * @param {import("../../configuration.js").default} args.configuration - Configuration instance.
     */
    constructor({ client, configuration, ...restArgs }: {
        client: import("./index.js").default;
        configuration: import("../../configuration.js").default;
    });
    client: import("./index.js").default;
    configuration: import("../../configuration.js").default;
    requestParser: RequestParser;
    baseURL(): string;
    /**
     * Runs feed.
     * @param {Buffer} data - Data payload.
     * @returns {Buffer | undefined} - Remaining data, if any.
     */
    feed(data: Buffer): Buffer | undefined;
    /**
     * Runs header.
     * @param {string} headerName - Header name.
     * @returns {string | null} - The header.
     */
    header(headerName: string): string | null;
    headers(): Record<string, string>;
    httpMethod(): string;
    httpVersion(): string;
    host(): string | void;
    /**
     * Runs metadata.
     * @param {string} [key] - Metadata key.
     * @returns {?} - Metadata value for a key, or the full metadata object.
     */
    metadata(key?: string): unknown;
    hostWithPort(): string;
    origin(): string | null;
    path(): string;
    /**
     * Runs params.
     * @returns {Record<string, string | string[] | undefined | Record<string, ?> | Array<?>>} - The request params.
     */
    params(): Record<string, string | string[] | undefined | Record<string, unknown> | Array<unknown>>;
    port(): number | void;
    /**
     * Runs query params.
     * @returns {Record<string, string | string[]>} - Parsed query parameters from the URL.
     */
    queryParams(): Record<string, string | string[]>;
    protocol(): string | null;
    remoteAddress(): string | undefined;
    socketRemoteAddress(): string | undefined;
    getRequestBuffer(): import("./request-buffer/index.js").default;
    getRequestParser(): RequestParser;
}
import RequestParser from "./request-parser.js";
//# sourceMappingURL=request.d.ts.map