import { AxiosDefaults, AxiosInstance, AxiosInterceptorManager, AxiosRequestConfig, AxiosResponse } from 'axios'; import { LoginAPI } from '../login'; import { MarketAPI } from '../market'; import { DealingAPI } from '../dealing'; import { AccountAPI } from '../account'; export interface Authorization { accessToken?: string; accountId?: string; apiKey?: string; clientSessionToken?: string; lightstreamerEndpoint?: string; password?: string; refreshToken?: string; securityToken?: string; username?: string; } export declare class RESTClient { private readonly apiKey; get defaults(): AxiosDefaults; get interceptors(): { request: AxiosInterceptorManager; response: AxiosInterceptorManager; }; readonly login: LoginAPI; readonly market: MarketAPI; readonly dealing: DealingAPI; readonly account: AccountAPI; readonly httpClient: AxiosInstance; readonly auth: Authorization; constructor(baseURL: string, apiKey: string | Authorization); }