/**
 * 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 INITIALIZE_DISCRIMINATOR: Uint8Array;
export declare function getInitializeDiscriminatorBytes(): ReadonlyUint8Array;
export type InitializeInstruction<TProgram extends string = typeof MESSAGE_TRANSMITTER_V2_PROGRAM_ADDRESS, TAccountPayer extends string | IAccountMeta<string> = string, TAccountUpgradeAuthority extends string | IAccountMeta<string> = string, TAccountMessageTransmitter extends string | IAccountMeta<string> = string, TAccountMessageTransmitterProgramData extends string | IAccountMeta<string> = string, TAccountMessageTransmitterProgram extends string | IAccountMeta<string> = 'CCTPV2Sm4AdWt5296sk4P66VBZ7bEhcARwFaaS9YPbeC', 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,
    TAccountUpgradeAuthority extends string ? ReadonlySignerAccount<TAccountUpgradeAuthority> & IAccountSignerMeta<TAccountUpgradeAuthority> : TAccountUpgradeAuthority,
    TAccountMessageTransmitter extends string ? WritableAccount<TAccountMessageTransmitter> : TAccountMessageTransmitter,
    TAccountMessageTransmitterProgramData extends string ? ReadonlyAccount<TAccountMessageTransmitterProgramData> : TAccountMessageTransmitterProgramData,
    TAccountMessageTransmitterProgram extends string ? ReadonlyAccount<TAccountMessageTransmitterProgram> : TAccountMessageTransmitterProgram,
    TAccountSystemProgram extends string ? ReadonlyAccount<TAccountSystemProgram> : TAccountSystemProgram,
    TAccountEventAuthority extends string ? ReadonlyAccount<TAccountEventAuthority> : TAccountEventAuthority,
    TAccountProgram extends string ? ReadonlyAccount<TAccountProgram> : TAccountProgram,
    ...TRemainingAccounts
]>;
export type InitializeInstructionData = {
    discriminator: ReadonlyUint8Array;
    localDomain: number;
    attester: Address;
    maxMessageBodySize: bigint;
    version: number;
};
export type InitializeInstructionDataArgs = {
    localDomain: number;
    attester: Address;
    maxMessageBodySize: number | bigint;
    version: number;
};
export declare function getInitializeInstructionDataEncoder(): Encoder<InitializeInstructionDataArgs>;
export declare function getInitializeInstructionDataDecoder(): Decoder<InitializeInstructionData>;
export declare function getInitializeInstructionDataCodec(): Codec<InitializeInstructionDataArgs, InitializeInstructionData>;
export type InitializeAsyncInput<TAccountPayer extends string = string, TAccountUpgradeAuthority extends string = string, TAccountMessageTransmitter extends string = string, TAccountMessageTransmitterProgramData extends string = string, TAccountMessageTransmitterProgram extends string = string, TAccountSystemProgram extends string = string, TAccountEventAuthority extends string = string, TAccountProgram extends string = string> = {
    payer: TransactionSigner<TAccountPayer>;
    upgradeAuthority: TransactionSigner<TAccountUpgradeAuthority>;
    messageTransmitter?: Address<TAccountMessageTransmitter>;
    messageTransmitterProgramData: Address<TAccountMessageTransmitterProgramData>;
    messageTransmitterProgram?: Address<TAccountMessageTransmitterProgram>;
    systemProgram?: Address<TAccountSystemProgram>;
    eventAuthority?: Address<TAccountEventAuthority>;
    program: Address<TAccountProgram>;
    localDomain: InitializeInstructionDataArgs['localDomain'];
    attester: InitializeInstructionDataArgs['attester'];
    maxMessageBodySize: InitializeInstructionDataArgs['maxMessageBodySize'];
    version: InitializeInstructionDataArgs['version'];
};
export declare function getInitializeInstructionAsync<TAccountPayer extends string, TAccountUpgradeAuthority extends string, TAccountMessageTransmitter extends string, TAccountMessageTransmitterProgramData extends string, TAccountMessageTransmitterProgram extends string, TAccountSystemProgram extends string, TAccountEventAuthority extends string, TAccountProgram extends string, TProgramAddress extends Address = typeof MESSAGE_TRANSMITTER_V2_PROGRAM_ADDRESS>(input: InitializeAsyncInput<TAccountPayer, TAccountUpgradeAuthority, TAccountMessageTransmitter, TAccountMessageTransmitterProgramData, TAccountMessageTransmitterProgram, TAccountSystemProgram, TAccountEventAuthority, TAccountProgram>, config?: {
    programAddress?: TProgramAddress;
}): Promise<InitializeInstruction<TProgramAddress, TAccountPayer, TAccountUpgradeAuthority, TAccountMessageTransmitter, TAccountMessageTransmitterProgramData, TAccountMessageTransmitterProgram, TAccountSystemProgram, TAccountEventAuthority, TAccountProgram>>;
export type InitializeInput<TAccountPayer extends string = string, TAccountUpgradeAuthority extends string = string, TAccountMessageTransmitter extends string = string, TAccountMessageTransmitterProgramData extends string = string, TAccountMessageTransmitterProgram extends string = string, TAccountSystemProgram extends string = string, TAccountEventAuthority extends string = string, TAccountProgram extends string = string> = {
    payer: TransactionSigner<TAccountPayer>;
    upgradeAuthority: TransactionSigner<TAccountUpgradeAuthority>;
    messageTransmitter: Address<TAccountMessageTransmitter>;
    messageTransmitterProgramData: Address<TAccountMessageTransmitterProgramData>;
    messageTransmitterProgram?: Address<TAccountMessageTransmitterProgram>;
    systemProgram?: Address<TAccountSystemProgram>;
    eventAuthority: Address<TAccountEventAuthority>;
    program: Address<TAccountProgram>;
    localDomain: InitializeInstructionDataArgs['localDomain'];
    attester: InitializeInstructionDataArgs['attester'];
    maxMessageBodySize: InitializeInstructionDataArgs['maxMessageBodySize'];
    version: InitializeInstructionDataArgs['version'];
};
export declare function getInitializeInstruction<TAccountPayer extends string, TAccountUpgradeAuthority extends string, TAccountMessageTransmitter extends string, TAccountMessageTransmitterProgramData extends string, TAccountMessageTransmitterProgram extends string, TAccountSystemProgram extends string, TAccountEventAuthority extends string, TAccountProgram extends string, TProgramAddress extends Address = typeof MESSAGE_TRANSMITTER_V2_PROGRAM_ADDRESS>(input: InitializeInput<TAccountPayer, TAccountUpgradeAuthority, TAccountMessageTransmitter, TAccountMessageTransmitterProgramData, TAccountMessageTransmitterProgram, TAccountSystemProgram, TAccountEventAuthority, TAccountProgram>, config?: {
    programAddress?: TProgramAddress;
}): InitializeInstruction<TProgramAddress, TAccountPayer, TAccountUpgradeAuthority, TAccountMessageTransmitter, TAccountMessageTransmitterProgramData, TAccountMessageTransmitterProgram, TAccountSystemProgram, TAccountEventAuthority, TAccountProgram>;
export type ParsedInitializeInstruction<TProgram extends string = typeof MESSAGE_TRANSMITTER_V2_PROGRAM_ADDRESS, TAccountMetas extends readonly IAccountMeta[] = readonly IAccountMeta[]> = {
    programAddress: Address<TProgram>;
    accounts: {
        payer: TAccountMetas[0];
        upgradeAuthority: TAccountMetas[1];
        messageTransmitter: TAccountMetas[2];
        messageTransmitterProgramData: TAccountMetas[3];
        messageTransmitterProgram: TAccountMetas[4];
        systemProgram: TAccountMetas[5];
        eventAuthority: TAccountMetas[6];
        program: TAccountMetas[7];
    };
    data: InitializeInstructionData;
};
export declare function parseInitializeInstruction<TProgram extends string, TAccountMetas extends readonly IAccountMeta[]>(instruction: IInstruction<TProgram> & IInstructionWithAccounts<TAccountMetas> & IInstructionWithData<Uint8Array>): ParsedInitializeInstruction<TProgram, TAccountMetas>;
