/** * 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 declare type InitPreparedTreeWithRootInstructionAccounts = { merkleTree: PublicKey | Pda; /** * Authority that controls write-access to the tree * Typically a program, e.g., the Bubblegum contract validates that leaves are valid NFTs. */ authority?: Signer; /** Program used to emit changelogs as cpi instruction data. */ noop: PublicKey | Pda; }; export declare type InitPreparedTreeWithRootInstructionData = { discriminator: Array; root: Uint8Array; rightmostLeaf: Uint8Array; rightmostIndex: number; }; export declare type InitPreparedTreeWithRootInstructionDataArgs = { root: Uint8Array; rightmostLeaf: Uint8Array; rightmostIndex: number; }; export declare function getInitPreparedTreeWithRootInstructionDataSerializer(): Serializer; export declare type InitPreparedTreeWithRootInstructionArgs = InitPreparedTreeWithRootInstructionDataArgs; export declare function initPreparedTreeWithRoot(context: Pick, input: InitPreparedTreeWithRootInstructionAccounts & InitPreparedTreeWithRootInstructionArgs): TransactionBuilder;