/** * 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 Address, type Codec, type Decoder, type Encoder, type GetDiscriminatedUnionVariant, type GetDiscriminatedUnionVariantContent } from '@solana/kit'; export type RuleSetToggle = { __kind: 'None'; } | { __kind: 'Clear'; } | { __kind: 'Set'; fields: readonly [Address]; }; export type RuleSetToggleArgs = RuleSetToggle; export declare function getRuleSetToggleEncoder(): Encoder; export declare function getRuleSetToggleDecoder(): Decoder; export declare function getRuleSetToggleCodec(): Codec; export declare function ruleSetToggle(kind: 'None'): GetDiscriminatedUnionVariant; export declare function ruleSetToggle(kind: 'Clear'): GetDiscriminatedUnionVariant; export declare function ruleSetToggle(kind: 'Set', data: GetDiscriminatedUnionVariantContent['fields']): GetDiscriminatedUnionVariant; export declare function isRuleSetToggle(kind: K, value: RuleSetToggle): value is RuleSetToggle & { __kind: K; }; //# sourceMappingURL=ruleSetToggle.d.ts.map