/** * 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'; import { type Collection, type CollectionArgs } from '.'; export type CollectionToggle = { __kind: 'None'; } | { __kind: 'Clear'; } | { __kind: 'Set'; fields: readonly [Collection]; }; export type CollectionToggleArgs = { __kind: 'None'; } | { __kind: 'Clear'; } | { __kind: 'Set'; fields: readonly [CollectionArgs]; }; export declare function getCollectionToggleEncoder(): Encoder; export declare function getCollectionToggleDecoder(): Decoder; export declare function getCollectionToggleCodec(): Codec; export declare function collectionToggle(kind: 'None'): GetDiscriminatedUnionVariant; export declare function collectionToggle(kind: 'Clear'): GetDiscriminatedUnionVariant; export declare function collectionToggle(kind: 'Set', data: GetDiscriminatedUnionVariantContent['fields']): GetDiscriminatedUnionVariant; export declare function isCollectionToggle(kind: K, value: CollectionToggle): value is CollectionToggle & { __kind: K; }; //# sourceMappingURL=collectionToggle.d.ts.map