/**
 * 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 { MESSAGE_TRANSMITTER_V2_PROGRAM_ADDRESS } from '../programs';
export declare const SET_SIGNATURE_THRESHOLD_DISCRIMINATOR: Uint8Array;
export declare function getSetSignatureThresholdDiscriminatorBytes(): ReadonlyUint8Array;
export type SetSignatureThresholdInstruction<TProgram extends string = typeof MESSAGE_TRANSMITTER_V2_PROGRAM_ADDRESS, TAccountAttesterManager extends string | IAccountMeta<string> = string, TAccountMessageTransmitter 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<[
    TAccountAttesterManager extends string ? ReadonlySignerAccount<TAccountAttesterManager> & IAccountSignerMeta<TAccountAttesterManager> : TAccountAttesterManager,
    TAccountMessageTransmitter extends string ? WritableAccount<TAccountMessageTransmitter> : TAccountMessageTransmitter,
    TAccountEventAuthority extends string ? ReadonlyAccount<TAccountEventAuthority> : TAccountEventAuthority,
    TAccountProgram extends string ? ReadonlyAccount<TAccountProgram> : TAccountProgram,
    ...TRemainingAccounts
]>;
export type SetSignatureThresholdInstructionData = {
    discriminator: ReadonlyUint8Array;
    newSignatureThreshold: number;
};
export type SetSignatureThresholdInstructionDataArgs = {
    newSignatureThreshold: number;
};
export declare function getSetSignatureThresholdInstructionDataEncoder(): Encoder<SetSignatureThresholdInstructionDataArgs>;
export declare function getSetSignatureThresholdInstructionDataDecoder(): Decoder<SetSignatureThresholdInstructionData>;
export declare function getSetSignatureThresholdInstructionDataCodec(): Codec<SetSignatureThresholdInstructionDataArgs, SetSignatureThresholdInstructionData>;
export type SetSignatureThresholdAsyncInput<TAccountAttesterManager extends string = string, TAccountMessageTransmitter extends string = string, TAccountEventAuthority extends string = string, TAccountProgram extends string = string> = {
    attesterManager: TransactionSigner<TAccountAttesterManager>;
    messageTransmitter: Address<TAccountMessageTransmitter>;
    eventAuthority?: Address<TAccountEventAuthority>;
    program: Address<TAccountProgram>;
    newSignatureThreshold: SetSignatureThresholdInstructionDataArgs['newSignatureThreshold'];
};
export declare function getSetSignatureThresholdInstructionAsync<TAccountAttesterManager extends string, TAccountMessageTransmitter extends string, TAccountEventAuthority extends string, TAccountProgram extends string, TProgramAddress extends Address = typeof MESSAGE_TRANSMITTER_V2_PROGRAM_ADDRESS>(input: SetSignatureThresholdAsyncInput<TAccountAttesterManager, TAccountMessageTransmitter, TAccountEventAuthority, TAccountProgram>, config?: {
    programAddress?: TProgramAddress;
}): Promise<SetSignatureThresholdInstruction<TProgramAddress, TAccountAttesterManager, TAccountMessageTransmitter, TAccountEventAuthority, TAccountProgram>>;
export type SetSignatureThresholdInput<TAccountAttesterManager extends string = string, TAccountMessageTransmitter extends string = string, TAccountEventAuthority extends string = string, TAccountProgram extends string = string> = {
    attesterManager: TransactionSigner<TAccountAttesterManager>;
    messageTransmitter: Address<TAccountMessageTransmitter>;
    eventAuthority: Address<TAccountEventAuthority>;
    program: Address<TAccountProgram>;
    newSignatureThreshold: SetSignatureThresholdInstructionDataArgs['newSignatureThreshold'];
};
export declare function getSetSignatureThresholdInstruction<TAccountAttesterManager extends string, TAccountMessageTransmitter extends string, TAccountEventAuthority extends string, TAccountProgram extends string, TProgramAddress extends Address = typeof MESSAGE_TRANSMITTER_V2_PROGRAM_ADDRESS>(input: SetSignatureThresholdInput<TAccountAttesterManager, TAccountMessageTransmitter, TAccountEventAuthority, TAccountProgram>, config?: {
    programAddress?: TProgramAddress;
}): SetSignatureThresholdInstruction<TProgramAddress, TAccountAttesterManager, TAccountMessageTransmitter, TAccountEventAuthority, TAccountProgram>;
export type ParsedSetSignatureThresholdInstruction<TProgram extends string = typeof MESSAGE_TRANSMITTER_V2_PROGRAM_ADDRESS, TAccountMetas extends readonly IAccountMeta[] = readonly IAccountMeta[]> = {
    programAddress: Address<TProgram>;
    accounts: {
        attesterManager: TAccountMetas[0];
        messageTransmitter: TAccountMetas[1];
        eventAuthority: TAccountMetas[2];
        program: TAccountMetas[3];
    };
    data: SetSignatureThresholdInstructionData;
};
export declare function parseSetSignatureThresholdInstruction<TProgram extends string, TAccountMetas extends readonly IAccountMeta[]>(instruction: IInstruction<TProgram> & IInstructionWithAccounts<TAccountMetas> & IInstructionWithData<Uint8Array>): ParsedSetSignatureThresholdInstruction<TProgram, TAccountMetas>;
