import { FixedSizeCodec, FixedSizeDecoder, FixedSizeEncoder } from "@solana/kit"; //#region src/generated/types/swapParameters2.d.ts type SwapParameters2 = { /** When it's exact in, partial fill, this will be amount_in. When it's exact out, this will be amount_out */ amount0: bigint; /** When it's exact in, partial fill, this will be minimum_amount_out. When it's exact out, this will be maximum_amount_in */ amount1: bigint; /** Swap mode, refer [SwapMode] */ swapMode: number; }; type SwapParameters2Args = { /** When it's exact in, partial fill, this will be amount_in. When it's exact out, this will be amount_out */ amount0: number | bigint; /** When it's exact in, partial fill, this will be minimum_amount_out. When it's exact out, this will be maximum_amount_in */ amount1: number | bigint; /** Swap mode, refer [SwapMode] */ swapMode: number; }; declare function getSwapParameters2Encoder(): FixedSizeEncoder; declare function getSwapParameters2Decoder(): FixedSizeDecoder; declare function getSwapParameters2Codec(): FixedSizeCodec; //#endregion export { SwapParameters2, SwapParameters2Args, getSwapParameters2Codec, getSwapParameters2Decoder, getSwapParameters2Encoder }; //# sourceMappingURL=swapParameters2.d.ts.map