import { Application } from './Application'; import { IServiceHeaders } from './IServiceHeaders'; import { HTTPMethod } from './HTTPMethod'; import { ServiceResponse } from './ServiceResponse'; export declare abstract class ServiceProvider { private $app; constructor(app: Application); protected abstract _getBase(): string; protected abstract _getPort(): number; protected _getApp(): Application; getApp(): Application; protected _getDomain(): string; private $getSecret; urlSuffix(): string; protected _getProtocol(): string; getVersion(): string; protected _createURL(url: string, queryParams?: Record): string; request(method: HTTPMethod, url: string, accessToken: string, data: any, headers?: IServiceHeaders, additionalOptions?: any): Promise; private $sendRequest; get(url: string, accessToken: string, data?: any, headers?: IServiceHeaders, additionalOptions?: any): Promise; post(url: string, accessToken: string, data?: any, headers?: IServiceHeaders, additionalOptions?: any): Promise; put(url: string, accessToken: string, data?: any, headers?: IServiceHeaders, additionalOptions?: any): Promise; delete(url: string, accessToken: string, data?: any, headers?: IServiceHeaders, additionalOptions?: any): Promise; }