export declare type Method = 'GET' | 'POST' | 'PUT' | 'DELETE' | 'PATCH'; export interface IRequestOptions { body?: {}; qs?: {}; } export declare class RequestWrapper { private static buildUrl; private baseUrl; constructor(baseUrl: string); buildJsonRequest: (path: string, method?: Method, options?: IRequestOptions) => { json: boolean; } & { url: string; method: Method; } & IRequestOptions; proxyJsonRequest(path: string, method?: Method, options?: IRequestOptions): Promise; } export declare function createWrapper(baseUrl: string): RequestWrapper;