import { GalaChainContext } from "@gala-chain/chaincode"; import BigNumber from "bignumber.js"; import { DexPositionData, Pool } from "../../api"; /** * Ensures that a burn request does not exceed the pool’s available token balances, * throwing an error if the requested amounts would break liquidity constraints. * * @param ctx - GalaChain context object used for balance lookups and chain interactions. * @param amounts - Array of BigNumbers representing token0 and token1 amounts requested to burn. * @param pool - The Pool object from which liquidity is being burned. * @param position - The DexPositionData object specifying the tickLower and tickUpper bounds. * * @throws NegativeAmountError - If a burn request specifies a negative amount. * @throws InsufficientLiquidityError - If the requested burn exceeds the pool’s available liquidity. */ export declare function ensureSufficientLiquidityForBurn(ctx: GalaChainContext, amounts: BigNumber[], pool: Pool, position: DexPositionData, positionLiquidityBefore?: BigNumber): Promise; //# sourceMappingURL=ensureSufficientLiquidityForBurn.d.ts.map