import Decimal from "decimal.js"; import { IAccount, IAccountBalance, IAllocation, IApiKeyPermissions, IApiKeys, IAssetInsight, IBacktestAsset, IBacktestResult, ICandlestick, IExchangeAsset, IExchangeInfo, IHistoricalCandlestick, IHistoricalCount, IHistoricalOrderBook, IHistoricalInstrument, IHistoricalTrade, ILimitOrder, ILimitOrderStatus, IManagementCredits, IManagementStatus, IManagementUsage, IMarketOrderBooks, IPredictions, IStrategy, ITicker, ITotalBalanceHistoryItem, ITrade, ITradeChanges, ITradingPair, IUser } from "../models"; export declare class ShrimpyApiClient { private _accountBalanceDtoConverter; private _allocationDtoConverter; private _assetInsightDtoConverter; private _backtestAssetDtoConveter; private _backtestDataPointDtoConverter; private _candlestickDtoConverter; private _dateDtoConverter; private _decimalDtoConverter; private _historicalCandlestickDtoConverter; private _historicalOrderBooksDtoConverter; private _historicalInstrumentsDtoConverter; private _historicalTradesDtoConverter; private _limitOrderDtoConverter; private _limitOrderStatusDtoConverter; private _marketOrderBooksDtoConverter; private _predictionsDtoConverter; private _strategyDtoConverter; private _tickerDtoConverter; private _totalBalanceHistoryItemDtoConverter; private _tradeChangesDtoConverter; private _tradeDtoConverter; private _userDtoConverter; private _authenticationProvider; constructor(publicKey?: string, privateKey?: string); getSupportedExchanges(): Promise; getExchangeAssets(exchange: string): Promise; getTradingPairs(exchange: string): Promise; getTicker(exchange: string): Promise; getOrderBooks(exchange: string | string[], baseSymbol?: string | string[], quoteSymbol?: string | string[], limit?: number): Promise; getCandles(exchange: string, baseTradingSymbol: string, quoteTradingSymbol: string, interval: '1m' | '5m' | '15m' | '1h' | '6h' | '1d', startTime?: Date): Promise; getUsers(): Promise; getUser(userId: string): Promise; createUser(name?: string): Promise; setUserName(userId: string, name: string): Promise; removeUser(userId: string): Promise; enableUser(userId: string): Promise; disableUser(userId: string): Promise; getApiKeys(userId: string): Promise; createApiKeys(userId: string): Promise; deleteApiKeys(userId: string, publicKey: string): Promise; getPermissions(userId: string, publicKey: string): Promise; setPermissions(userId: string, publicKey: string, account: boolean, trade: boolean): Promise; getAccounts(userId: string): Promise; getAccount(userId: string, accountId: number): Promise; createAccount(userId: string, exchange: string, publicKey: string, privateKey: string, passphrase?: string): Promise; deleteAccount(userId: string, accountId: number): Promise; getIpWhitelistAddresses(userId: string): Promise; createTrade(userId: string, accountId: number, fromSymbol: string, toSymbol: string, amount: Decimal, smartRouting?: boolean, maxSpreadPercent?: Decimal, maxSlippagePercent?: Decimal): Promise; getTrade(userId: string, accountId: number, tradeId: string): Promise; getActiveTrades(userId: string, accountId: number): Promise; getBalance(userId: string, accountId: number, date?: Date): Promise; getTotalBalanceHistory(userId: string, accountId: number, startTime: Date | null, endTime: Date | null): Promise; rebalance(userId: string, accountId: number): Promise; getRebalancePeriod(userId: string, accountId: number): Promise; setRebalancePeriod(userId: string, accountId: number, rebalancePeriodHours: number): Promise; getStrategy(userId: string, accountId: number): Promise; setStrategy(userId: string, accountId: number, strategy: IStrategy): Promise; clearStrategy(userId: string, accountId: number): Promise; allocate(userId: string, accountId: number, strategy: IStrategy): Promise; createOrder(userId: string, accountId: number, baseSymbol: string, quoteSymbol: string, quantity: Decimal, price: Decimal, side: "BUY" | "SELL", timeInForce: "GTC" | "IOC"): Promise; getOrder(userId: string, accountId: number, orderId: string): Promise; getOrders(userId: string, accountId: number): Promise; cancelOrder(userId: string, accountId: number, orderId: string): Promise; getBacktestAssets(exchange: string, startTime?: Date, endTime?: Date): Promise; runBacktest(exchange: string, rebalancePeriodHours: number, fee: Decimal, startTime: Date, endTime: Date, initialValue: Decimal, allocations: IAllocation[]): Promise; getPredictions(exchange: string, baseTradingSymbol: string, quoteTradingSymbol: string): Promise; getAssetDominance(): Promise; getAssetPopularity(): Promise; getHistoricalTrades(exchange: string, baseTradingSymbol: string, quoteTradingSymbol: string, startTime: Date, endTime: Date, limit: number): Promise; getHistoricalOrderBooks(exchange: string, baseTradingSymbol: string, quoteTradingSymbol: string, startTime: Date, endTime: Date, limit: number): Promise; getHistoricalCandles(exchange: string, baseTradingSymbol: string, quoteTradingSymbol: string, startTime: Date, endTime: Date, limit: number, interval: '1m' | '5m' | '15m' | '1h' | '6h' | '1d'): Promise; getHistoricalInstruments(exchange?: string, baseTradingSymbol?: string, quoteTradingSymbol?: string): Promise; getHistoricalCount(type: 'trade' | 'orderbook', exchange: string, baseTradingSymbol: string, quoteTradingSymbol: string, startTime: Date, endTime: Date): Promise; getStatus(): Promise; getCredits(): Promise; getUsage(): Promise; getToken(): Promise; private _setApiCredentials; private _callEndpoint; }