import { BmbyHttpResponse, IBmbyHttpClient, BmbyContentType } from '../IBmbyHttpClient'; import { ILocalStorage } from '../ILocalStorage'; export declare abstract class BmbyRest { protected _endPoint: string; protected _clientId: string; protected _clientSecret: string; protected _refereshTokenField: string; protected _accessTokenField: string; protected _tokenExpirationField: string; protected _httpClient: IBmbyHttpClient; protected _storage: ILocalStorage; protected _contentTypes: any; protected getHeaders(authorize: boolean, contentType?: BmbyContentType): any; protected post(uri: string, data: any, authorize: boolean, contentType: BmbyContentType): Promise; protected put(uri: string, data: any, authorize: boolean): Promise; protected patch(uri: string, data: any, authorize: boolean): Promise; protected delete(uri: string, authorize: boolean, data?: any): Promise; protected get(uri: string, authorize: boolean, params?: any): Promise; protected upload(uri: string, meta: any, filePath: string): Promise; constructor(httpClient: IBmbyHttpClient, storage: ILocalStorage, endPoint?: string); endPoint: string; }