/**
 * 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 FixedSizeCodec, type FixedSizeDecoder, type FixedSizeEncoder, type Instruction, type InstructionWithAccounts, type InstructionWithData, type ReadonlyAccount, type ReadonlySignerAccount, type ReadonlyUint8Array, type TransactionSigner, type WritableAccount } from "@solana/kit";
import { MESSAGE_TRANSMITTER_V2_PROGRAM_ADDRESS } from "../programs";
export declare const UPDATE_PAUSER_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
export declare function getUpdatePauserDiscriminatorBytes(): ReadonlyUint8Array<ArrayBuffer>;
export type UpdatePauserInstruction<TProgram extends string = typeof MESSAGE_TRANSMITTER_V2_PROGRAM_ADDRESS, TAccountOwner extends string | AccountMeta<string> = string, TAccountMessageTransmitter 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,
    TAccountMessageTransmitter extends string ? WritableAccount<TAccountMessageTransmitter> : TAccountMessageTransmitter,
    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(): FixedSizeEncoder<UpdatePauserInstructionDataArgs>;
export declare function getUpdatePauserInstructionDataDecoder(): FixedSizeDecoder<UpdatePauserInstructionData>;
export declare function getUpdatePauserInstructionDataCodec(): FixedSizeCodec<UpdatePauserInstructionDataArgs, UpdatePauserInstructionData>;
export type UpdatePauserAsyncInput<TAccountOwner extends string = string, TAccountMessageTransmitter extends string = string, TAccountEventAuthority extends string = string, TAccountProgram extends string = string> = {
    owner: TransactionSigner<TAccountOwner>;
    messageTransmitter: Address<TAccountMessageTransmitter>;
    eventAuthority?: Address<TAccountEventAuthority>;
    program: Address<TAccountProgram>;
    newPauser: UpdatePauserInstructionDataArgs["newPauser"];
};
export declare function getUpdatePauserInstructionAsync<TAccountOwner extends string, TAccountMessageTransmitter extends string, TAccountEventAuthority extends string, TAccountProgram extends string, TProgramAddress extends Address = typeof MESSAGE_TRANSMITTER_V2_PROGRAM_ADDRESS>(input: UpdatePauserAsyncInput<TAccountOwner, TAccountMessageTransmitter, TAccountEventAuthority, TAccountProgram>, config?: {
    programAddress?: TProgramAddress;
}): Promise<UpdatePauserInstruction<TProgramAddress, TAccountOwner, TAccountMessageTransmitter, TAccountEventAuthority, TAccountProgram>>;
export type UpdatePauserInput<TAccountOwner extends string = string, TAccountMessageTransmitter extends string = string, TAccountEventAuthority extends string = string, TAccountProgram extends string = string> = {
    owner: TransactionSigner<TAccountOwner>;
    messageTransmitter: Address<TAccountMessageTransmitter>;
    eventAuthority: Address<TAccountEventAuthority>;
    program: Address<TAccountProgram>;
    newPauser: UpdatePauserInstructionDataArgs["newPauser"];
};
export declare function getUpdatePauserInstruction<TAccountOwner extends string, TAccountMessageTransmitter extends string, TAccountEventAuthority extends string, TAccountProgram extends string, TProgramAddress extends Address = typeof MESSAGE_TRANSMITTER_V2_PROGRAM_ADDRESS>(input: UpdatePauserInput<TAccountOwner, TAccountMessageTransmitter, TAccountEventAuthority, TAccountProgram>, config?: {
    programAddress?: TProgramAddress;
}): UpdatePauserInstruction<TProgramAddress, TAccountOwner, TAccountMessageTransmitter, TAccountEventAuthority, TAccountProgram>;
export type ParsedUpdatePauserInstruction<TProgram extends string = typeof MESSAGE_TRANSMITTER_V2_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
    programAddress: Address<TProgram>;
    accounts: {
        owner: TAccountMetas[0];
        messageTransmitter: TAccountMetas[1];
        eventAuthority: TAccountMetas[2];
        program: TAccountMetas[3];
    };
    data: UpdatePauserInstructionData;
};
export declare function parseUpdatePauserInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedUpdatePauserInstruction<TProgram, TAccountMetas>;
//# sourceMappingURL=updatePauser.d.ts.map