/** * This code was AUTOGENERATED using the Codama library. * Please DO NOT EDIT THIS FILE, instead use visitors * to add features, then rerun Codama to update it. * * @see https://github.com/codama-idl/codama */ import { type Codec, type Decoder, type Encoder, type GetDiscriminatedUnionVariant, type GetDiscriminatedUnionVariantContent } from "@solana/kit"; export type BinAddLiquidityStrategy = { __kind: "Uniform"; currentBinIndex: number; lowerBinIndex: number; upperBinIndex: number; amountXToDeposit: bigint; amountYToDeposit: bigint; xCurrentBin: bigint; yCurrentBin: bigint; } | { __kind: "CurrentTick"; fields: readonly [number]; }; export type BinAddLiquidityStrategyArgs = { __kind: "Uniform"; currentBinIndex: number; lowerBinIndex: number; upperBinIndex: number; amountXToDeposit: number | bigint; amountYToDeposit: number | bigint; xCurrentBin: number | bigint; yCurrentBin: number | bigint; } | { __kind: "CurrentTick"; fields: readonly [number]; }; export declare function getBinAddLiquidityStrategyEncoder(): Encoder; export declare function getBinAddLiquidityStrategyDecoder(): Decoder; export declare function getBinAddLiquidityStrategyCodec(): Codec; export declare function binAddLiquidityStrategy(kind: "Uniform", data: GetDiscriminatedUnionVariantContent): GetDiscriminatedUnionVariant; export declare function binAddLiquidityStrategy(kind: "CurrentTick", data: GetDiscriminatedUnionVariantContent["fields"]): GetDiscriminatedUnionVariant; export declare function isBinAddLiquidityStrategy(kind: K, value: BinAddLiquidityStrategy): value is BinAddLiquidityStrategy & { __kind: K; }; //# sourceMappingURL=binAddLiquidityStrategy.d.ts.map