import { AutoRepaySetting } from '../model/autoRepaySetting'; import { CrossMarginLoan } from '../model/crossMarginLoan'; import { CrossMarginRepayment } from '../model/crossMarginRepayment'; import { FundingAccount } from '../model/fundingAccount'; import { MarginAccount } from '../model/marginAccount'; import { MarginAccountBook } from '../model/marginAccountBook'; import { MarginLeverageTier } from '../model/marginLeverageTier'; import { MarginMarketLeverage } from '../model/marginMarketLeverage'; import { MarginTransferable } from '../model/marginTransferable'; import { ApiClient } from './apiClient'; import { AxiosResponse } from 'axios'; export declare class MarginApi { protected client: ApiClient; constructor(client?: ApiClient); listMarginAccounts(opts?: { currencyPair?: string; }): Promise<{ response: AxiosResponse; body: Array; }>; listMarginAccountBook(opts?: { currency?: string; currencyPair?: string; type?: string; from?: number; to?: number; page?: number; limit?: number; }): Promise<{ response: AxiosResponse; body: Array; }>; listFundingAccounts(opts?: { currency?: string; }): Promise<{ response: AxiosResponse; body: Array; }>; getAutoRepayStatus(): Promise<{ response: AxiosResponse; body: AutoRepaySetting; }>; setAutoRepay(status: string): Promise<{ response: AxiosResponse; body: AutoRepaySetting; }>; getMarginTransferable(currency: string, opts?: { currencyPair?: string; }): Promise<{ response: AxiosResponse; body: MarginTransferable; }>; getUserMarginTier(currencyPair: string): Promise<{ response: AxiosResponse; body: Array; }>; getMarketMarginTier(currencyPair: string): Promise<{ response: AxiosResponse; body: Array; }>; setUserMarketLeverage(marginMarketLeverage: MarginMarketLeverage): Promise<{ response: AxiosResponse; body?: any; }>; listMarginUserAccount(opts?: { currencyPair?: string; }): Promise<{ response: AxiosResponse; body: Array; }>; listCrossMarginLoans(status: number, opts?: { currency?: string; limit?: number; offset?: number; reverse?: boolean; }): Promise<{ response: AxiosResponse; body: Array; }>; listCrossMarginRepayments(opts?: { currency?: string; loanId?: string; limit?: number; offset?: number; reverse?: boolean; }): Promise<{ response: AxiosResponse; body: Array; }>; }