/** * 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 RefPriceToleranceOrTwapSource = { __kind: "None"; } | { __kind: "RefPriceToleranceBps"; fields: readonly [number]; } | { __kind: "TwapSource"; fields: readonly [number]; }; export type RefPriceToleranceOrTwapSourceArgs = RefPriceToleranceOrTwapSource; export declare function getRefPriceToleranceOrTwapSourceEncoder(): Encoder; export declare function getRefPriceToleranceOrTwapSourceDecoder(): Decoder; export declare function getRefPriceToleranceOrTwapSourceCodec(): Codec; export declare function refPriceToleranceOrTwapSource(kind: "None"): GetDiscriminatedUnionVariant; export declare function refPriceToleranceOrTwapSource(kind: "RefPriceToleranceBps", data: GetDiscriminatedUnionVariantContent["fields"]): GetDiscriminatedUnionVariant; export declare function refPriceToleranceOrTwapSource(kind: "TwapSource", data: GetDiscriminatedUnionVariantContent["fields"]): GetDiscriminatedUnionVariant; export declare function isRefPriceToleranceOrTwapSource(kind: K, value: RefPriceToleranceOrTwapSource): value is RefPriceToleranceOrTwapSource & { __kind: K; }; //# sourceMappingURL=refPriceToleranceOrTwapSource.d.ts.map