import ResponseError from "./ResponseError"; /** * Transform object into query parameters */ export declare const getQuery: (queryParams: any) => string; /** * Determine the request to be used */ export declare const getUrl: (url: string, baseUrl: string) => string; /** * Determine and return the body type */ export declare const bodyParser: (bodyToTransform: string | ArrayBuffer | Blob | FormData | URLSearchParams | ReadableStream) => string | ArrayBuffer | Blob | FormData | URLSearchParams | ReadableStream | null | undefined; /** * Parse response body depending on the Content-Type header. */ export declare const bodyResponseParser: (response: Response) => Promise | ResponseError; /** * Async function used to validate if the request is out of a defined range. * Will throw an HttpError if response's status is out of range. */ export declare const validateStatus: (response: Response, url: string, method: string) => Promise;