/**
 * 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, type WritableSignerAccount } from '@solana/kit';
import { MESSAGE_TRANSMITTER_V2_PROGRAM_ADDRESS } from '../programs';
export declare const ENABLE_ATTESTER_DISCRIMINATOR: Uint8Array;
export declare function getEnableAttesterDiscriminatorBytes(): ReadonlyUint8Array;
export type EnableAttesterInstruction<TProgram extends string = typeof MESSAGE_TRANSMITTER_V2_PROGRAM_ADDRESS, TAccountPayer extends string | IAccountMeta<string> = string, TAccountAttesterManager extends string | IAccountMeta<string> = string, TAccountMessageTransmitter extends string | IAccountMeta<string> = string, TAccountSystemProgram extends string | IAccountMeta<string> = '11111111111111111111111111111111', TAccountEventAuthority extends string | IAccountMeta<string> = string, TAccountProgram extends string | IAccountMeta<string> = string, TRemainingAccounts extends readonly IAccountMeta<string>[] = []> = IInstruction<TProgram> & IInstructionWithData<Uint8Array> & IInstructionWithAccounts<[
    TAccountPayer extends string ? WritableSignerAccount<TAccountPayer> & IAccountSignerMeta<TAccountPayer> : TAccountPayer,
    TAccountAttesterManager extends string ? ReadonlySignerAccount<TAccountAttesterManager> & IAccountSignerMeta<TAccountAttesterManager> : TAccountAttesterManager,
    TAccountMessageTransmitter extends string ? WritableAccount<TAccountMessageTransmitter> : TAccountMessageTransmitter,
    TAccountSystemProgram extends string ? ReadonlyAccount<TAccountSystemProgram> : TAccountSystemProgram,
    TAccountEventAuthority extends string ? ReadonlyAccount<TAccountEventAuthority> : TAccountEventAuthority,
    TAccountProgram extends string ? ReadonlyAccount<TAccountProgram> : TAccountProgram,
    ...TRemainingAccounts
]>;
export type EnableAttesterInstructionData = {
    discriminator: ReadonlyUint8Array;
    newAttester: Address;
};
export type EnableAttesterInstructionDataArgs = {
    newAttester: Address;
};
export declare function getEnableAttesterInstructionDataEncoder(): Encoder<EnableAttesterInstructionDataArgs>;
export declare function getEnableAttesterInstructionDataDecoder(): Decoder<EnableAttesterInstructionData>;
export declare function getEnableAttesterInstructionDataCodec(): Codec<EnableAttesterInstructionDataArgs, EnableAttesterInstructionData>;
export type EnableAttesterAsyncInput<TAccountPayer extends string = string, TAccountAttesterManager extends string = string, TAccountMessageTransmitter extends string = string, TAccountSystemProgram extends string = string, TAccountEventAuthority extends string = string, TAccountProgram extends string = string> = {
    payer: TransactionSigner<TAccountPayer>;
    attesterManager: TransactionSigner<TAccountAttesterManager>;
    messageTransmitter: Address<TAccountMessageTransmitter>;
    systemProgram?: Address<TAccountSystemProgram>;
    eventAuthority?: Address<TAccountEventAuthority>;
    program: Address<TAccountProgram>;
    newAttester: EnableAttesterInstructionDataArgs['newAttester'];
};
export declare function getEnableAttesterInstructionAsync<TAccountPayer extends string, TAccountAttesterManager extends string, TAccountMessageTransmitter extends string, TAccountSystemProgram extends string, TAccountEventAuthority extends string, TAccountProgram extends string, TProgramAddress extends Address = typeof MESSAGE_TRANSMITTER_V2_PROGRAM_ADDRESS>(input: EnableAttesterAsyncInput<TAccountPayer, TAccountAttesterManager, TAccountMessageTransmitter, TAccountSystemProgram, TAccountEventAuthority, TAccountProgram>, config?: {
    programAddress?: TProgramAddress;
}): Promise<EnableAttesterInstruction<TProgramAddress, TAccountPayer, TAccountAttesterManager, TAccountMessageTransmitter, TAccountSystemProgram, TAccountEventAuthority, TAccountProgram>>;
export type EnableAttesterInput<TAccountPayer extends string = string, TAccountAttesterManager extends string = string, TAccountMessageTransmitter extends string = string, TAccountSystemProgram extends string = string, TAccountEventAuthority extends string = string, TAccountProgram extends string = string> = {
    payer: TransactionSigner<TAccountPayer>;
    attesterManager: TransactionSigner<TAccountAttesterManager>;
    messageTransmitter: Address<TAccountMessageTransmitter>;
    systemProgram?: Address<TAccountSystemProgram>;
    eventAuthority: Address<TAccountEventAuthority>;
    program: Address<TAccountProgram>;
    newAttester: EnableAttesterInstructionDataArgs['newAttester'];
};
export declare function getEnableAttesterInstruction<TAccountPayer extends string, TAccountAttesterManager extends string, TAccountMessageTransmitter extends string, TAccountSystemProgram extends string, TAccountEventAuthority extends string, TAccountProgram extends string, TProgramAddress extends Address = typeof MESSAGE_TRANSMITTER_V2_PROGRAM_ADDRESS>(input: EnableAttesterInput<TAccountPayer, TAccountAttesterManager, TAccountMessageTransmitter, TAccountSystemProgram, TAccountEventAuthority, TAccountProgram>, config?: {
    programAddress?: TProgramAddress;
}): EnableAttesterInstruction<TProgramAddress, TAccountPayer, TAccountAttesterManager, TAccountMessageTransmitter, TAccountSystemProgram, TAccountEventAuthority, TAccountProgram>;
export type ParsedEnableAttesterInstruction<TProgram extends string = typeof MESSAGE_TRANSMITTER_V2_PROGRAM_ADDRESS, TAccountMetas extends readonly IAccountMeta[] = readonly IAccountMeta[]> = {
    programAddress: Address<TProgram>;
    accounts: {
        payer: TAccountMetas[0];
        attesterManager: TAccountMetas[1];
        messageTransmitter: TAccountMetas[2];
        systemProgram: TAccountMetas[3];
        eventAuthority: TAccountMetas[4];
        program: TAccountMetas[5];
    };
    data: EnableAttesterInstructionData;
};
export declare function parseEnableAttesterInstruction<TProgram extends string, TAccountMetas extends readonly IAccountMeta[]>(instruction: IInstruction<TProgram> & IInstructionWithAccounts<TAccountMetas> & IInstructionWithData<Uint8Array>): ParsedEnableAttesterInstruction<TProgram, TAccountMetas>;
