/**
 * 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 Codec, type Decoder, type Encoder, type Instruction, type InstructionWithAccounts, type InstructionWithData, type ReadonlyAccount, type ReadonlySignerAccount, type ReadonlyUint8Array, type TransactionSigner, type WritableAccount } from "@solana/kit";
import { TOKEN_MESSENGER_MINTER_PROGRAM_ADDRESS } from "../programs";
export declare const HANDLE_RECEIVE_MESSAGE_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
export declare function getHandleReceiveMessageDiscriminatorBytes(): ReadonlyUint8Array<ArrayBuffer>;
export type HandleReceiveMessageInstruction<TProgram extends string = typeof TOKEN_MESSENGER_MINTER_PROGRAM_ADDRESS, TAccountAuthorityPda extends string | AccountMeta<string> = string, TAccountTokenMessenger extends string | AccountMeta<string> = string, TAccountRemoteTokenMessenger extends string | AccountMeta<string> = string, TAccountTokenMinter extends string | AccountMeta<string> = string, TAccountLocalToken extends string | AccountMeta<string> = string, TAccountTokenPair extends string | AccountMeta<string> = string, TAccountRecipientTokenAccount extends string | AccountMeta<string> = string, TAccountCustodyTokenAccount extends string | AccountMeta<string> = string, TAccountTokenProgram extends string | AccountMeta<string> = "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA", TAccountEventAuthority extends string | AccountMeta<string> = string, TAccountProgram extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
    TAccountAuthorityPda extends string ? ReadonlySignerAccount<TAccountAuthorityPda> & AccountSignerMeta<TAccountAuthorityPda> : TAccountAuthorityPda,
    TAccountTokenMessenger extends string ? ReadonlyAccount<TAccountTokenMessenger> : TAccountTokenMessenger,
    TAccountRemoteTokenMessenger extends string ? ReadonlyAccount<TAccountRemoteTokenMessenger> : TAccountRemoteTokenMessenger,
    TAccountTokenMinter extends string ? ReadonlyAccount<TAccountTokenMinter> : TAccountTokenMinter,
    TAccountLocalToken extends string ? WritableAccount<TAccountLocalToken> : TAccountLocalToken,
    TAccountTokenPair extends string ? ReadonlyAccount<TAccountTokenPair> : TAccountTokenPair,
    TAccountRecipientTokenAccount extends string ? WritableAccount<TAccountRecipientTokenAccount> : TAccountRecipientTokenAccount,
    TAccountCustodyTokenAccount extends string ? WritableAccount<TAccountCustodyTokenAccount> : TAccountCustodyTokenAccount,
    TAccountTokenProgram extends string ? ReadonlyAccount<TAccountTokenProgram> : TAccountTokenProgram,
    TAccountEventAuthority extends string ? ReadonlyAccount<TAccountEventAuthority> : TAccountEventAuthority,
    TAccountProgram extends string ? ReadonlyAccount<TAccountProgram> : TAccountProgram,
    ...TRemainingAccounts
]>;
export type HandleReceiveMessageInstructionData = {
    discriminator: ReadonlyUint8Array;
    remoteDomain: number;
    sender: Address;
    messageBody: ReadonlyUint8Array;
    authorityBump: number;
};
export type HandleReceiveMessageInstructionDataArgs = {
    remoteDomain: number;
    sender: Address;
    messageBody: ReadonlyUint8Array;
    authorityBump: number;
};
export declare function getHandleReceiveMessageInstructionDataEncoder(): Encoder<HandleReceiveMessageInstructionDataArgs>;
export declare function getHandleReceiveMessageInstructionDataDecoder(): Decoder<HandleReceiveMessageInstructionData>;
export declare function getHandleReceiveMessageInstructionDataCodec(): Codec<HandleReceiveMessageInstructionDataArgs, HandleReceiveMessageInstructionData>;
export type HandleReceiveMessageInput<TAccountAuthorityPda extends string = string, TAccountTokenMessenger extends string = string, TAccountRemoteTokenMessenger extends string = string, TAccountTokenMinter extends string = string, TAccountLocalToken extends string = string, TAccountTokenPair extends string = string, TAccountRecipientTokenAccount extends string = string, TAccountCustodyTokenAccount extends string = string, TAccountTokenProgram extends string = string, TAccountEventAuthority extends string = string, TAccountProgram extends string = string> = {
    authorityPda: TransactionSigner<TAccountAuthorityPda>;
    tokenMessenger: Address<TAccountTokenMessenger>;
    remoteTokenMessenger: Address<TAccountRemoteTokenMessenger>;
    tokenMinter: Address<TAccountTokenMinter>;
    localToken: Address<TAccountLocalToken>;
    tokenPair: Address<TAccountTokenPair>;
    recipientTokenAccount: Address<TAccountRecipientTokenAccount>;
    custodyTokenAccount: Address<TAccountCustodyTokenAccount>;
    tokenProgram?: Address<TAccountTokenProgram>;
    eventAuthority: Address<TAccountEventAuthority>;
    program: Address<TAccountProgram>;
    remoteDomain: HandleReceiveMessageInstructionDataArgs["remoteDomain"];
    sender: HandleReceiveMessageInstructionDataArgs["sender"];
    messageBody: HandleReceiveMessageInstructionDataArgs["messageBody"];
    authorityBump: HandleReceiveMessageInstructionDataArgs["authorityBump"];
};
export declare function getHandleReceiveMessageInstruction<TAccountAuthorityPda extends string, TAccountTokenMessenger extends string, TAccountRemoteTokenMessenger extends string, TAccountTokenMinter extends string, TAccountLocalToken extends string, TAccountTokenPair extends string, TAccountRecipientTokenAccount extends string, TAccountCustodyTokenAccount extends string, TAccountTokenProgram extends string, TAccountEventAuthority extends string, TAccountProgram extends string, TProgramAddress extends Address = typeof TOKEN_MESSENGER_MINTER_PROGRAM_ADDRESS>(input: HandleReceiveMessageInput<TAccountAuthorityPda, TAccountTokenMessenger, TAccountRemoteTokenMessenger, TAccountTokenMinter, TAccountLocalToken, TAccountTokenPair, TAccountRecipientTokenAccount, TAccountCustodyTokenAccount, TAccountTokenProgram, TAccountEventAuthority, TAccountProgram>, config?: {
    programAddress?: TProgramAddress;
}): HandleReceiveMessageInstruction<TProgramAddress, TAccountAuthorityPda, TAccountTokenMessenger, TAccountRemoteTokenMessenger, TAccountTokenMinter, TAccountLocalToken, TAccountTokenPair, TAccountRecipientTokenAccount, TAccountCustodyTokenAccount, TAccountTokenProgram, TAccountEventAuthority, TAccountProgram>;
export type ParsedHandleReceiveMessageInstruction<TProgram extends string = typeof TOKEN_MESSENGER_MINTER_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
    programAddress: Address<TProgram>;
    accounts: {
        authorityPda: TAccountMetas[0];
        tokenMessenger: TAccountMetas[1];
        remoteTokenMessenger: TAccountMetas[2];
        tokenMinter: TAccountMetas[3];
        localToken: TAccountMetas[4];
        tokenPair: TAccountMetas[5];
        recipientTokenAccount: TAccountMetas[6];
        custodyTokenAccount: TAccountMetas[7];
        tokenProgram: TAccountMetas[8];
        eventAuthority: TAccountMetas[9];
        program: TAccountMetas[10];
    };
    data: HandleReceiveMessageInstructionData;
};
export declare function parseHandleReceiveMessageInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedHandleReceiveMessageInstruction<TProgram, TAccountMetas>;
