import { Method } from 'axios'; export declare class BaseAPI { protected GET: Method; protected POST: Method; protected DELETE: Method; protected PUT: Method; protected Bearer: string; private _username; private _secret; private _refreshToken; private _authToken; private _tokenExpiration; /** * setCredentials * @param {string} username - username for generating authentication * @param {string} secret - secret key from the platform * @param {string} token - Refresh Token taken from the platform. * */ setCredentials(username: string, secret: string, token: string): void; /** * setCredentials * @param {string} filePath - reading credentials from file path. * file content should be in JSON format and with the below keys: * {username:"",secret:"",token:""} */ setCredentialsFromFile(filePath: string): void; protected getBearerToken(): Promise; protected getBasicAuthToken(): string; }