import { HttpRequest, HttpMethod, HttpBody } from "../http"; import { RequestHttpHeaders } from "../http-headers"; export declare class HttpRequestImpl implements HttpRequest { readonly url: string; readonly method: HttpMethod; readonly body: HttpBody; readonly headers: RequestHttpHeaders; private parsedUri; constructor(url: string, method: HttpMethod, body: HttpBody, headers: RequestHttpHeaders); setHeaders(headers: RequestHttpHeaders): HttpRequestImpl; addHeader(header: keyof RequestHttpHeaders, value: string | string[]): HttpRequestImpl; replaceHeader(header: keyof RequestHttpHeaders, value: string | string[]): HttpRequestImpl; removeHeader(headerToRemove: keyof RequestHttpHeaders): HttpRequestImpl; setUrl(url: string): HttpRequestImpl; query(name: string): string | string[] | undefined; addQuery(name: string, value: string | string[]): HttpRequestImpl; removeQuery(queryToRemove: string): HttpRequestImpl; replaceQuery(name: string, value: string | string[]): HttpRequestImpl; path(): string; setBody(body: HttpBody | string): HttpRequestImpl; setMethod(method: HttpMethod): HttpRequestImpl; }