/** * 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 type FreezeDelegatedAccountInstructionAccounts = { /** Delegate */ delegate: Signer; /** Token account to freeze */ tokenAccount: PublicKey | Pda; /** Edition */ edition?: PublicKey | Pda; /** Token mint */ mint: PublicKey | Pda; /** Token Program */ tokenProgram?: PublicKey | Pda; }; export type FreezeDelegatedAccountInstructionData = { discriminator: number; }; export type FreezeDelegatedAccountInstructionDataArgs = {}; export declare function getFreezeDelegatedAccountInstructionDataSerializer(): Serializer; export declare function freezeDelegatedAccount(context: Pick, input: FreezeDelegatedAccountInstructionAccounts): TransactionBuilder;