/** * 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 Address, type FixedSizeCodec, type FixedSizeDecoder, type FixedSizeEncoder, type Instruction, type InstructionWithAccounts, type InstructionWithData, type Option, type OptionOrNullable, type ReadonlyUint8Array, type WritableAccount } from '@solana/kit'; import { TOKEN_2022_PROGRAM_ADDRESS } from '../programs'; export declare const INITIALIZE_GROUP_POINTER_DISCRIMINATOR = 40; export declare function getInitializeGroupPointerDiscriminatorBytes(): ReadonlyUint8Array; export declare const INITIALIZE_GROUP_POINTER_GROUP_POINTER_DISCRIMINATOR = 0; export declare function getInitializeGroupPointerGroupPointerDiscriminatorBytes(): ReadonlyUint8Array; export type InitializeGroupPointerInstruction = string, TRemainingAccounts extends readonly AccountMeta[] = []> = Instruction & InstructionWithData & InstructionWithAccounts<[ TAccountMint extends string ? WritableAccount : TAccountMint, ...TRemainingAccounts ]>; export type InitializeGroupPointerInstructionData = { discriminator: number; groupPointerDiscriminator: number; /** The public key for the account that can update the group address. */ authority: Option
; /** The account address that holds the group. */ groupAddress: Option
; }; export type InitializeGroupPointerInstructionDataArgs = { /** The public key for the account that can update the group address. */ authority: OptionOrNullable
; /** The account address that holds the group. */ groupAddress: OptionOrNullable
; }; export declare function getInitializeGroupPointerInstructionDataEncoder(): FixedSizeEncoder; export declare function getInitializeGroupPointerInstructionDataDecoder(): FixedSizeDecoder; export declare function getInitializeGroupPointerInstructionDataCodec(): FixedSizeCodec; export type InitializeGroupPointerInput = { /** The mint to initialize. */ mint: Address; authority: InitializeGroupPointerInstructionDataArgs['authority']; groupAddress: InitializeGroupPointerInstructionDataArgs['groupAddress']; }; export declare function getInitializeGroupPointerInstruction(input: InitializeGroupPointerInput, config?: { programAddress?: TProgramAddress; }): InitializeGroupPointerInstruction; export type ParsedInitializeGroupPointerInstruction = { programAddress: Address; accounts: { /** The mint to initialize. */ mint: TAccountMetas[0]; }; data: InitializeGroupPointerInstructionData; }; export declare function parseInitializeGroupPointerInstruction(instruction: Instruction & InstructionWithAccounts & InstructionWithData): ParsedInitializeGroupPointerInstruction; //# sourceMappingURL=initializeGroupPointer.d.ts.map