/**
 * This code was AUTOGENERATED using the codama library.
 * Please DO NOT EDIT THIS FILE, instead use visitors
 * to add features, then rerun codama to update it.
 *
 * @see https://github.com/codama-idl/codama
 */
import { type AccountMeta, type AccountSignerMeta, type Address, type Codec, type Decoder, type Encoder, type Instruction, type InstructionWithAccounts, type InstructionWithData, type ReadonlyAccount, type ReadonlySignerAccount, type ReadonlyUint8Array, type TransactionSigner, type WritableAccount } from '@solana/kit';
import { TOKEN_MESSENGER_MINTER_V2_PROGRAM_ADDRESS } from '../programs';
export declare const UPDATE_DENYLISTER_DISCRIMINATOR: Uint8Array;
export declare function getUpdateDenylisterDiscriminatorBytes(): ReadonlyUint8Array<ArrayBuffer>;
export type UpdateDenylisterInstruction<TProgram extends string = typeof TOKEN_MESSENGER_MINTER_V2_PROGRAM_ADDRESS, TAccountOwner extends string | AccountMeta<string> = string, TAccountTokenMessenger extends string | AccountMeta<string> = string, TAccountEventAuthority extends string | AccountMeta<string> = string, TAccountProgram extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
    TAccountOwner extends string ? ReadonlySignerAccount<TAccountOwner> & AccountSignerMeta<TAccountOwner> : TAccountOwner,
    TAccountTokenMessenger extends string ? WritableAccount<TAccountTokenMessenger> : TAccountTokenMessenger,
    TAccountEventAuthority extends string ? ReadonlyAccount<TAccountEventAuthority> : TAccountEventAuthority,
    TAccountProgram extends string ? ReadonlyAccount<TAccountProgram> : TAccountProgram,
    ...TRemainingAccounts
]>;
export type UpdateDenylisterInstructionData = {
    discriminator: ReadonlyUint8Array;
    newDenylister: Address;
};
export type UpdateDenylisterInstructionDataArgs = {
    newDenylister: Address;
};
export declare function getUpdateDenylisterInstructionDataEncoder(): Encoder<UpdateDenylisterInstructionDataArgs>;
export declare function getUpdateDenylisterInstructionDataDecoder(): Decoder<UpdateDenylisterInstructionData>;
export declare function getUpdateDenylisterInstructionDataCodec(): Codec<UpdateDenylisterInstructionDataArgs, UpdateDenylisterInstructionData>;
export type UpdateDenylisterAsyncInput<TAccountOwner extends string = string, TAccountTokenMessenger extends string = string, TAccountEventAuthority extends string = string, TAccountProgram extends string = string> = {
    owner: TransactionSigner<TAccountOwner>;
    tokenMessenger: Address<TAccountTokenMessenger>;
    eventAuthority?: Address<TAccountEventAuthority>;
    program: Address<TAccountProgram>;
    newDenylister: UpdateDenylisterInstructionDataArgs['newDenylister'];
};
export declare function getUpdateDenylisterInstructionAsync<TAccountOwner extends string, TAccountTokenMessenger extends string, TAccountEventAuthority extends string, TAccountProgram extends string, TProgramAddress extends Address = typeof TOKEN_MESSENGER_MINTER_V2_PROGRAM_ADDRESS>(input: UpdateDenylisterAsyncInput<TAccountOwner, TAccountTokenMessenger, TAccountEventAuthority, TAccountProgram>, config?: {
    programAddress?: TProgramAddress;
}): Promise<UpdateDenylisterInstruction<TProgramAddress, TAccountOwner, TAccountTokenMessenger, TAccountEventAuthority, TAccountProgram>>;
export type UpdateDenylisterInput<TAccountOwner extends string = string, TAccountTokenMessenger extends string = string, TAccountEventAuthority extends string = string, TAccountProgram extends string = string> = {
    owner: TransactionSigner<TAccountOwner>;
    tokenMessenger: Address<TAccountTokenMessenger>;
    eventAuthority: Address<TAccountEventAuthority>;
    program: Address<TAccountProgram>;
    newDenylister: UpdateDenylisterInstructionDataArgs['newDenylister'];
};
export declare function getUpdateDenylisterInstruction<TAccountOwner extends string, TAccountTokenMessenger extends string, TAccountEventAuthority extends string, TAccountProgram extends string, TProgramAddress extends Address = typeof TOKEN_MESSENGER_MINTER_V2_PROGRAM_ADDRESS>(input: UpdateDenylisterInput<TAccountOwner, TAccountTokenMessenger, TAccountEventAuthority, TAccountProgram>, config?: {
    programAddress?: TProgramAddress;
}): UpdateDenylisterInstruction<TProgramAddress, TAccountOwner, TAccountTokenMessenger, TAccountEventAuthority, TAccountProgram>;
export type ParsedUpdateDenylisterInstruction<TProgram extends string = typeof TOKEN_MESSENGER_MINTER_V2_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
    programAddress: Address<TProgram>;
    accounts: {
        owner: TAccountMetas[0];
        tokenMessenger: TAccountMetas[1];
        eventAuthority: TAccountMetas[2];
        program: TAccountMetas[3];
    };
    data: UpdateDenylisterInstructionData;
};
export declare function parseUpdateDenylisterInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedUpdateDenylisterInstruction<TProgram, TAccountMetas>;
