import { AutoInvestCoinsItem } from '../model/autoInvestCoinsItem'; import { AutoInvestConfigItem } from '../model/autoInvestConfigItem'; import { AutoInvestMinInvestAmount } from '../model/autoInvestMinInvestAmount'; import { AutoInvestMinInvestAmountResp } from '../model/autoInvestMinInvestAmountResp'; import { AutoInvestOrderItem } from '../model/autoInvestOrderItem'; import { AutoInvestPlanAddPosition } from '../model/autoInvestPlanAddPosition'; import { AutoInvestPlanCreate } from '../model/autoInvestPlanCreate'; import { AutoInvestPlanCreateResp } from '../model/autoInvestPlanCreateResp'; import { AutoInvestPlanDetail } from '../model/autoInvestPlanDetail'; import { AutoInvestPlanListInfoResp } from '../model/autoInvestPlanListInfoResp'; import { AutoInvestPlanRecordsResp } from '../model/autoInvestPlanRecordsResp'; import { AutoInvestPlanStop } from '../model/autoInvestPlanStop'; import { AutoInvestPlanUpdate } from '../model/autoInvestPlanUpdate'; import { AwardListStruct } from '../model/awardListStruct'; import { CreateEarnFixedTermLendResponse } from '../model/createEarnFixedTermLendResponse'; import { CreateEarnFixedTermPreRedeemResponse } from '../model/createEarnFixedTermPreRedeemResponse'; import { DualGetBalance } from '../model/dualGetBalance'; import { DualGetOrders } from '../model/dualGetOrders'; import { DualGetPlans } from '../model/dualGetPlans'; import { DualModifyOrderReinvestParams } from '../model/dualModifyOrderReinvestParams'; import { DualOrderRefundParams } from '../model/dualOrderRefundParams'; import { DualOrderRefundPreview } from '../model/dualOrderRefundPreview'; import { DualProjectRecommend } from '../model/dualProjectRecommend'; import { EarnFixedTermPreRedeemRequest } from '../model/earnFixedTermPreRedeemRequest'; import { FixedTermLendRequest } from '../model/fixedTermLendRequest'; import { ListEarnFixedTermHistoryResponse } from '../model/listEarnFixedTermHistoryResponse'; import { ListEarnFixedTermLendsResponse } from '../model/listEarnFixedTermLendsResponse'; import { ListEarnFixedTermProductsByAssetResponse } from '../model/listEarnFixedTermProductsByAssetResponse'; import { ListEarnFixedTermProductsResponse } from '../model/listEarnFixedTermProductsResponse'; import { OrderListStruct } from '../model/orderListStruct'; import { PlaceDualInvestmentOrder } from '../model/placeDualInvestmentOrder'; import { PlaceDualInvestmentOrderParams } from '../model/placeDualInvestmentOrderParams'; import { SwapCoin } from '../model/swapCoin'; import { SwapCoinStruct } from '../model/swapCoinStruct'; import { ApiClient } from './apiClient'; import { AxiosResponse } from 'axios'; export declare class EarnApi { protected client: ApiClient; constructor(client?: ApiClient); listDualInvestmentPlans(opts?: { planId?: number; coin?: string; type?: string; quoteCurrency?: string; sort?: string; page?: number; pageSize?: number; }): Promise<{ response: AxiosResponse; body: Array; }>; listDualOrders(opts?: { from?: number; to?: number; type?: string; status?: string; coin?: string; page?: number; limit?: number; }): Promise<{ response: AxiosResponse; body: Array; }>; placeDualOrder(placeDualInvestmentOrderParams: PlaceDualInvestmentOrderParams): Promise<{ response: AxiosResponse; body: PlaceDualInvestmentOrder; }>; listDualBalance(): Promise<{ response: AxiosResponse; body: DualGetBalance; }>; getDualOrderRefundPreview(orderId: string): Promise<{ response: AxiosResponse; body: DualOrderRefundPreview; }>; placeDualOrderRefund(dualOrderRefundParams: DualOrderRefundParams): Promise<{ response: AxiosResponse; body?: any; }>; modifyDualOrderReinvest(dualModifyOrderReinvestParams: DualModifyOrderReinvestParams): Promise<{ response: AxiosResponse; body?: any; }>; getDualProjectRecommend(opts?: { mode?: string; coin?: string; type?: string; historyPids?: string; }): Promise<{ response: AxiosResponse; body: Array; }>; findCoin(opts?: { cointype?: string; }): Promise<{ response: AxiosResponse; body: Array; }>; swapStakingCoin(swapCoin: SwapCoin): Promise<{ response: AxiosResponse; body: SwapCoinStruct; }>; orderList(opts?: { pid?: number; coin?: string; type?: number; page?: number; }): Promise<{ response: AxiosResponse; body: OrderListStruct; }>; awardList(opts?: { pid?: number; coin?: string; page?: number; }): Promise<{ response: AxiosResponse; body: AwardListStruct; }>; assetList(opts?: { coin?: string; }): Promise<{ response: AxiosResponse; body: Array; }>; createAutoInvestPlan(autoInvestPlanCreate: AutoInvestPlanCreate): Promise<{ response: AxiosResponse; body: AutoInvestPlanCreateResp; }>; updateAutoInvestPlan(autoInvestPlanUpdate: AutoInvestPlanUpdate): Promise<{ response: AxiosResponse; body?: any; }>; stopAutoInvestPlan(autoInvestPlanStop: AutoInvestPlanStop): Promise<{ response: AxiosResponse; body?: any; }>; addPositionAutoInvestPlan(autoInvestPlanAddPosition: AutoInvestPlanAddPosition): Promise<{ response: AxiosResponse; body?: any; }>; listAutoInvestCoins(opts?: { planMoney?: string; }): Promise<{ response: AxiosResponse; body: Array; }>; getAutoInvestMinAmount(autoInvestMinInvestAmount: AutoInvestMinInvestAmount): Promise<{ response: AxiosResponse; body: AutoInvestMinInvestAmountResp; }>; listAutoInvestPlanRecords(planId: number, opts?: { page?: number; pageSize?: number; }): Promise<{ response: AxiosResponse; body: AutoInvestPlanRecordsResp; }>; listAutoInvestOrders(planId: number, recordId: number): Promise<{ response: AxiosResponse; body: Array; }>; listAutoInvestConfig(): Promise<{ response: AxiosResponse; body: Array; }>; getAutoInvestPlanDetail(planId: number): Promise<{ response: AxiosResponse; body: AutoInvestPlanDetail; }>; listAutoInvestPlans(status: string, opts?: { page?: number; pageSize?: number; }): Promise<{ response: AxiosResponse; body: AutoInvestPlanListInfoResp; }>; listEarnFixedTermProducts(page: number, limit: number, opts?: { asset?: string; type?: number; }): Promise<{ response: AxiosResponse; body: ListEarnFixedTermProductsResponse; }>; listEarnFixedTermProductsByAsset(asset: string, opts?: { type?: string; }): Promise<{ response: AxiosResponse; body: ListEarnFixedTermProductsByAssetResponse; }>; listEarnFixedTermLends(orderType: string, page: number, limit: number, opts?: { productId?: number; orderId?: number; asset?: string; subBusiness?: number; businessFilter?: string; }): Promise<{ response: AxiosResponse; body: ListEarnFixedTermLendsResponse; }>; createEarnFixedTermLend(opts?: { fixedTermLendRequest?: FixedTermLendRequest; }): Promise<{ response: AxiosResponse; body: CreateEarnFixedTermLendResponse; }>; createEarnFixedTermPreRedeem(opts?: { earnFixedTermPreRedeemRequest?: EarnFixedTermPreRedeemRequest; }): Promise<{ response: AxiosResponse; body: CreateEarnFixedTermPreRedeemResponse; }>; listEarnFixedTermHistory(type: string, page: number, limit: number, opts?: { productId?: number; orderId?: string; asset?: string; startAt?: number; endAt?: number; subBusiness?: number; businessFilter?: string; }): Promise<{ response: AxiosResponse; body: ListEarnFixedTermHistoryResponse; }>; }