/** * 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 RebalanceEffects = { __kind: "NewRange"; fields: readonly [number, number]; } | { __kind: "WithdrawAndFreeze"; }; export type RebalanceEffectsArgs = RebalanceEffects; export declare function getRebalanceEffectsEncoder(): Encoder; export declare function getRebalanceEffectsDecoder(): Decoder; export declare function getRebalanceEffectsCodec(): Codec; export declare function rebalanceEffects(kind: "NewRange", data: GetDiscriminatedUnionVariantContent["fields"]): GetDiscriminatedUnionVariant; export declare function rebalanceEffects(kind: "WithdrawAndFreeze"): GetDiscriminatedUnionVariant; export declare function isRebalanceEffects(kind: K, value: RebalanceEffects): value is RebalanceEffects & { __kind: K; }; //# sourceMappingURL=rebalanceEffects.d.ts.map