export declare enum BmbyContentType { UrlEncoded = 0, Json = 1 } export declare enum BmbyHttpMethod { Get = 0, Post = 1, Put = 2, Delete = 3, Patch = 4 } export declare enum BmbyHttpResponseStatus { Ok = 200, Created = 201, BadRequest = 400, Unauthorized = 401, NotFound = 404, ServerError = 500 } export declare class BmbyHttpResponse { private _status; private _data; constructor(_status: BmbyHttpResponseStatus, _data: any); readonly status: BmbyHttpResponseStatus; readonly data: any; } export interface IBmbyHttpClient { base64Decode(encodedString: string): string; urlEncode(data: Object): any; request(url: string, method: BmbyHttpMethod, headers: any, content?: any): Promise; upload(url: string, meta: any, filePath: string, headers: any): Promise; }