/** * 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 InsertOrAppendInstructionAccounts = { 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 InsertOrAppendInstructionData = { discriminator: Array; root: Uint8Array; leaf: Uint8Array; index: number; }; export declare type InsertOrAppendInstructionDataArgs = { root: Uint8Array; leaf: Uint8Array; index: number; }; export declare function getInsertOrAppendInstructionDataSerializer(): Serializer; export declare type InsertOrAppendInstructionArgs = InsertOrAppendInstructionDataArgs; export declare function insertOrAppend(context: Pick, input: InsertOrAppendInstructionAccounts & InsertOrAppendInstructionArgs): TransactionBuilder;