/** * This code was AUTOGENERATED using the kinobi library. * Please DO NOT EDIT THIS FILE, instead use visitors * to add features, then rerun kinobi to update it. * * @see https://github.com/metaplex-foundation/kinobi */ import { Context, Pda, PublicKey, Signer, TransactionBuilder } from '@metaplex-foundation/umi'; import { Serializer } from '@metaplex-foundation/umi/serializers'; export type AddMemberWalletInstructionAccounts = { authority?: Signer; member: PublicKey | Pda; fanout: PublicKey | Pda; membershipAccount?: PublicKey | Pda; systemProgram?: PublicKey | Pda; rent?: PublicKey | Pda; tokenProgram?: PublicKey | Pda; }; export type AddMemberWalletInstructionData = { discriminator: Array; shares: bigint; }; export type AddMemberWalletInstructionDataArgs = { shares: number | bigint; }; /** @deprecated Use `getAddMemberWalletInstructionDataSerializer()` without any argument instead. */ export declare function getAddMemberWalletInstructionDataSerializer(_context: object): Serializer; export declare function getAddMemberWalletInstructionDataSerializer(): Serializer; export type AddMemberWalletInstructionArgs = AddMemberWalletInstructionDataArgs; export declare function addMemberWallet(context: Pick, input: AddMemberWalletInstructionAccounts & AddMemberWalletInstructionArgs): TransactionBuilder;