/** * 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 AccountMeta, type AccountSignerMeta, type Address, type FixedSizeCodec, type FixedSizeDecoder, type FixedSizeEncoder, type Instruction, type InstructionWithAccounts, type InstructionWithData, type Option, type OptionOrNullable, type ReadonlyAccount, type ReadonlySignerAccount, type ReadonlyUint8Array, type TransactionSigner, type WritableAccount } from '@solana/kit'; import { TOKEN_2022_PROGRAM_ADDRESS } from '../programs'; export declare const UPDATE_GROUP_POINTER_DISCRIMINATOR = 40; export declare function getUpdateGroupPointerDiscriminatorBytes(): ReadonlyUint8Array; export declare const UPDATE_GROUP_POINTER_GROUP_POINTER_DISCRIMINATOR = 1; export declare function getUpdateGroupPointerGroupPointerDiscriminatorBytes(): ReadonlyUint8Array; export type UpdateGroupPointerInstruction = string, TAccountGroupPointerAuthority extends string | AccountMeta = string, TRemainingAccounts extends readonly AccountMeta[] = []> = Instruction & InstructionWithData & InstructionWithAccounts<[ TAccountMint extends string ? WritableAccount : TAccountMint, TAccountGroupPointerAuthority extends string ? ReadonlyAccount : TAccountGroupPointerAuthority, ...TRemainingAccounts ]>; export type UpdateGroupPointerInstructionData = { discriminator: number; groupPointerDiscriminator: number; /** The new account address that holds the group configurations. */ groupAddress: Option
; }; export type UpdateGroupPointerInstructionDataArgs = { /** The new account address that holds the group configurations. */ groupAddress: OptionOrNullable
; }; export declare function getUpdateGroupPointerInstructionDataEncoder(): FixedSizeEncoder; export declare function getUpdateGroupPointerInstructionDataDecoder(): FixedSizeDecoder; export declare function getUpdateGroupPointerInstructionDataCodec(): FixedSizeCodec; export type UpdateGroupPointerInput = { /** The mint to initialize. */ mint: Address; /** The group pointer authority or its multisignature account. */ groupPointerAuthority: Address | TransactionSigner; groupAddress: UpdateGroupPointerInstructionDataArgs['groupAddress']; multiSigners?: Array; }; export declare function getUpdateGroupPointerInstruction(input: UpdateGroupPointerInput, config?: { programAddress?: TProgramAddress; }): UpdateGroupPointerInstruction ? ReadonlySignerAccount & AccountSignerMeta : TAccountGroupPointerAuthority>; export type ParsedUpdateGroupPointerInstruction = { programAddress: Address; accounts: { /** The mint to initialize. */ mint: TAccountMetas[0]; /** The group pointer authority or its multisignature account. */ groupPointerAuthority: TAccountMetas[1]; }; data: UpdateGroupPointerInstructionData; }; export declare function parseUpdateGroupPointerInstruction(instruction: Instruction & InstructionWithAccounts & InstructionWithData): ParsedUpdateGroupPointerInstruction; //# sourceMappingURL=updateGroupPointer.d.ts.map