/** * 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 { ApproveIx } from '../types/ApproveIx'; /** * @category Instructions * @category Approve * @category generated */ export declare type ApproveInstructionArgs = { approveIx: ApproveIx; }; /** * @category Instructions * @category Approve * @category generated */ export declare const ApproveStruct: beet.BeetArgsStruct; /** * Accounts required by the _Approve_ instruction * * @property [] mintManager * @property [] ruleset * @property [] mint * @property [_writable_] holderTokenAccount * @property [**signer**] holder * @property [] delegate * @category Instructions * @category Approve * @category generated */ export declare type ApproveInstructionAccounts = { mintManager: web3.PublicKey; ruleset: web3.PublicKey; mint: web3.PublicKey; holderTokenAccount: web3.PublicKey; holder: web3.PublicKey; delegate: web3.PublicKey; tokenProgram?: web3.PublicKey; }; export declare const approveInstructionDiscriminator = 7; /** * Creates a _Approve_ 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 Approve * @category generated */ export declare function createApproveInstruction(accounts: ApproveInstructionAccounts, args: ApproveInstructionArgs, programId?: web3.PublicKey): web3.TransactionInstruction; //# sourceMappingURL=Approve.d.ts.map