/**
 * 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, Option, OptionOrNullable, Pda, PublicKey, Signer, TransactionBuilder } from '@metaplex-foundation/umi';
import { Serializer } from '@metaplex-foundation/umi/serializers';
import { PickPartial } from '../shared';
import { AuthorizationData, AuthorizationDataArgs, TokenStandardArgs } from '../types';
export type DelegateUtilityV1InstructionAccounts = {
    /** 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 DelegateUtilityV1InstructionData = {
    discriminator: number;
    delegateUtilityV1Discriminator: number;
    amount: bigint;
    authorizationData: Option<AuthorizationData>;
};
export type DelegateUtilityV1InstructionDataArgs = {
    amount?: number | bigint;
    authorizationData?: OptionOrNullable<AuthorizationDataArgs>;
};
export declare function getDelegateUtilityV1InstructionDataSerializer(): Serializer<DelegateUtilityV1InstructionDataArgs, DelegateUtilityV1InstructionData>;
export type DelegateUtilityV1InstructionExtraArgs = {
    tokenStandard: TokenStandardArgs;
    tokenOwner: PublicKey;
};
export type DelegateUtilityV1InstructionArgs = PickPartial<DelegateUtilityV1InstructionDataArgs & DelegateUtilityV1InstructionExtraArgs, 'tokenOwner'>;
export declare function delegateUtilityV1(context: Pick<Context, 'eddsa' | 'identity' | 'payer' | 'programs'>, input: DelegateUtilityV1InstructionAccounts & DelegateUtilityV1InstructionArgs): TransactionBuilder;
