import * as _solana_web3_js from '@solana/web3.js'; import { Structure } from '../../marshmallow/index.js'; import * as BN from 'bn.js'; import { GetStructureSchema } from '../../marshmallow/buffer-layout.js'; declare const fixedSwapInLayout: Structure; declare const fixedSwapOutLayout: Structure; declare const createPoolV4Layout: Structure; declare const initPoolLayout: Structure; declare const liquidityStateV4Layout: Structure<_solana_web3_js.PublicKey | BN | BN[], "", { state: BN; nonce: BN; lpVault: _solana_web3_js.PublicKey; lpMint: _solana_web3_js.PublicKey; padding: BN[]; owner: _solana_web3_js.PublicKey; status: BN; maxOrder: BN; depth: BN; baseDecimal: BN; quoteDecimal: BN; resetFlag: BN; minSize: BN; volMaxCutRatio: BN; amountWaveRatio: BN; baseLotSize: BN; quoteLotSize: BN; minPriceMultiplier: BN; maxPriceMultiplier: BN; systemDecimalValue: BN; minSeparateNumerator: BN; minSeparateDenominator: BN; tradeFeeNumerator: BN; tradeFeeDenominator: BN; pnlNumerator: BN; pnlDenominator: BN; swapFeeNumerator: BN; swapFeeDenominator: BN; baseNeedTakePnl: BN; quoteNeedTakePnl: BN; quoteTotalPnl: BN; baseTotalPnl: BN; poolOpenTime: BN; punishPcAmount: BN; punishCoinAmount: BN; orderbookToInitTime: BN; swapBaseInAmount: BN; swapQuoteOutAmount: BN; swapBase2QuoteFee: BN; swapQuoteInAmount: BN; swapBaseOutAmount: BN; swapQuote2BaseFee: BN; baseVault: _solana_web3_js.PublicKey; quoteVault: _solana_web3_js.PublicKey; baseMint: _solana_web3_js.PublicKey; quoteMint: _solana_web3_js.PublicKey; openOrders: _solana_web3_js.PublicKey; marketId: _solana_web3_js.PublicKey; marketProgramId: _solana_web3_js.PublicKey; targetOrders: _solana_web3_js.PublicKey; withdrawQueue: _solana_web3_js.PublicKey; lpReserve: BN; }>; declare type LiquidityStateLayoutV4 = typeof liquidityStateV4Layout; declare type LiquidityStateV4 = GetStructureSchema; declare const liquidityStateV5Layout: Structure<_solana_web3_js.PublicKey | BN | BN[], "", { state: BN; nonce: BN; lpMint: _solana_web3_js.PublicKey; padding: BN[]; owner: _solana_web3_js.PublicKey; status: BN; maxOrder: BN; depth: BN; baseDecimal: BN; quoteDecimal: BN; resetFlag: BN; minSize: BN; volMaxCutRatio: BN; amountWaveRatio: BN; baseLotSize: BN; quoteLotSize: BN; minPriceMultiplier: BN; maxPriceMultiplier: BN; minSeparateNumerator: BN; minSeparateDenominator: BN; tradeFeeNumerator: BN; tradeFeeDenominator: BN; pnlNumerator: BN; pnlDenominator: BN; swapFeeNumerator: BN; swapFeeDenominator: BN; baseNeedTakePnl: BN; quoteNeedTakePnl: BN; quoteTotalPnl: BN; baseTotalPnl: BN; poolOpenTime: BN; punishPcAmount: BN; punishCoinAmount: BN; orderbookToInitTime: BN; swapBaseInAmount: BN; swapQuoteOutAmount: BN; swapBase2QuoteFee: BN; swapQuoteInAmount: BN; swapBaseOutAmount: BN; swapQuote2BaseFee: BN; baseVault: _solana_web3_js.PublicKey; quoteVault: _solana_web3_js.PublicKey; baseMint: _solana_web3_js.PublicKey; quoteMint: _solana_web3_js.PublicKey; openOrders: _solana_web3_js.PublicKey; marketId: _solana_web3_js.PublicKey; marketProgramId: _solana_web3_js.PublicKey; targetOrders: _solana_web3_js.PublicKey; accountType: BN; systemDecimalsValue: BN; abortTradeFactor: BN; priceTickMultiplier: BN; priceTick: BN; modelDataAccount: _solana_web3_js.PublicKey; }>; declare const addLiquidityLayout: Structure; declare const removeLiquidityLayout: Structure; declare type LiquidityStateLayoutV5 = typeof liquidityStateV5Layout; declare type LiquidityStateV5 = GetStructureSchema; declare type LiquidityState = LiquidityStateV4 | LiquidityStateV5; declare type LiquidityStateLayout = LiquidityStateLayoutV4 | LiquidityStateLayoutV5; declare const LIQUIDITY_VERSION_TO_STATE_LAYOUT: { [version: number]: LiquidityStateLayout; }; declare const createPoolFeeLayout: Structure; export { LIQUIDITY_VERSION_TO_STATE_LAYOUT, LiquidityState, LiquidityStateLayout, LiquidityStateLayoutV4, LiquidityStateLayoutV5, LiquidityStateV4, LiquidityStateV5, addLiquidityLayout, createPoolFeeLayout, createPoolV4Layout, fixedSwapInLayout, fixedSwapOutLayout, initPoolLayout, liquidityStateV4Layout, liquidityStateV5Layout, removeLiquidityLayout };