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, type WritableSignerAccount } from "@solana/kit";
import { MESSAGE_TRANSMITTER_PROGRAM_ADDRESS } from "../programs";
export declare const INITIALIZE_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
export declare function getInitializeDiscriminatorBytes(): ReadonlyUint8Array<ArrayBuffer>;
export type InitializeInstruction<TProgram extends string = typeof MESSAGE_TRANSMITTER_PROGRAM_ADDRESS, TAccountPayer extends string | AccountMeta<string> = string, TAccountUpgradeAuthority extends string | AccountMeta<string> = string, TAccountMessageTransmitter extends string | AccountMeta<string> = string, TAccountMessageTransmitterProgramData extends string | AccountMeta<string> = string, TAccountMessageTransmitterProgram extends string | AccountMeta<string> = string, TAccountSystemProgram extends string | AccountMeta<string> = "11111111111111111111111111111111", TAccountEventAuthority extends string | AccountMeta<string> = string, TAccountProgram extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
    TAccountPayer extends string ? WritableSignerAccount<TAccountPayer> & AccountSignerMeta<TAccountPayer> : TAccountPayer,
    TAccountUpgradeAuthority extends string ? ReadonlySignerAccount<TAccountUpgradeAuthority> & AccountSignerMeta<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(): FixedSizeEncoder<InitializeInstructionDataArgs>;
export declare function getInitializeInstructionDataDecoder(): FixedSizeDecoder<InitializeInstructionData>;
export declare function getInitializeInstructionDataCodec(): FixedSizeCodec<InitializeInstructionDataArgs, InitializeInstructionData>;
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_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_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
    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 AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedInitializeInstruction<TProgram, TAccountMetas>;
