/**
 * 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 Address, type Codec, type Decoder, type Encoder, type IAccountMeta, type IAccountSignerMeta, type IInstruction, type IInstructionWithAccounts, type IInstructionWithData, 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_PAUSER_DISCRIMINATOR: Uint8Array;
export declare function getUpdatePauserDiscriminatorBytes(): ReadonlyUint8Array;
export type UpdatePauserInstruction<TProgram extends string = typeof TOKEN_MESSENGER_MINTER_V2_PROGRAM_ADDRESS, TAccountOwner extends string | IAccountMeta<string> = string, TAccountTokenMessenger extends string | IAccountMeta<string> = string, TAccountTokenMinter extends string | IAccountMeta<string> = string, TAccountEventAuthority extends string | IAccountMeta<string> = string, TAccountProgram extends string | IAccountMeta<string> = string, TRemainingAccounts extends readonly IAccountMeta<string>[] = []> = IInstruction<TProgram> & IInstructionWithData<Uint8Array> & IInstructionWithAccounts<[
    TAccountOwner extends string ? ReadonlySignerAccount<TAccountOwner> & IAccountSignerMeta<TAccountOwner> : TAccountOwner,
    TAccountTokenMessenger extends string ? ReadonlyAccount<TAccountTokenMessenger> : TAccountTokenMessenger,
    TAccountTokenMinter extends string ? WritableAccount<TAccountTokenMinter> : TAccountTokenMinter,
    TAccountEventAuthority extends string ? ReadonlyAccount<TAccountEventAuthority> : TAccountEventAuthority,
    TAccountProgram extends string ? ReadonlyAccount<TAccountProgram> : TAccountProgram,
    ...TRemainingAccounts
]>;
export type UpdatePauserInstructionData = {
    discriminator: ReadonlyUint8Array;
    newPauser: Address;
};
export type UpdatePauserInstructionDataArgs = {
    newPauser: Address;
};
export declare function getUpdatePauserInstructionDataEncoder(): Encoder<UpdatePauserInstructionDataArgs>;
export declare function getUpdatePauserInstructionDataDecoder(): Decoder<UpdatePauserInstructionData>;
export declare function getUpdatePauserInstructionDataCodec(): Codec<UpdatePauserInstructionDataArgs, UpdatePauserInstructionData>;
export type UpdatePauserAsyncInput<TAccountOwner extends string = string, TAccountTokenMessenger extends string = string, TAccountTokenMinter extends string = string, TAccountEventAuthority extends string = string, TAccountProgram extends string = string> = {
    owner: TransactionSigner<TAccountOwner>;
    tokenMessenger: Address<TAccountTokenMessenger>;
    tokenMinter: Address<TAccountTokenMinter>;
    eventAuthority?: Address<TAccountEventAuthority>;
    program: Address<TAccountProgram>;
    newPauser: UpdatePauserInstructionDataArgs['newPauser'];
};
export declare function getUpdatePauserInstructionAsync<TAccountOwner extends string, TAccountTokenMessenger extends string, TAccountTokenMinter extends string, TAccountEventAuthority extends string, TAccountProgram extends string, TProgramAddress extends Address = typeof TOKEN_MESSENGER_MINTER_V2_PROGRAM_ADDRESS>(input: UpdatePauserAsyncInput<TAccountOwner, TAccountTokenMessenger, TAccountTokenMinter, TAccountEventAuthority, TAccountProgram>, config?: {
    programAddress?: TProgramAddress;
}): Promise<UpdatePauserInstruction<TProgramAddress, TAccountOwner, TAccountTokenMessenger, TAccountTokenMinter, TAccountEventAuthority, TAccountProgram>>;
export type UpdatePauserInput<TAccountOwner extends string = string, TAccountTokenMessenger extends string = string, TAccountTokenMinter extends string = string, TAccountEventAuthority extends string = string, TAccountProgram extends string = string> = {
    owner: TransactionSigner<TAccountOwner>;
    tokenMessenger: Address<TAccountTokenMessenger>;
    tokenMinter: Address<TAccountTokenMinter>;
    eventAuthority: Address<TAccountEventAuthority>;
    program: Address<TAccountProgram>;
    newPauser: UpdatePauserInstructionDataArgs['newPauser'];
};
export declare function getUpdatePauserInstruction<TAccountOwner extends string, TAccountTokenMessenger extends string, TAccountTokenMinter extends string, TAccountEventAuthority extends string, TAccountProgram extends string, TProgramAddress extends Address = typeof TOKEN_MESSENGER_MINTER_V2_PROGRAM_ADDRESS>(input: UpdatePauserInput<TAccountOwner, TAccountTokenMessenger, TAccountTokenMinter, TAccountEventAuthority, TAccountProgram>, config?: {
    programAddress?: TProgramAddress;
}): UpdatePauserInstruction<TProgramAddress, TAccountOwner, TAccountTokenMessenger, TAccountTokenMinter, TAccountEventAuthority, TAccountProgram>;
export type ParsedUpdatePauserInstruction<TProgram extends string = typeof TOKEN_MESSENGER_MINTER_V2_PROGRAM_ADDRESS, TAccountMetas extends readonly IAccountMeta[] = readonly IAccountMeta[]> = {
    programAddress: Address<TProgram>;
    accounts: {
        owner: TAccountMetas[0];
        tokenMessenger: TAccountMetas[1];
        tokenMinter: TAccountMetas[2];
        eventAuthority: TAccountMetas[3];
        program: TAccountMetas[4];
    };
    data: UpdatePauserInstructionData;
};
export declare function parseUpdatePauserInstruction<TProgram extends string, TAccountMetas extends readonly IAccountMeta[]>(instruction: IInstruction<TProgram> & IInstructionWithAccounts<TAccountMetas> & IInstructionWithData<Uint8Array>): ParsedUpdatePauserInstruction<TProgram, TAccountMetas>;
