import { FixedSizeCodec, FixedSizeDecoder, FixedSizeEncoder } from "@solana/kit"; //#region src/generated/types/swapResult.d.ts /** Encodes all results of swapping */ type SwapResult = { outputAmount: bigint; nextSqrtPrice: bigint; lpFee: bigint; protocolFee: bigint; partnerFee: bigint; referralFee: bigint; }; type SwapResultArgs = { outputAmount: number | bigint; nextSqrtPrice: number | bigint; lpFee: number | bigint; protocolFee: number | bigint; partnerFee: number | bigint; referralFee: number | bigint; }; declare function getSwapResultEncoder(): FixedSizeEncoder; declare function getSwapResultDecoder(): FixedSizeDecoder; declare function getSwapResultCodec(): FixedSizeCodec; //#endregion export { SwapResult, SwapResultArgs, getSwapResultCodec, getSwapResultDecoder, getSwapResultEncoder }; //# sourceMappingURL=swapResult.d.ts.map