import type { Token } from '@crypto-dex-sdk/currency'; import { Amount } from '@crypto-dex-sdk/currency'; import { Fraction, JSBI } from '@crypto-dex-sdk/math'; export declare class StableSwap { readonly chainId: number; readonly contractAddress: string; readonly pooledTokens: Token[]; readonly liquidityToken: Token; readonly totalSupply: Amount; readonly tokenMultipliers: JSBI[]; readonly balances: Amount[]; readonly swapFee: JSBI; readonly adminFee: JSBI; readonly A: JSBI; readonly APrecise: JSBI; readonly virtualPriceRaw: JSBI; readonly virtualPrice: Fraction; constructor(chainId: number, contractAddress: string, pooledTokens: Token[], liquidityToken: Token, totalSupply: Amount, balances: Amount[], swapFee: JSBI, adminFee: JSBI, A: JSBI, virtualPrice: JSBI); private _xp; private _sumOf; private _distance; private _getD; _getY(inIndex: number, outIndex: number, inBalance: JSBI, normalizedBalances: JSBI[]): JSBI; private _getYD; private get _feePerToken(); get xp(): JSBI[]; getTokenIndex(token: Token): number; getToken(index: number): Token; involvesToken(token: Token): boolean; calculateTokenAmount(amounts: Amount[], deposit: boolean): Amount; calculateSwap(inIndex: number, outIndex: number, inAmount: Amount): Amount; calculateRemoveLiquidity(amount: Amount): Amount[]; calculateRemoveLiquidityOneToken(amount: Amount, index: number): [Amount, Amount]; } //# sourceMappingURL=StableSwap.d.ts.map