/** * 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'; import { BasePluginAuthority, BasePluginAuthorityArgs, PluginType, PluginTypeArgs } from '../types'; export type ApprovePluginAuthorityV1InstructionAccounts = { /** The address of the asset */ asset: PublicKey | Pda; /** The collection to which the asset belongs */ collection?: PublicKey | Pda; /** The account paying for the storage fees */ payer?: Signer; /** The owner or delegate of the asset */ authority?: Signer; /** The system program */ systemProgram?: PublicKey | Pda; /** The SPL Noop Program */ logWrapper?: PublicKey | Pda; }; export type ApprovePluginAuthorityV1InstructionData = { discriminator: number; pluginType: PluginType; newAuthority: BasePluginAuthority; }; export type ApprovePluginAuthorityV1InstructionDataArgs = { pluginType: PluginTypeArgs; newAuthority: BasePluginAuthorityArgs; }; export declare function getApprovePluginAuthorityV1InstructionDataSerializer(): Serializer; export type ApprovePluginAuthorityV1InstructionArgs = ApprovePluginAuthorityV1InstructionDataArgs; export declare function approvePluginAuthorityV1(context: Pick, input: ApprovePluginAuthorityV1InstructionAccounts & ApprovePluginAuthorityV1InstructionArgs): TransactionBuilder;