import * as types from "../types"; export declare class NftperpApis { private readonly _baseUrl; readonly markPrice: (amm: types.Amm) => Promise; readonly indexPrice: (amm: types.Amm) => Promise; readonly position: (amm: types.Amm, trader: string) => Promise; readonly makerPosition: (amm: types.Amm, trader: string) => Promise; readonly ammInfo: (amm: types.Amm) => Promise; readonly openSummary: (params: { amm: types.Amm; margin: number; leverage: number; side: types.Side; }) => Promise; readonly closeMarketSummary: (params: { amm: types.Amm; trader: string; closePercent: number; }) => Promise; readonly closeLimitSummary: (params: { amm: types.Amm; trader: string; trigger: number; closePercent: number; }) => Promise; readonly fundingRate: (amm: types.Amm) => Promise; readonly freeCollateral: (amm: types.Amm, trader: string) => Promise; readonly marginChangeSummary: (params: { amm: types.Amm; trader: string; margin: string; }) => Promise; readonly balances: (trader: string) => Promise; readonly ethPrice: () => Promise; readonly marketTrades: (params?: types.TradeApiParams) => Promise>; readonly fundings: (params?: types.FundingApiParams) => Promise>; readonly orders: (amm: types.Amm, trader?: string) => Promise; readonly triggerOrders: (amm: types.Amm, trader: string) => Promise; readonly orderbook: (amm: types.Amm) => Promise; private _checkError; }