/**
 * 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 { DelegateArgs } from '../types/DelegateArgs';
/**
 * @category Instructions
 * @category Delegate
 * @category generated
 */
export type DelegateInstructionArgs = {
    delegateArgs: DelegateArgs;
};
/**
 * @category Instructions
 * @category Delegate
 * @category generated
 */
export declare const DelegateStruct: beet.FixableBeetArgsStruct<DelegateInstructionArgs & {
    instructionDiscriminator: number;
}>;
/**
 * Accounts required by the _Delegate_ instruction
 *
 * @property [_writable_] delegateRecord (optional) Delegate record account
 * @property [] delegate Owner of the delegated account
 * @property [_writable_] metadata Metadata account
 * @property [] masterEdition (optional) Master Edition account
 * @property [_writable_] tokenRecord (optional) Token record account
 * @property [] mint Mint of metadata
 * @property [_writable_] token (optional) Token account of mint
 * @property [**signer**] authority Update authority or token owner
 * @property [_writable_, **signer**] payer Payer
 * @property [] sysvarInstructions Instructions sysvar account
 * @property [] splTokenProgram (optional) SPL Token Program
 * @property [] authorizationRulesProgram (optional) Token Authorization Rules Program
 * @property [] authorizationRules (optional) Token Authorization Rules account
 * @category Instructions
 * @category Delegate
 * @category generated
 */
export type DelegateInstructionAccounts = {
    delegateRecord?: web3.PublicKey;
    delegate: web3.PublicKey;
    metadata: web3.PublicKey;
    masterEdition?: web3.PublicKey;
    tokenRecord?: web3.PublicKey;
    mint: web3.PublicKey;
    token?: web3.PublicKey;
    authority: web3.PublicKey;
    payer: web3.PublicKey;
    systemProgram?: web3.PublicKey;
    sysvarInstructions: web3.PublicKey;
    splTokenProgram?: web3.PublicKey;
    authorizationRulesProgram?: web3.PublicKey;
    authorizationRules?: web3.PublicKey;
};
export declare const delegateInstructionDiscriminator = 44;
/**
 * Creates a _Delegate_ instruction.
 *
 * Optional accounts that are not provided default to the program ID since
 * this was indicated in the IDL from which this instruction was generated.
 *
 * @param accounts that will be accessed while the instruction is processed
 * @param args to provide as instruction data to the program
 *
 * @category Instructions
 * @category Delegate
 * @category generated
 */
export declare function createDelegateInstruction(accounts: DelegateInstructionAccounts, args: DelegateInstructionArgs, programId?: web3.PublicKey): web3.TransactionInstruction;
//# sourceMappingURL=Delegate.d.ts.map