/** * 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 { PickPartial } from '../shared'; import { TokenStandardArgs } from '../types'; export type RevokeDataItemV1InstructionAccounts = { /** Delegate record account */ delegateRecord?: PublicKey | Pda; /** Owner of the delegated account */ delegate: PublicKey | Pda; /** Metadata account */ metadata?: PublicKey | Pda; /** Master Edition account */ masterEdition?: PublicKey | Pda; /** Token record account */ tokenRecord?: PublicKey | Pda; /** Mint of metadata */ mint: PublicKey | Pda; /** Token account of mint */ token?: PublicKey | Pda; /** Update authority or token owner */ authority?: Signer; /** Payer */ payer?: Signer; /** System Program */ systemProgram?: PublicKey | Pda; /** Instructions sysvar account */ sysvarInstructions?: PublicKey | Pda; /** SPL Token Program */ splTokenProgram?: PublicKey | Pda; /** Token Authorization Rules Program */ authorizationRulesProgram?: PublicKey | Pda; /** Token Authorization Rules account */ authorizationRules?: PublicKey | Pda; }; export type RevokeDataItemV1InstructionData = { discriminator: number; revokeDataItemV1Discriminator: number; }; export type RevokeDataItemV1InstructionDataArgs = {}; export declare function getRevokeDataItemV1InstructionDataSerializer(): Serializer; export type RevokeDataItemV1InstructionExtraArgs = { tokenStandard: TokenStandardArgs; updateAuthority: PublicKey; }; export type RevokeDataItemV1InstructionArgs = PickPartial; export declare function revokeDataItemV1(context: Pick, input: RevokeDataItemV1InstructionAccounts & RevokeDataItemV1InstructionArgs): TransactionBuilder;