/** * 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 AppendInstructionAccounts = { 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 AppendInstructionData = { discriminator: Array; leaf: Uint8Array; }; export declare type AppendInstructionDataArgs = { leaf: Uint8Array; }; export declare function getAppendInstructionDataSerializer(): Serializer; export declare type AppendInstructionArgs = AppendInstructionDataArgs; export declare function append(context: Pick, input: AppendInstructionAccounts & AppendInstructionArgs): TransactionBuilder;