/** * 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, Option, OptionOrNullable, Pda, PublicKey, Signer, TransactionBuilder } from '@metaplex-foundation/umi'; import { Serializer } from '@metaplex-foundation/umi/serializers'; export declare type CreateTreeConfigV2InstructionAccounts = { treeConfig?: PublicKey | Pda; merkleTree: PublicKey | Pda; payer?: Signer; /** Optional tree creator, defaults to `payer` */ treeCreator?: Signer; logWrapper?: PublicKey | Pda; compressionProgram?: PublicKey | Pda; systemProgram?: PublicKey | Pda; }; export declare type CreateTreeConfigV2InstructionData = { discriminator: Array; maxDepth: number; maxBufferSize: number; public: Option; }; export declare type CreateTreeConfigV2InstructionDataArgs = { maxDepth: number; maxBufferSize: number; public?: OptionOrNullable; }; export declare function getCreateTreeConfigV2InstructionDataSerializer(): Serializer; export declare type CreateTreeConfigV2InstructionArgs = CreateTreeConfigV2InstructionDataArgs; export declare function createTreeConfigV2(context: Pick, input: CreateTreeConfigV2InstructionAccounts & CreateTreeConfigV2InstructionArgs): TransactionBuilder;