/** * 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 TransferAuthorityInstructionAccounts = { 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; }; export declare type TransferAuthorityInstructionData = { discriminator: Array; newAuthority: PublicKey; }; export declare type TransferAuthorityInstructionDataArgs = { newAuthority: PublicKey; }; export declare function getTransferAuthorityInstructionDataSerializer(): Serializer; export declare type TransferAuthorityInstructionArgs = TransferAuthorityInstructionDataArgs; export declare function transferAuthority(context: Pick, input: TransferAuthorityInstructionAccounts & TransferAuthorityInstructionArgs): TransactionBuilder;