import Decimal from "decimal.js"; import { IAccount, IAccountBalance, IApiKeyPermissions, IApiKeys, IStrategy, ITicker, ITrade, ITradeChanges, IUser } from "../models"; export declare class ShrimpyApiClient { private _accountBalanceDtoConverter; private _decimalDtoConverter; private _userDtoConverter; private _strategyDtoConverter; private _tickerDtoConverter; private _tradeChangesDtoConverter; private _tradeDtoConverter; private _authenticationProvider; constructor(publicKey?: string, privateKey?: string); getTicker(exchange: string): Promise; getUsers(): Promise; getUser(userId: string): Promise; createUser(): Promise; enableSubscription(userId: string): Promise; disableSubscription(userId: string): Promise; createApiKeys(userId: string): Promise; deleteApiKeys(userId: string, publicKey: string): Promise; getApiKeys(userId: string): Promise; setPermissions(userId: string, publicKey: string, account: boolean, trade: boolean): Promise; getPermissions(userId: string, publicKey: string): 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; rebalance(userId: string, accountId: number): Promise; getRebalancePeriod(userId: string, accountId: number): Promise; setRebalancePeriod(userId: string, accountId: number, rebalancePeriodHours: number): Promise; setStrategy(userId: string, accountId: number, strategy: IStrategy): Promise; getStrategy(userId: string, accountId: number): Promise; allocate(userId: string, accountId: number, strategy: IStrategy): Promise; createTrade(userId: string, accountId: number, fromSymbol: string, toSymbol: string, amount: Decimal): Promise; getActiveTrades(userId: string, accountId: number): Promise; getTrade(userId: string, accountId: number, tradeId: string): Promise; getBalance(userId: string, accountId: number): Promise; private _setApiCredentials; private _callEndpoint; }