/** * 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 ReadonlyUint8Array, type WritableAccount } from '@solana/kit'; import { MPL_BUBBLEGUM_PROGRAM_ADDRESS } from '../programs'; export declare const COLLECT_V2_DISCRIMINATOR: Uint8Array; export declare function getCollectV2DiscriminatorBytes(): ReadonlyUint8Array; export type CollectV2Instruction = string, TAccountDestination extends string | AccountMeta = '2dgJVPC5fjLTBTmMvKDRig9JJUGK2Fgwr3EHShFxckhv', TRemainingAccounts extends readonly AccountMeta[] = []> = Instruction & InstructionWithData & InstructionWithAccounts<[ TAccountTreeConfig extends string ? WritableAccount : TAccountTreeConfig, TAccountDestination extends string ? WritableAccount : TAccountDestination, ...TRemainingAccounts ]>; export type CollectV2InstructionData = { discriminator: ReadonlyUint8Array; }; export type CollectV2InstructionDataArgs = {}; export declare function getCollectV2InstructionDataEncoder(): FixedSizeEncoder; export declare function getCollectV2InstructionDataDecoder(): FixedSizeDecoder; export declare function getCollectV2InstructionDataCodec(): FixedSizeCodec; export type CollectV2Input = { treeConfig: Address; destination?: Address; }; export declare function getCollectV2Instruction(input: CollectV2Input, config?: { programAddress?: TProgramAddress; }): CollectV2Instruction; export type ParsedCollectV2Instruction = { programAddress: Address; accounts: { treeConfig: TAccountMetas[0]; destination: TAccountMetas[1]; }; data: CollectV2InstructionData; }; export declare function parseCollectV2Instruction(instruction: Instruction & InstructionWithAccounts & InstructionWithData): ParsedCollectV2Instruction; //# sourceMappingURL=collectV2.d.ts.map