/** * This code was GENERATED using the solita package. * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality. * * See: https://github.com/metaplex-foundation/solita */ import * as beet from '@metaplex-foundation/beet'; import * as web3 from '@solana/web3.js'; import { ApproveAndSetInUseByIx } from '../types/ApproveAndSetInUseByIx'; /** * @category Instructions * @category ApproveAndSetInUseBy * @category generated */ export declare type ApproveAndSetInUseByInstructionArgs = { approveAndSetInUseByIx: ApproveAndSetInUseByIx; }; /** * @category Instructions * @category ApproveAndSetInUseBy * @category generated */ export declare const ApproveAndSetInUseByStruct: beet.BeetArgsStruct; /** * Accounts required by the _ApproveAndSetInUseBy_ instruction * * @property [_writable_] mintManager * @property [] ruleset * @property [] mint * @property [] inUseByAddress * @property [_writable_] holderTokenAccount * @property [**signer**] holder * @property [] delegate * @category Instructions * @category ApproveAndSetInUseBy * @category generated */ export declare type ApproveAndSetInUseByInstructionAccounts = { mintManager: web3.PublicKey; ruleset: web3.PublicKey; mint: web3.PublicKey; inUseByAddress: web3.PublicKey; holderTokenAccount: web3.PublicKey; holder: web3.PublicKey; delegate: web3.PublicKey; tokenProgram?: web3.PublicKey; }; export declare const approveAndSetInUseByInstructionDiscriminator = 8; /** * Creates a _ApproveAndSetInUseBy_ instruction. * * @param accounts that will be accessed while the instruction is processed * @param args to provide as instruction data to the program * * @category Instructions * @category ApproveAndSetInUseBy * @category generated */ export declare function createApproveAndSetInUseByInstruction(accounts: ApproveAndSetInUseByInstructionAccounts, args: ApproveAndSetInUseByInstructionArgs, programId?: web3.PublicKey): web3.TransactionInstruction; //# sourceMappingURL=ApproveAndSetInUseBy.d.ts.map