import { Observable } from "rxjs"; import { HttpRequest } from "../request"; /** * Constructs an instance of `HttpRequestOptions` from a source `HttpMethodOptions` and * the given `body`. This function clones the object and adds the body. * * Note that the `responseType` *options* value is a String that identifies the * single data type of the response. * A single overload version of the method handles each response type. * The value of `responseType` cannot be a union, as the combined signature could imply. * */ export declare function addBody(options: any, body: T | null): any; /** ================== COMMON HANDLE METHOD ========================== */ export declare function handle(req: HttpRequest): Observable;