import { Method, AxiosResponse, AxiosRequestConfig, AxiosInstance } from 'axios'; import { TokenInfo } from './definitions'; export declare type RestOptions = { server: string; clientId?: string; clientSecret?: string; token?: TokenInfo; appName?: string; appVersion?: string; }; export declare type RestMethod = Method; export declare type RestResponse = AxiosResponse; export declare type RestRequestConfig = AxiosRequestConfig; export default class Rest { static sandboxServer: string; static productionServer: string; server: string; clientId: string; clientSecret: string; token?: TokenInfo; appName: string; appVersion: string; httpClient: AxiosInstance; constructor(options: RestOptions); request(method: RestMethod, endpoint: string, content?: {}, queryParams?: {}, config?: RestRequestConfig): Promise>; }